Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: SDL sim build bug

SDL sim build bug

From: bk <mutualaid_at_gmail.com>
Date: Mon, 09 Jan 2006 12:23:20 -0500

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,_at_GCCOPTS_at_,${GCCOPTS},g" \
-e "s:_at_LDOPTS_at_:${LDOPTS}:g" \
-e "s,_at_LOADADDRESS_at_,${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
Received on 2006-01-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy