Problems building 3.5.4.x

Yan Seiner <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
I've been trying to build a custom version of gpsdrive...  So I tried to 
build it using the -dev branch, and ended up hosing my oz install (no 
biggie, it happens.)

So now I am trying to build 354x, but it keeps failing.  I have 
downloaded and updated today...

The failures seem to be of 2 types; one appears to be from using 
incorrect headers and the other from using incorrect libs (using arm 
libs for native executable; see the fontconfig log below).

Could someone please try to enlighten me?  What can I do, and what can I 
provide to try and fix this?  It's really frustrating; the change to 
gpsdrive consists of about 10 lines of code and I've spent a couple of 
weeks fighting with the various toolchains.... (My problem most likely; 
I am not at all familiar with bitbake and it's driving me nuts!)

First trying to build the gpe-image:

++++++++++++++++++++++++++++++

| if /bin/sh ../../arm-linux-uclibc-libtool --tag=CC --mode=compile 
arm-linux-uclibc-gcc -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I. 
-I/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/lib/cfont 
-I../.. 
-I/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/include  
-I/home/local/zaurus/tmp/staging/arm-linux-uclibc/include  
-I/home/local/zaurus/tmp/staging/arm-linux-uclibc/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-MT fontstruct.lo -MD -MP -MF ".deps/fontstruct.Tpo" -c -o fontstruct.lo 
fontstruct.c; \
| then mv -f ".deps/fontstruct.Tpo" ".deps/fontstruct.Plo"; else rm -f 
".deps/fontstruct.Tpo"; exit 1; fi
|  arm-linux-uclibc-gcc -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I. 
-I/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/lib/cfont 
-I../.. 
-I/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/include 
-I/home/local/zaurus/tmp/staging/arm-linux-uclibc/include 
-I/home/local/zaurus/tmp/staging/arm-linux-uclibc/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-MT fontstruct.lo -MD -MP -MF .deps/fontstruct.Tpo -c fontstruct.c  
-fPIC -DPIC -o .libs/fontstruct.o
| fontstruct.c: In function `read_simple_font':
| fontstruct.c:54: error: structure has no member named `_fileno'
| fontstruct.c: In function `read_font_group':
| fontstruct.c:215: error: structure has no member named `_fileno'
| make[1]: *** [fontstruct.lo] Error 1
| make[1]: Leaving directory 
`/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/lib/cfont'
| make: *** [all-recursive] Error 1
| make: Leaving directory 
`/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/console-tools-0.3.2/lib'
| FATAL: oe_runmake failed
NOTE: Task failed: 
/home/local/zaurus/tmp/work/console-tools-0.3.2-r2/temp/log.do_compile.10143
NOTE: package console-tools-0.3.2-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package console-tools-0.3.2: failed
ERROR: Build of gpe-image failed

++++++++++++++++++++++++++++++++++

And then just gpsdrive:

++++++++++++++++++++++++++++++++++
| make[2]: Entering directory 
`/home/local/zaurus/tmp/work/fontconfig-native-2.2.95-r5/fontconfig-2.2.95/fc-cache'
| /bin/sh ../i686-linux-libtool --tag=CC --mode=link gcc  
-I/home/local/zaurus/tmp/staging/i686-linux/include -O2  
-L/home/local/zaurus/tmp/staging/i686-linux/lib 
-Wl,-rpath-link,/home/local/zaurus/tmp/staging/i686-linux/lib 
-Wl,-rpath,/home/local/zaurus/tmp/staging/i686-linux/lib -Wl,-O1 -o 
fc-cache  fc-cache.o ../src/libfontconfig.la
| gcc -I/home/local/zaurus/tmp/staging/i686-linux/include -O2 
-Wl,-rpath-link -Wl,/home/local/zaurus/tmp/staging/i686-linux/lib 
-Wl,-rpath -Wl,/home/local/zaurus/tmp/staging/i686-linux/lib -Wl,-O1 -o 
.libs/fc-cache fc-cache.o  
-L/home/local/zaurus/tmp/staging/i686-linux/lib 
../src/.libs/libfontconfig.so 
-L/home/local/zaurus/tmp/staging/arm-linux-uclibc/lib 
/home/local/zaurus/tmp/staging/i686-linux/lib/libfreetype.so -lz 
/home/local/zaurus/tmp/staging/i686-linux/lib/libexpat.so -Wl,--rpath 
-Wl,/home/local/zaurus/tmp/staging/i686-linux/lib
| /usr/bin/ld: skipping incompatible 
/home/local/zaurus/tmp/staging/arm-linux-uclibc/lib/libc.so when 
searching for -lc
| /usr/bin/ld: skipping incompatible 
/home/local/zaurus/tmp/staging/arm-linux-uclibc/lib/libc.a when 
searching for -lc
| ../src/.libs/libfontconfig.so: undefined reference to `__fgetc_unlocked'
| ../src/.libs/libfontconfig.so: undefined reference to `__fputc_unlocked'
| collect2: ld returned 1 exit status
| make[2]: *** [fc-cache] Error 1
| make[2]: Leaving directory 
`/home/local/zaurus/tmp/work/fontconfig-native-2.2.95-r5/fontconfig-2.2.95/fc-cache'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory 
`/home/local/zaurus/tmp/work/fontconfig-native-2.2.95-r5/fontconfig-2.2.95'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: 
/home/local/zaurus/tmp/work/fontconfig-native-2.2.95-r5/temp/log.do_compile.11568
NOTE: package fontconfig-native-2.2.95-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package fontconfig-native-2.2.95: failed
ERROR: Build of gpsdrive failed
++++++++++++++++++++++++++++++++++

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.