bugGPSD - Bugs: bug #52703, scons issue with gpsd-3.17


bug #52703: scons issue with gpsd-3.17

Submitted by:  Charles Muggen <beampower>
Submitted on:  Wed 20 Dec 2017 03:09:34 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 31 May 2019 04:01:51 AM UTC, comment #2: 

The GPSD project is moving to GitLab - and GitLab's bugtracker.

If this is still a live issue, please report it at https://gitlab.com/gpsd/gpsd/issues

Eric S. Raymond <esr>
Project Administrator
Wed 26 Dec 2018 04:49:37 PM UTC, comment #1: 

scons is failing to detect that it needs to pass -pthread to your compiler.  What compiler and OS are you using?

Eric S. Raymond <esr>
Project Administrator
Wed 20 Dec 2017 03:09:34 AM UTC, original submission:  

I downloaded gpsd-3.17 and tried to run scons in the working directory.
Here are the final lines before the error:

ar rc libgps_static.a ais_json.o bits.o gpsutils.o gpsdclient.o gps_maskdump.o hex.o json.o libgps_core.o libgps_dbus.o libgps_json.o libgps_shm.o libgps_sock.o netlib.o os_compat.o rtcm2_json.o rtcm3_json.o shared_json.o
ranlib libgps_static.a
gcc -o gpsd gpsd.o timehint.o shmexport.o dbusexport.o sd_socket.o -L. -lgpsd -lgps_static -lm
./libgpsd.a(ppsthread.o): In function `pps_thread_activate':
ppsthread.c:(.text+0xed1): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
scons: *** [gpsd] Error 1
scons: building terminated because of errors.

Not sure what to try.
I'll back up to level 3.16 maybe?

Charles Muggen <beampower>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by esr (Posted a comment)
  • -email is unavailable- added by beampower (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-31 esr Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5