[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#36075: libc6: Compiling Linux 2.2 under 2.0



On Wed, 14 Apr 1999 20:32:31 +0200 (CEST), "ERDI 'Cactus' Gergo" wrote:
>Package: libc6
>Version: 2.1.1-0.2
>
>It looks like the present version of LibC6 doesn't make it possible to
>compile the 2.2.x series of the Linux kernel when run under a 2.0 series
>kernel.
>
>I had to ask a friend to compile a kernel to me so that I could compile my
>own...
>
>Here are the errors I get:
>[root@galaxy linux-2.2]$ make clean
>make: Makefile:6: fork: Invalid argument
>make: Makefile:10: fork: Invalid argument
>make: Makefile:13: fork: Invalid argument
>Makefile:189: arch//Makefile: No such file or directory
>make: *** No rule to make target ^Arch//Makefile'.  Stop.

Since fork can't ever return EINVAL, and since some of the other
messages from make are garbled (there's a control-A in there) I'm
inclined to blame make, bash, or your source tree instead of libc.

Also, what the hell are you doing compiling things as root?  The
Makefiles expect that you are an unprivileged user except for the
installation targets.

I'd try:

- Check versions of bash and make.  I have

ii  bash            2.02.1-1.4     The GNU Bourne Again SHell
ii  make            3.77-6         The GNU version of the "make" utility.

- Nuke your source tree.  Download a clean copy of 2.2.5.  

- Run `make mrproper' to ensure no stray files.  If the problem hasn't
been fixed, it will recur at this point.

- Now try to compile again.

zw


Reply to: