-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Linus, > I've downloaded the nanomsg-0.4-beta onto my QNX 6.4.0 machine. > The ultimate goal is to send strings to a ZeroMQ server listening > for strings. > > I am able to ./compile after setting (I received an error about > this thus needed to set): > > export ACCEPT_INFERIOR_RM_PROGRAM=yes > > Then, on make, I get the following output (below) before a type > Error 1 for the following undefined references: > > ./.libs/libnanomsg.so: undefined reference to > `__sync_fetch_and_sub_4' ./.libs/libnanomsg.so: undefined reference > to `__sync_fetch_and_add_4' > > It seems that these are functions for atomic memory access? Yes. > The QNX 6.4.0 OS has rebuilt with gcc 4.2 compiler and is POSIX > PSE52 certified (not sure what that means). Not relevant IMO. > Any suggestions on how to get around this error? The easiest way is to modify change configure.ac in such a way that neither NN_HAVE_ATOMIC_SOLARIS or NN_ATOMIC_GCC_BUILTINS is defined on QNX. Please, do share the patch when you are done. HTH, Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTysE1AAoJENTpVjxCNN9Y31AIAKk83C+D94ptZapntxEHL8X9 mmVmqmAJ5mzaJFLFfbGKsWDAPz3wZvGgH/r4E8ao/dGMDTqOhbx+z/xyy3GzbDBd Om50atjrbfRZ6kRMOi4nAf4FDI+crLKkmSxEBHpeWaUtptlzJUNRSq3GWSzqIAz8 KRgluy8C/hVnykuTlZpIuC48DJFi1hoUDniJncFeGnXRV2rPVEf0DA3DhzvMFMgr iACAA+dor8rqB5gHfa5XhcmNnxYv9363nOR6YaQfL5w8stxB8ogNf7AfupHyk+GZ 1DACGmFH+9F5g9FB5TZTox73Gxx9wWIhRRwe60B/b6k2m4C6SxqGpBMp6xd+XGU= =Mz6S -----END PGP SIGNATURE-----