|
2007-04-27
, 12:41
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
make n770_oldconfig
make menuconfig
make
|
2007-04-28
, 07:04
|
Posts: 18 |
Thanked: 1 time |
Joined on Feb 2007
|
#3
|
|
2007-04-28
, 07:36
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#4
|
I have to install the kernel-source-2.6.16: "fakeroot apt-get install kernel-source-2.6.16"
Now my question turns out to be, should I get the kernel-source-2.6.16 using
"apt-get source kernel-source-2.6.16"
|
2007-04-28
, 07:44
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#5
|
I am using VMware with Ubuntu 5.1; I setup the latest version of scratchbox (Apophis R4); I am using "cs2005q3.2-glibc-arm" as the toolchain, "qemu-arm-0.8.1-sb2" as cputransp; Devkits: perl, doctools, debian, cputransp; And I use the "Maemo 2.2" (Maemo_Dev_Platform_v2.2_armel-rootstrap.tgz) as rootstrap. (p.s. hope this is the correct setup)
I want to compile the kernel and thus I follow the tutorial (http://maemo.org/maemowiki/HowTo_KernelCompilation), everything goes fine. I got the kernel-source-2.6.16 and su-18-kernel without problem. Now when I follow the instruction and do the "dpkg-buildpackage -rfakeroot -uc -us -sa -d" I ran into trouble:
-----
make HOSTCC=host-gcc n770_defconfig && \
make HOSTCC=host-gcc zImage
make[1]: Entering directory `/home/ubuntu/kernel/su-18-kernel-2.6.16/kernel-source-2.6.16'
HOSTCC scripts/basic/fixdep
/scratchbox/compilers/bin/host-gcc: Too many open files
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/home/ubuntu/kernel/su-18-kernel-2.6.16/kernel-source-2.6.16'
make: *** [build-stamp] Error 2
-----
Above are the last few lines that telling me there are build errors.
Anyone here has idea how could I fix it?
Thanks a lot,
Regards,