iPodLinux

Stretching the iPod to its limits.
It is currently Sat Nov 21, 2009 2:40 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Compiling with ARM toolchain
PostPosted: Thu Oct 15, 2009 3:48 pm 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
I'm having a bit of trouble with installing the ARM toolchain, every time I try to run the arm-uclinux-elf-tools-base-gcc3.4.3-20050221.sh file, It always throws this error:

Code:
bunzip2: Compressed file ends unexpectedly;
   perhaps it is corrupted?  *Possible* reason follows.
bunzip2: Invalid argument
   Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: This does not look like a tar archive
tar: Error exit delayed from previous errors



I'm not sure if I was supposed to download any sort of archive, or what ever else... and when you look in the code, it shows that it removes things... I'm definitely not understanding something.

My end goal is to compile modules, If I'm doing anything wrong, please let me know.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Fri Oct 16, 2009 1:45 pm 
Offline
User avatar

Joined: Wed Oct 08, 2008 3:59 pm
Posts: 39
Location: Australia
I never really understood why the toolchain was packaged in such a kludgey way. Regardless, it sounds like the file you downloaded is truncated or corrupted. Try comparing these binary md5sums against those of the toolchain for whichever system you are running to confirm if this is the case.

If it is indeed not corrupt, you'll have to post your system type so I can upload a tarball of the toolchain instead of some weird self-extracting tarball-in-a-shell-script. Unless you're running Linux on x86, in which case try downloading and extracting this tarball of the toolchain which includes the optional C++ and gdb packages. Note that it extracts to an absolute directory so you must run tar as root.

Moved to Application and Module Development.


Last edited by Rufus on Fri Oct 16, 2009 2:03 pm, edited 1 time in total.
Moving this topic.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Sun Oct 18, 2009 10:16 pm 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
It might be corrupted, as when I tried to download it from the wiki the link was broken. I only found the .sh after a long time of google searching.

But anyway, I'm running under linux, and I don't think I'm running x86. An actual .tar would be nice.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Wed Oct 21, 2009 4:53 am 
Offline
User avatar

Joined: Wed Oct 08, 2008 3:59 pm
Posts: 39
Location: Australia
Well, which system are you running?

Post the output of
Code:
uname -a


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Thu Oct 22, 2009 7:05 pm 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009 i686 GNU/Linux is what it gave me.

Although.. I'm not sure what I did but /usr is gone. By gone I mean GONE. I dunno what to do.... :x

Oh well thanks.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Fri Oct 23, 2009 5:28 am 
Offline
User avatar

Joined: Wed Oct 08, 2008 3:59 pm
Posts: 39
Location: Australia
roadkillguy wrote:
2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009 i686 GNU/Linux


Yeah, you're running x86. If you managed to somehow delete /usr then... I suppose you're going to have to reinstall everything. :?


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Sat Oct 24, 2009 5:52 pm 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
mmm.. Ok, thanks.

I guess the /usr folder was moved, but I couldn't move it back... whoops.
Oh well I guess I'll re-install.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Sat Oct 24, 2009 11:33 pm 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
Allright, I re-installed, downloaded the archive, tried to make hotdog, but it still threw the error:

/bin/sh: libpng-config: not found

Where do I place all the files in the archive?

EDIT: Since I appear to have so many errors with compiling this, can I just download someone's compiled cross compiler?


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Mon Oct 26, 2009 6:44 pm 
Offline
User avatar

Joined: Wed Oct 08, 2008 3:59 pm
Posts: 39
Location: Australia
libpng-config is part of a required library, libpng. It is separate from the compiler. You should install the development files for libpng, libpng-config is one of them.


Top
 Profile E-mail  
 
 Post subject: Re: Compiling with ARM toolchain
PostPosted: Fri Oct 30, 2009 12:32 am 
Offline

Joined: Thu Dec 25, 2008 11:28 pm
Posts: 10
Ok, after a long list of missing files I finally built hotdog. TTK now throws this error:

make[1]: Entering directory '/home/david/Desktop/Tools/ttk/build/ipod-hdog'
make[1]: *** No rule to make target 'all'. Stop.
make[1]: Leaving directory '/home/david/Desktop/Tools/ttk/build/ipod-hdog'
make: *** [all] Error 2

EDIT: I got it all figured out, feel free to delete this topic. :D


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group