From: Steven L. <sl...@uc...> - 2004-03-23 03:51:57
|
Hey everyone, I haven't been around these parts for a while, but I'm trying to catch up with everything that's been done. I'm running into two independent problems: One is with the ipodloader. I'm running gentoo on ppc with a g1 ipod. Once I change the "char c" to "int c" so the thing doesn't get stuck in the loop (line 260), it appears to make make_fw alright. For the cross-compiled stuff, however, I get the following error: " arm-uclibc-gcc -Wl,-Tarm_elf_40.x -nostartfiles -o loader startup.o loader.o tools.o tux.o /home/local/uclibc/bin/../lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld.real: loader: Not enough room for program headers, try linking with -N /home/local/uclibc/bin/../lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld.real: final link failed: Bad value collect2: ld returned 1 exit status make: *** [loader] Error 1 " If I add -N to LDFLAGS in Makefile, everything compiles nicely, but when I follow the instructions in the README I just get a "folder!" icon when I try to boot my ipod. I don't know if the -N is the culprit (not very familiar with linking), or if it's something else (endian problem?). Is there a newer (CVS?) copy I could get my hands on? Is anyone else experiencing these problems and I just missed the message? The second problem comes when trying to compile the kernel. Actually, it's before I even get to that point. After I "make oldconfig", I "make dep" but get the following error: " make[6]: Leaving directory `/home/uc/linux-2.4.20/drivers/video/aty' make -C intel fastdep make: *** intel: No such file or directory. Stop. " I didn't used to get that message when cross compiling a kernel for the ipod, so perhaps it's one of the new patches? Thanks for any help, Steven |