Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#31 compilation error - svn rev.257 gpsd and client.cpp

closed-works-for-me
ztep
None
5
2007-05-04
2007-03-04
Ondrej_Kuda
No

I am not able to compile qpegps from svn (rev.253-257):
make
...
arm-linux-gcc -o qpegps gpsdata.o client.o mapdisp.o mapinfo.o maps.o settings.o fetchmap.o route.o dirview.o dirdialog.o gpsstatus.o track.o qpegps.o colordlg.o datum/datum.o datum/ellipse.o datum/geocent.o moc_gpsdata.o moc_client.o moc_maps.o moc_mapdisp.o moc_mapinfo.o moc_settings.o moc_fetchmap.o moc_route.o moc_dirview.o moc_dirdialog.o moc_gpsstatus.o moc_track.o moc_qpegps.o moc_colordlg.o -L/opt/Qtopia/sharp/lib -lqpe -L/opt/Qtopia/sharp/lib -lqte
client.o: In function `Client::restartGpsd(void)':
client.o(.text+0x1d4): undefined reference to `gps_del_callback'
client.o(.text+0x1e0): undefined reference to `gps_close'
client.o: In function `Client::startConnection(void)':
client.o(.text+0x364): undefined reference to `gps_open'
client.o(.text+0x478): undefined reference to `gps_query'
client.o(.text+0x570): undefined reference to `gps_set_callback'
client.o: In function `Client::gpsdError(void)':
client.o(.text+0x7c0): undefined reference to `gps_del_callback'
client.o(.text+0x7cc): undefined reference to `gps_close'
client.o: In function `Client::gpsdData(void)':
client.o(.text+0x8a8): undefined reference to `gps_del_callback'
client.o(.text+0x8b4): undefined reference to `gps_close'
client.o(.text+0xb64): undefined reference to `gps_del_callback'
client.o(.text+0xb70): undefined reference to `gps_close'
client.o(.text+0xc30): undefined reference to `gps_del_callback'
client.o(.text+0xc48): undefined reference to `gps_query'
client.o(.text+0xd00): undefined reference to `gps_set_callback'
client.o: In function `Client::closeConnection(void)':
client.o(.text+0x1158): undefined reference to `gps_del_callback'
client.o(.text+0x1164): undefined reference to `gps_close'
collect2: ld returned 1 exit status
make: *** [qpegps] Error 1

When I was trying to compile 0.9.3 source, I wasn`t able to compile it with gpsd (hard/soft floating point error while ld)

Discussion

  • ztep
    ztep
    2007-03-20

    Logged In: YES
    user_id=1578573
    Originator: NO

    You need to compile gpsd first.

     
  • ztep
    ztep
    2007-03-20

    • status: open --> open-works-for-me
     
  • ztep
    ztep
    2007-05-04

    • assigned_to: nobody --> ztep
    • status: open-works-for-me --> closed-works-for-me