Page 1 of 1
buildscripts-20080308 is broken
Posted: Sun Mar 23, 2008 2:02 pm
by bsder
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.
Re: buildscripts-20080308 is broken
Posted: Mon Mar 24, 2008 1:24 am
by bsder
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
Re: buildscripts-20080308 is broken
Posted: Mon Mar 24, 2008 5:04 am
by WinterMute
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.
Re: buildscripts-20080308 is broken
Posted: Tue Apr 01, 2008 11:19 am
by bsder
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.
Ah, that would be a good tip to know. Can that get posted somewhere that Google will archive?
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
Posted: Wed Apr 02, 2008 9:28 pm
by theoxylo
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!
Re: buildscripts-20080308 is broken
Posted: Thu Apr 10, 2008 9:50 am
by n8gray
Just a "me too." If somebody figures out a way around this I'd love to hear about it.
Re: buildscripts-20080308 is broken
Posted: Thu Apr 10, 2008 11:27 pm
by WinterMute
Wait for updated buildscripts, the patchset in these is wrong, sorry.