[Roadster] Crosscompile build failure

Ian McIntosh ian_mcintosh at linuxadvocate.org
Sat Apr 9 11:24:26 PDT 2005


Hi Koen,

I think I remember reading on the gpsd mailing list that the structure
changed recently.  For now it might be easiest to use an older version
of GPSD.  I have 2.16.

-Ian

On Sat, 2005-04-09 at 01:01 +0200, Koen Kooi wrote:
> Hello,
> 
> I was trying to crosscompile roadster tonight and it didn't succeed:
> 
> _DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED 
>    -I/home/koen/OE/build/tmp/familiar//staging/arm-linux/include 
> -I/home/koen/OE/build/tmp/familiar/work/arm-linux/gpsd-2.20-r1/install/gpsd-dev/usr//include 
>   -I/home/koen/OE/build/tmp/familiar//staging/arm-linux/include 
> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
> -I{} -MT animator.o -MD -MP -MF ".deps/animator.Tpo" -c -o animator.o 
> animator.c; \
> | then mv -f ".deps/animator.Tpo" ".deps/animator.Po"; else rm -f 
> ".deps/animator.Tpo"; exit 1; fi
> | map_draw_gdk.c: In function `map_draw_gdk_tracks':| 
> map_draw_gdk.c:279: warning: initialization discards qualifiers from 
> pointer target type
> | gpsclient.c: In function `gpsclient_callback_data_waiting':
> | gpsclient.c:114: error: structure has no member named `latitude'
> | gpsclient.c:115: error: structure has no member named `longitude'
> | gpsclient.c:133: error: structure has no member named `speed'
> | gpsclient.c:134: error: structure has no member named `speed'
> | make[2]: *** [gpsclient.o] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | make[2]: Leaving directory 
> `/home/koen/OE/build/tmp/familiar/work/arm-linux/roadster-0.0+cvs20050409-r0/roadster/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory 
> `/home/koen/OE/build/tmp/familiar/work/arm-linux/roadster-0.0+cvs20050409-r0/roadster'
> | make: *** [all] Error 2
> | FATAL: oe_runmake failedNOTE: Task failed: NOTE: package 
> roadster-0.0+cvs20050409-r0: task do_compile: failed
> 
> Looking at the source 'latitude' and 'longitude' should be in 'd' which 
> holds the gpsdata. Could this error be caused by using gpsd 2.20? I've 
> encountered a few programs that don't like gpsd 2.20, but only at 
> runtime. Any clues?
> 
> regards,
> 
> Koen
> _______________________________________________
> Roadster mailing list
> Roadster at cairographics.org
> http://lists.freedesktop.org/mailman/listinfo/roadster
> 



More information about the Roadster mailing list