Running it on CentOS 5.1, I wind up with HAVE_INITFINI_ARRAY not being defined. I thought this got fixed at some point ...
I have filed a bug report on SF as well.
buildscripts-20080308 is broken
Re: buildscripts-20080308 is broken
Once I manage to get that working, I then bump into another issue when I attempt to compile the examples:
/opt/devkitpro/libnds/lib/libnds9.a(initSystem.o): In function `initSystem':
/home/andrewl/dkp/buildscripts/libnds-20071023/source/arm9/initSystem.c:88: undefined reference to `punixTime'
collect2: ld returned 1 exit status
make[4]: *** [/home/andrewl/nds/examples/nds/card/eeprom/eeprom.elf] Error 1
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/andrewl/nds/examples/nds/card/eeprom'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/andrewl/nds/examples/nds/card'
make[1]: *** [examples] Error 1
make[1]: Leaving directory `/home/andrewl/nds/examples/nds'
make: *** [all] Error 1
/opt/devkitpro/libnds/lib/libnds9.a(initSystem.o): In function `initSystem':
/home/andrewl/dkp/buildscripts/libnds-20071023/source/arm9/initSystem.c:88: undefined reference to `punixTime'
collect2: ld returned 1 exit status
make[4]: *** [/home/andrewl/nds/examples/nds/card/eeprom/eeprom.elf] Error 1
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/andrewl/nds/examples/nds/card/eeprom'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/andrewl/nds/examples/nds/card'
make[1]: *** [examples] Error 1
make[1]: Leaving directory `/home/andrewl/nds/examples/nds'
make: *** [all] Error 1
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: buildscripts-20080308 is broken
The HAVE_INITFINI_ARRAY thing is a newlib problem, it can't be built with make 3.81. I usually build with a local make 3.80 added temporarily to the path while building devkitARM.
I may have messed up the packaging of the buildscripts for devkitARM as well, sorry. I'm hoping to release devkitARM r22 very, very soon though so I'd rather update the scripts then rather than attempt to sort out something that will build r21 before then.
I may have messed up the packaging of the buildscripts for devkitARM as well, sorry. I'm hoping to release devkitARM r22 very, very soon though so I'd rather update the scripts then rather than attempt to sort out something that will build r21 before then.
Re: buildscripts-20080308 is broken
Ah, that would be a good tip to know. Can that get posted somewhere that Google will archive?WinterMute wrote:The HAVE_INITFINI_ARRAY thing is a newlib problem, it can't be built with make 3.81. I usually build with a local make 3.80 added temporarily to the path while building devkitARM.
I may have messed up the packaging of the buildscripts for devkitARM as well, sorry. I'm hoping to release devkitARM r22 very, very soon though so I'd rather update the scripts then rather than attempt to sort out something that will build r21 before then.
I can wait for r22. I just wanted to give this a shot before that. I really like to be able to build the system from source code so that if I need to debug something, I can go in and muck with it.
Also, I tend to run my own scripts with scons for building NDS stuff. I *really* hate magic in my build system. I like to know explicitly what the build system is doing so that when something goes wrong, I can start isolating faults. To do that, I had to pull things apart and create some of my own linkerscript files. This pretty much requires that I build from source.
Thanks for doing all the work on devkitPro.
Re: buildscripts-20080308 is broken
I too am having trouble at link time after building devkitpro from source (using build-devkit.sh). Here is the output:
linking TouchTest.elf
/home/toneill/nds/devkitpro/libnds/lib/libnds9.a(initSystem.o): In function `initSystem':
/home/toneill/nds/buildscripts/libnds-20071023/source/arm9/initSystem.c:88: undefined reference to `punixTime'
collect2: ld returned 1 exit status
Any good workaround? Thanks. And keep up the good work!
linking TouchTest.elf
/home/toneill/nds/devkitpro/libnds/lib/libnds9.a(initSystem.o): In function `initSystem':
/home/toneill/nds/buildscripts/libnds-20071023/source/arm9/initSystem.c:88: undefined reference to `punixTime'
collect2: ld returned 1 exit status
Any good workaround? Thanks. And keep up the good work!
Re: buildscripts-20080308 is broken
Just a "me too." If somebody figures out a way around this I'd love to hear about it.
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: buildscripts-20080308 is broken
Wait for updated buildscripts, the patchset in these is wrong, sorry.
Who is online
Users browsing this forum: No registered users and 0 guests