Open GoogleCodeExporter opened 8 years ago
Same exact error with ubuntu 13.04 amd64
Original comment by computer...@gmail.com
on 16 Feb 2013 at 4:39
make
g++ c-source/G13.o c-source/G13Action.o c-source/Macro.o c-source/MacroAction.o
c-source/Main.o c-source/Output.o c-source/PassThroughAction.o -o
Linux-G13-Driver -lusb-1.0
/usr/bin/ld: c-source/MacroAction.o: undefined reference to symbol
'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO
/lib/i386-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/i386-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [Linux-G13-Driver] Error 1
----
Ubuntu 13.04 32bit Linux dunix 3.8.0-19-generic #29-Ubuntu SMP
Original comment by rootgame...@gmail.com
on 28 Apr 2013 at 9:54
Same problem with OpenSuSe 12.3 64bits. Solved by adding -lpthread to LIBS in
makefile.
Original comment by laurent.menten@gmail.com
on 15 May 2013 at 10:28
"LIBS = -lusb-1.0 -lpthread"
Thank you Laurent, this solves the issue for me.
Original comment by rootgame...@gmail.com
on 15 May 2013 at 8:55
Thank a lot laurent, it work :D
Original comment by milan.cr...@gmail.com
on 25 May 2013 at 7:10
I had the same problem and had to add the pthread file location explicitly in
the linker ie. LDFLAGS = -L/lib/i386-linux-gnu/libpthread.so.0 , and it
compiled.
Original comment by josiahch...@gmail.com
on 16 Jul 2013 at 11:00
Adding the -lpthread to LIBS worked for me as well (Ubuntu 13.10 64bit)
Original comment by jeffreyr...@gmail.com
on 7 Dec 2013 at 2:14
Adding the -lpthread to LIBS not worked for me
/usr/bin/ld: io/rtlsdrtuner.o: невизначене посилання на
символ «pthread_create@@GLIBC_2.2.5»
/usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Original comment by silent...@gmail.com
on 26 Apr 2014 at 8:13
Works in Kubuntu 14.04 64-bit. Fresh install.
@ silent...@gmail.com, the exact line in Makefile you change is
LIBS = -lusb-1.0
to
LIBS = -lusb-1.0 -lpthread
That might be throwing you off. (I initially just added another line for LIBS.
That didn't work.)
I have done no other testing beyond just getting the driver installed.
Thanks again to Laurent!
Original comment by saxp...@gmail.com
on 4 May 2014 at 3:00
ok with LIBS = -lusb-1.0 -lpthread
linux mint 17.1 64
Thank you!!
Original comment by sgmo...@gmail.com
on 24 Dec 2014 at 8:43
Original issue reported on code.google.com by
av250...@gmail.com
on 27 Jan 2013 at 2:51