Page 1 of 1

All examples fail to build

Posted: Sat Apr 18, 2009 11:30 pm
by Dr. Kylstein
I have just installed devkitARM (r25), libnds and the examples as directed on the wiki. None of the examples will build properly:

audio
linking audio_modes.elf
arm-eabi-gcc: soundbank.bin.o: No such file or directory
card, hello_world, RealTimeClock
Nintendo DS rom tool 1.40 - Feb 20 2009
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
Cannot open file '/home/<username>/Desktop/nds/<example directory>/<name of example>.arm9'.
debugging, ds_motion, dswifi, graphics, input
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-eabi/4.3.3/../../../../arm-eabi/lib/thumb/libc.a: file not recognized: File truncated
filesystem
linking embedded_gbfs.elf
arm-eabi-gcc: data.gbfs.o: No such file or directory

Re: All examples fail to build

Posted: Sat Apr 18, 2009 11:49 pm
by WinterMute
You've done something quite badly wrong with the install. Did you use command line tar or some graphical helper thing to extract the archives?

Re: All examples fail to build

Posted: Sun Apr 19, 2009 3:10 am
by Dr. Kylstein
I used Tux Commander. I'll try it again with tar.

Edit: It works now, thanks. Must be a bug with tuxcmd.

Re: All examples fail to build

Posted: Sun Apr 19, 2009 6:28 am
by WinterMute
Yeah, unfortunately I've seen this one happen a lot with archive GUI helpers on linux - for some reason most, if not all, seem to corrupt the extracted files and/or mess up symbolic links when extracting.