Re: compiling cubeboot-tools / undefined reference to _SDA2_BASE_ and _SDA_BASE_

Groepaz <[email protected]> Sun, 18 Feb 2007 17:07:14 +0100
Newsgroups gmane.linux.ports.game-cube.devel
Organization Hitmen
Message-ID <[email protected]>
On Sunday 18 February 2007 16:57, grobidon wrote:
> 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

use the powerpc toolchain from the gclinux page 
http://sourceforge.net/project/showfiles.php?group_id=98581&package_id=120824

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

Anyone who slaps a 'this page is best viewed with Browser X' label on a Web 
page appears to be yearning for the bad old days, before the Web, when you 
had very little chance of reading a document written on another computer, 
another word processor, or another network. 
<Tim Berners-Lee>


-------------------------------------------------------------------------
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