Bug 157780 - marble in kde 4.0.1 fails build with gpsd
Summary: marble in kde 4.0.1 fails build with gpsd
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Torsten Rahn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 14:13 UTC by Dennis veatch
Modified: 2008-02-19 02:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kdeedu-4.0.1 failed make with gpsd installed (268.18 KB, text/plain)
2008-02-13 14:14 UTC, Dennis veatch
Details
marble/INSTALL with note about gpsd (566 bytes, application/octet-stream)
2008-02-19 02:38 UTC, Dennis veatch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis veatch 2008-02-13 14:13:46 UTC
Version:           unknown (using 4.0.1 (KDE 4.0.1), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24.2

Without gpsd-2.36 installed kdeedu-4.0.1 compiles and installs fine. With gpsd installed the make fails with;

[ 94%] Building CXX object marble/src/lib/CMakeFiles/marblewidget.dir/AbstractLayer/AbstractLayerData.o
[ 94%] Building CXX object marble/src/lib/CMakeFiles/marblewidget.dir/qrc_libmarble.o
Linking CXX shared library ../../../lib/libmarblewidget.so
CMakeFiles/marblewidget.dir/gps/GpsTracking.o: In function `GpsTracking::GpsTracking(GpxFile*, GpsTracking::TrackingMethod, QObject*)':
GpsTracking.cpp:(.text+0x34b): undefined reference to `gpsmm::open(char const*, char const*)'
CMakeFiles/marblewidget.dir/gps/GpsTracking.o: In function `GpsTracking::GpsTracking(GpxFile*, GpsTracking::TrackingMethod, QObject*)':
GpsTracking.cpp:(.text+0x4eb): undefined reference to `gpsmm::open(char const*, char const*)'
CMakeFiles/marblewidget.dir/gps/GpsTracking.o: In function `GpsTracking::update(QSize const&, ViewParams*, QRegion&)':
GpsTracking.cpp:(.text+0x15bb): undefined reference to `gpsmm::query(char const*)'
CMakeFiles/marblewidget.dir/gps/GpsTracking.o:(.data.rel.ro+0x20): undefined reference to `vtable for gpsmm'
collect2: ld returned 1 exit status
make[2]: *** [lib/libmarblewidget.so.4.0.0] Error 1
make[1]: *** [marble/src/lib/CMakeFiles/marblewidget.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Dennis veatch 2008-02-13 14:14:53 UTC
Created attachment 23559 [details]
kdeedu-4.0.1 failed make with gpsd installed
Comment 2 Dennis veatch 2008-02-17 15:13:46 UTC
The good folks at gpsd have a 2.37rc1 they plan on going final in about a week. I have tried this version and kdeedu4 compiles and installs fine and appears to work after taking a quick stroll through it. It's all looking good at this point.

So if you like I can go ahead and close this bug or wait till gpsd comes out of RC status.
Comment 3 Dennis veatch 2008-02-18 15:14:28 UTC
The gpsd folks has released 2.37. As noted before this version does not cause kdeedu-4.0.1 to fail the make and from what I can tell marble works as intended. 

I consider this BR closed
Comment 4 Torsten Rahn 2008-02-18 16:22:02 UTC
Hi Dennis,

Could you maybe add some information to Marble's INSTALL text? 

Regards,
Torsten 
Comment 5 Dennis veatch 2008-02-19 02:38:17 UTC
Created attachment 23617 [details]
marble/INSTALL with note about gpsd
Comment 6 Dennis veatch 2008-02-19 02:39:04 UTC
If you want something more just let me know.