Hi,

 my name Dawid Ciężarkiewicz and I'm using Scratchbox to develop
small linux distribution.

 Recently I've run into a problem of compiling Linux kernel (2.6.x) in
scratchbox. The problem is described here:
http://www.scratchbox.org/wiki/Kernel

 I've followed instruction and I'm trying to build kernel like that:
$ make oldconfig
$ make HOSTCC="`which host-gcc`" HOSTCXX="`which host-g++`"

Described problem seems to be solved, but I've run into another one:

(...)
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  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: *** [include/linux/autoconf.h] Error 2

This shouldn't be a problem with too low limits and I found:
http://www.mail-archive.com/scratchbox-users%40lists.scratchbox.org/msg00020.html

In this thread someone have similar problem - host-gcc seems to not work
right in his installation.

As scratchbox is still new to me and it works rather automatically - I
would be very thankful for pointing me any advices (i.e. how to check if
host-gcc works well, if not - how to get working one etc.).

Regards,
Dawid
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to