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

 
 

bug #52703: scons issue with gpsd-3.17

Submitter:  Charles Muggen <beampower>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-d3ae.
    Corresponding source code