Author Topic: Gpsdrive Compile Problems  (Read 3160 times)

CaptainDondo

  • Newbie
  • *
  • Posts: 8
    • View Profile
Gpsdrive Compile Problems
« on: August 19, 2006, 01:02:04 pm »
I am trying to build the current gpsdrive cvs using the dev branch.  I updated the dev branch this morning.and downloaded the latest gpsdrive cvs.  The build is failing with this error:

Code: [Select]
NOTE: package gpsdrive-2.10pre3+cvs-20060819: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_fetch: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_fetch: completed
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_configure: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_configure: completed
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/temp/log.do_compile.6147)
| NOTE: make
| cd /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive && /bin/sh /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/missing --run autoheader
| rm -f stamp-h1
| touch /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/config.h.in
| cd . && /bin/sh ./config.status config.h
| config.status: creating config.h
| config.status: config.h is unchanged
| make  all-recursive
| make[1]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive'
| Making all in src
| make[2]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src'
| Making all in lib_map
| make[3]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map'
| if arm-linux-gcc -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I. -I/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map -I../..   -isystem/usr/local/zaurus/tmp/staging/arm-linux/include  -isystem/usr/local/zaurus/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -D_GNU_SOURCE -g -Wall -Wno-format-y2k -pipe  -I/usr/local/include -DHAVE_GTK   -I/usr/local/zaurus/tmp/staging/arm-linux/include/gtk-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/gtk-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/atk-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/pango-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/glib-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/glib-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12   -pthread -I/usr/local/zaurus/tmp/staging/arm-linux/include/gtk-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/gtk-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/atk-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/pango-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/glib-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/glib-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12 -I/usr/local/zaurus/tmp/staging/arm-linux/include/libart-2.0   -DHAVE_CAIRO -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12    -I/usr/include/mysql  -MT map_draw.o -MD -MP -MF ".deps/map_draw.Tpo" -c -o map_draw.o map_draw.c; \
|       then mv -f ".deps/map_draw.Tpo" ".deps/map_draw.Po"; else rm -f ".deps/map_draw.Tpo"; exit 1; fi

************************************

| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/mysql

************************************

| cc1: internal compiler error: Aborted
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See for instructions.
| make[3]: *** [map_draw.o] Error 1
| make[3]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/temp/log.do_compile.6147
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gpsdrive-2.10pre3+cvs-20060819: failed
ERROR: Build of 'gpsdrive' failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1

I have no idea why this is happening; I don:t know enough about gcc internals to know where to begin looking....

Any suggestions?

--Yan

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Gpsdrive Compile Problems
« Reply #1 on: November 22, 2006, 07:21:40 am »
Hi,

it's obviously that the MySQL dependency causes the error:

Quote
************************************

| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/mysql

************************************

| cc1: internal compiler error: Aborted
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Have a look at the [a href=\"http://www.kraftvoll.at/software/download.shtml]developers website[/url]
and grab the sources for Strong ARM (port for Yopy and iPAQ without MySQL support). I think you will have more success with this older version.
At least you will need GTK+ packages installed, as mentioned there.

I'm not a hardcore programmer, but i think you will need the GTK libraries to compile too!

Greets,

scholbert
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Gpsdrive Compile Problems
« Reply #2 on: November 22, 2006, 07:57:05 am »
Quote
Hi,

it's obviously that the MySQL dependency causes the error:

[div align=\"right\"][a href=\"index.php?act=findpost&pid=146927\"][{POST_SNAPBACK}][/a][/div]

Actually, you're wrong. Ask on the oz-devel or oe-devel mailinglist why you're wrong, since this is the wrong place to ask such questions.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

scholbert

  • Newbie
  • *
  • Posts: 48
    • View Profile
Gpsdrive Compile Problems
« Reply #3 on: November 22, 2006, 08:27:25 am »
Quote
Actually, you're wrong. Ask on the oz-devel or oe-devel mailinglist why you're wrong, since this is the wrong place to ask such questions.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146931\"][{POST_SNAPBACK}][/a][/div]

O.K.
I' m sorry for this missleading advice   !

Regards,

scholbert
« Last Edit: November 22, 2006, 08:29:10 am by scholbert »
C3100: with cacko rom 1.23
Intel PRO/Wireless CF-Card, Socket LP-E LAN CF-Card
some CF, SD, MMC memory cards