[Gate-users] pthread error on Gate v7.0

Antoine Dufaure andufaure at gmail.com
Mon Aug 4 15:12:26 CEST 2014


It's a common issue, in the CMakeLists.txt of gate, add "pthread" to the
macro call 'TARGET_LINK_LIBRARIES and it should work, after perfoming cmake
again then make...


2014-08-04 14:57 GMT+02:00 Tautvydas Strioga <t.strioga at gmail.com>:

> Hello All,
>
> Does anyone had similar problem while making Gate V7.0 on Linux (14.04):
>
> "/usr/bin/ld:
> CMakeFiles/Gate.dir/source/digits_hits/src/GateToGPUImageSPECT.cc.o:
> undefined reference to symbol 'pthread_create@@GLIBC_2.1'
> //lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing
> from command line
> collect2: error: ld returned 1 exit status" ??
>
> Could anyone help with this error?
> Thanks in advance.
>
>
> Sincerely,
>
> Tautvydas Strioga
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140804/5516debc/attachment.html>


More information about the Gate-users mailing list