#289 playerjoy wants libpthread on systems that don't need it

trunk
closed-fixed
player (137)
5
2009-07-02
2009-06-28
No

I've installed QNX6.4 on which more stuff is able to build, however new errors are found:
[ 96%] Building CXX object utils/playerjoy/CMakeFiles/playerjoy.dir/playerjoy.o
Linking CXX executable playerjoy
/usr/qnx641/host/qnx6/x86/usr/bin/ntox86-ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[2]: *** [utils/playerjoy/playerjoy] Error 1
make[1]: *** [utils/playerjoy/CMakeFiles/playerjoy.dir/all] Error 2
make: *** [all] Error 2

On QNX Neutrino all POSIX threads functions are part of C library, so there's no need to add -lpthread at link time. Most parts of player knows that, except playerjoy.

Discussion

  • G Biggs

    G Biggs - 2009-07-02

    Fixed in CVS HEAD. Thanks very much for the report.

     
  • G Biggs

    G Biggs - 2009-07-02
    • status: open --> closed-fixed
     

Log in to post a comment.