#87814 - Baba - Thu Jun 15, 2006 7:42 pm
I have been trying to compile Fwnitro for a few days now, but i get the same error everytime:
Code: |
linking firmware.arm9.elf
main9.o: In function 'interrupthandler':
/home/XXXX/fwnitro/firmware/arm9/source/main9.c:149: undefined reference to '__irq_flags'
main9.o: In function 'main':
/home/XXXX/fwnitro/firmware/arm9/source/main9.c:560: undefined reference to '__irq_vector' |
I can compile and link it if I remove those lines, but the file doesn't work.
I'm using devkitARM r19a, the latest libnds, Debian Linux and Windows XP.
Need some help here...
#87856 - silent_code - Thu Jun 15, 2006 10:49 pm
you better ask nitros author :)
#87900 - Baba - Fri Jun 16, 2006 10:06 am
silent_code wrote: |
you better ask nitros author :) |
Sounds like a good idea. :)
Just need to find the authors email address.
EDIT:
I noticed that the firmware requires the newest biosCalls.s and card.c files.
Does the libnds 20060601 have those files? Or do I have to compile libnds myself?
#88025 - silent_code - Sat Jun 17, 2006 1:48 am
i think it's zzo38computer... dunno. check his sig out.
#88170 - zzo38computer - Sat Jun 17, 2006 10:25 pm
I don't have devkitpro r19a, try going back to r18, I heard r19 has a lot of problems. You will find biosCalls.s and card.c in the firmware/arm7/source directory.
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.
#88172 - sajiimori - Sat Jun 17, 2006 10:32 pm
Quote: |
you better ask nitros author :) |
I don't think Nintendo will want to help. :P
#88190 - zzo38computer - Sun Jun 18, 2006 12:02 am
sajiimori wrote: |
I don't think Nintendo will want to help. :P |
I doubt Nintendo could help if they wanted to. I also doubt Nintendo published a book called "nitro".
I tell you, I heard r19 has too many problems to compile so don't use r19 until it is completely fixed.
Anyways, you will find biosCalls.s and card.c in the firmware/arm7/source directory, in case that is your problem...
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.
#88202 - silent_code - Sun Jun 18, 2006 1:13 am
sajiimori wrote: |
I don't think Nintendo will want to help. :P |
man, i don't mean nitro as the nds' code name... i mean Fwnitro ;) *lol* :)
i heard you have to explicitly word align your data in r19... that's one of the differences to previous releases. ':|
#88292 - Baba - Sun Jun 18, 2006 4:27 pm
Tried using devkitARM 18, it didn't work and even tried older libnds to match the devkit, and got the same error as before.
EDIT: Just tried compiling libnds with the biosCalls.s got the same error again.
#120944 - mookits - Wed Mar 07, 2007 2:38 pm
I've been having this same problem. Anyone found out what it is yet?
#120949 - DragonMinded - Wed Mar 07, 2007 5:23 pm
Yes. It's a linker problem. These two are actually included in the linker script for 19a and 20, so if the program uses it's own custom linkscript, you will have to edit it in. Look at the sample makefiles for r19 and r20 and you will see where these are defined. Simply paste into your old ldscript and it will work.
_________________
Enter the mind of the dragon.
http://dragonminded.blogspot.com
Seriously guys, how hard is it to simply TRY something yourself?