[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference
From: |
Charles Curley |
Subject: |
[gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean' |
Date: |
Mon, 16 Oct 2017 09:57:53 -0600 |
scons: done reading SConscript files.
scons: Building targets ...
gcc -o libgps.so.23.0.0 -shared -Wl,-Bsymbolic -Wl,-soname=libgps.so.23
ais_json.os bits.os gpsutils.os gpsdclient.os gps_maskdump.os hex.os json.os
libgps_core.os libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os
netlib.os os_compat.os rtcm2_json.os rtcm3_json.os shared_json.os -L. -ldbus-1
-ldbus-1
leapseconds_cache_rebuild(["leapseconds.cache"], ["leapsecond.py"])
timebase_h(["timebase.h"], ["leapseconds.cache"])
gcc -o gpsd gpsd.o timehint.o shmexport.o dbusexport.o sd_socket.o -L. -lgpsd
-lgps_static -lm -ldbus-1
/usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol
'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/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.
This after pulling the repo, and running 'scons sconsclean' and running
'scons' twice.
If I pull the repo and do not run 'scons sconsclean' I get a clean
build.
--
The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
- [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean',
Charles Curley <=
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Gary E. Miller, 2017/10/16
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Charles Curley, 2017/10/17
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Gary E. Miller, 2017/10/17
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Charles Curley, 2017/10/18
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Gary E. Miller, 2017/10/18
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Gary E. Miller, 2017/10/18
- Re: [gpsd-users] /usr/bin/ld: ./libgpsd.a(ppsthread.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' after 'scons sconsclean', Charles Curley, 2017/10/20