compiling cubeboot-tools / undefined reference to _SDA2_BASE_ and _SDA_BASE_

grobidon <[email protected]> Sun, 18 Feb 2007 15:57:22 +0000 (UTC)
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <[email protected]>
hi,
I was trying to compile the cubeboot-tools package on my debian box.
I used gcc/libc packages from emdebian
(http://www.emdebian.org/tools/crosstools.html).

this is what I get when compiling the directory ppc/sdre :
-----
make[1]: Entering directory `/tmp/cubeboot-tools/cubeboot-tools-0.3/ppc/sdre'
powerpc-linux-gnu-gcc -nostartfiles -nodefaultlibs -Wl,-Ttext=80003100
-Wl,-T,sdre_ldscript.txt  crt0.o ../common/lib.o ../common/misc.o  sdre.o 
control.o -o sdre.elf
crt0.o: In function `_start':
crt0.S:(.text+0x19a): undefined reference to `_SDA2_BASE_'
crt0.S:(.text+0x19e): undefined reference to `_SDA2_BASE_'
crt0.S:(.text+0x1a2): undefined reference to `_SDA_BASE_'
crt0.S:(.text+0x1a6): undefined reference to `_SDA_BASE_'
collect2: ld returned 1 exit status
make[1]: *** [sdre.elf] Error 1
make[1]: Leaving directory `/tmp/cubeboot-tools/cubeboot-tools-0.3/ppc/sdre'
make: *** [all] Error 2
------

can somebody help?
thanks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV