gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] libgps?


From: Hal Murray
Subject: Re: [gpsd-dev] libgps?
Date: Tue, 31 Mar 2015 05:40:43 -0700

> Fixed.

gcc -o gpsd.o -c -Wmissing-prototypes -Wmissing-declarations -O2 
-DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/libusb-1.0 gpsd.c

gcc -o gpsd -Wl,-rpath=/home/murray/gpsd/work,--enable-new-dtags 
-Wl,-rpath=//usr/local/lib,--enable-new-dtags gpsd.o timehint.o shmexport.o 
dbusexport.o sd_socket.o -L. -lgpsd -lusb-1.0 -lgps -lm
/usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 
'pthread_create@@GLIBC_2.1'
/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [gpsd] Error 1
scons: building terminated because of errors.

address@hidden work]$ more .scons-option-cache 
chrpath = True

That's on Fedora.


-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]