Only in mysql-5.1.46: .configure.in.swp diff -ru mysql-5.1.46~/configure.in mysql-5.1.46/configure.in --- mysql-5.1.46~/configure.in 2010-04-06 10:03:56.000000000 -0400 +++ mysql-5.1.46/configure.in 2010-07-12 13:44:48.000000000 -0400 @@ -1264,6 +1264,10 @@ echo "done" ;; + *qnx6*) + # No thread library - in LibC + with_named_thread="" + ;; esac diff -ru mysql-5.1.46~/include/my_global.h mysql-5.1.46/include/my_global.h --- mysql-5.1.46~/include/my_global.h 2010-04-06 10:04:02.000000000 -0400 +++ mysql-5.1.46/include/my_global.h 2010-07-12 13:24:19.000000000 -0400 @@ -502,6 +502,7 @@ #endif #ifdef __QNXNTO__ +#include /* This has to be after include limits.h */ #define HAVE_ERRNO_AS_DEFINE #define HAVE_FCNTL_LOCK @@ -511,9 +512,14 @@ #ifdef __cplusplus #ifndef HAVE_RINT #define HAVE_RINT -#endif /* rint() and isnan() functions are not */ -#define rint(a) std::rint(a) /* visible in C++ scope due to an error */ -#define isnan(a) std::isnan(a) /* in the usr/include/math.h on QNX */ +#endif +#if !defined(_NTO_VERSION) || (_NTO_VERSION - 0 < 650) +/* rint() and isnan() functions are not */ +/* visible in C++ scope due to an error */ +/* in the usr/include/math.h on early QNX */ +#define rint(a) std::rint(a) +#define isnan(a) std::isnan(a) +#endif #endif #endif diff -ru mysql-5.1.46~/server-tools/instance-manager/instance.cc mysql-5.1.46/server-tools/instance-manager/instance.cc --- mysql-5.1.46~/server-tools/instance-manager/instance.cc 2010-04-06 10:06:04.000000000 -0400 +++ mysql-5.1.46/server-tools/instance-manager/instance.cc 2010-07-12 13:24:23.000000000 -0400 @@ -135,7 +135,7 @@ Here we use spawnv(), which is a combination of fork() and execv() in one call. It returns the pid of newly created process (>0) or -1 */ - *pi= spawnv(P_NOWAIT, instance_options->mysqld_path, instance_options->argv); + *pi= spawnv(P_NOWAIT, instance_options->mysqld_path.str, instance_options->argv); #endif switch (*pi) {