All examples fail to build

support for the ARM toolchain
Post Reply
Dr. Kylstein
Posts: 8
Joined: Sat Apr 18, 2009 11:12 pm

All examples fail to build

Post by Dr. Kylstein » Sat Apr 18, 2009 11:30 pm

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

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: All examples fail to build

Post by WinterMute » Sat Apr 18, 2009 11:49 pm

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?
Help keep devkitPro toolchains free, Donate today

Personal Blog

Dr. Kylstein
Posts: 8
Joined: Sat Apr 18, 2009 11:12 pm

Re: All examples fail to build

Post by Dr. Kylstein » Sun Apr 19, 2009 3:10 am

I used Tux Commander. I'll try it again with tar.

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

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: All examples fail to build

Post by WinterMute » Sun Apr 19, 2009 6:28 am

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests