In tools/configure, the sed command on line 891 fails when building the
makefile for the SDL sim because LDOPTS contains commas. Changing the
command delimiter to something else (a colon for instance) fixes the
issue.

-e "s,@GCCOPTS@,${GCCOPTS},g" \ 
-e "s:@LDOPTS@:${LDOPTS}:g" \ 
-e "s,@LOADADDRESS@,${loadaddress},g" \

This is on Gentoo Linux, GNU sed 4.1.4.

My build still fails for both SDL and X11 sims due to the weird
errno/.tbss issue I posted about in the forums. Google says a few other
packages have similar issues (qmail, PHP) but I've been unable to figure
out a fix.

/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: 
errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS 
reference in /home/bk/build/rb/rockbox/simbuild/librockbox.a(errno.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [/home/bk/build/rb/rockbox/simbuild/rockboxui] Error 1
make: *** [all] Error 2

bk

Reply via email to