dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: SDL sim build bug

SDL sim build bug

From: bk <>
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

-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/ section .tbss mismatches non-TLS reference in /home/bk/build/rb/rockbox/simbuild/librockbox.a(errno.o)
/lib/ 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

Received on 2006-01-09

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