Re: mosix patched kernel not compiling
There is a wonderful site: http://packages.debian.org
and it allows you to find files in packages. In this case your are lacking
the development files for libc...
apt-get install libc6-dev
Hope this helps,
-Tim
____.-=| Tim Spriggs |=-.____
(||) Systems Admin. (||)
|)(| College of Engineering |)(|
(||) ECE206A - (520) 621 3185 (||)
|)(_.-=##^^##=-.__.-=##^^##=-._)(|
/ \
^^^ || ^^^
||
(..)
\
\________
... Defacing is a crime anywhere else.
On Tue, 4 Mar 2003, Doug_The_Slug wrote:
> okay, i am now trying to compile a patched kernel (patched with mosix). i
> am going to put complete history of what i've done from first installing
> debian 2.20 from disk.
> i am using the mosix patch from apt-get which is for a 2.4.17 kernel, so i
> am using a 2.4.17 kernel. i am following the HOWTO located at
> http://howto.ipng.be/openMosix-HOWTO/x364.htm
> i installed from disk, using 3.0 disks - then use http to install base
> system. all necessary parts are installed, such as network card. not
> running tasksel or dselect. very basic system. Now the following
> instructions i can follow word for word on my machines and they will all
> successfully run:
> #apt-get install kernel-patch-mosix
> #apt-get install kernel-source-2.4.17
> #bunzip2 /usr/src/kernel-source-2.4.17.tar.bz2
> #tar -xf /usr/src/kernel-source-2.4.17.tar
> #gunzip /usr/src/kernel-patches/i386/mosix/patches.2.4.17
> #cp /usr/src/kernel-patches/i386/mosix/patches.2.4.17
> /usr/src/kernel-source-2.4.17
> #cd /usr/src/kernel-source-2.4.17
> #patch -p0 < patches.2.4.17
> #apt-get install gcc
> #apt-get install make
> #cd /usr/src
> #ln -s kernel-source-2.4.17 linux
> #make oldconfig --> (this configs almost everything, asks maybe 2
> questions, which i select as default)
> now - here's where things go bad, i try the make dep
> ---------------------
> ASS001:/usr/src/linux# make dep
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
> scripts/mkdep.c
> scripts/mkdep.c:33: ctype.h: No such file or directory
> scripts/mkdep.c:34: fcntl.h: No such file or directory
> In file included from
> /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
> from
> /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
> from scripts/mkdep.c:35:
> /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such
> file or directory
> scripts/mkdep.c:36: stdio.h: No such file or directory
> scripts/mkdep.c:37: stdlib.h: No such file or directory
> scripts/mkdep.c:38: string.h: No such file or directory
> scripts/mkdep.c:39: unistd.h: No such file or directory
> scripts/mkdep.c:41: sys/fcntl.h: No such file or directory
> scripts/mkdep.c:42: sys/mman.h: No such file or directory
> scripts/mkdep.c:43: sys/stat.h: No such file or directory
> scripts/mkdep.c:44: sys/types.h: No such file or directory
> ----------------------------
> why are those files not there, and why are they asking for them? and as a
> note, i also tried #make config and spent an hour going through the whole
> list, answering default to almost all of them (since they were either
> correct, or i didn't know what it was) and ended up getting the same missing
> files.
>
> is there anything wrong with this process? is there some small detail which
> most people assume, but i happen to not know from this HOWTO. I also looked
> at the README in /usr.src.kernel-source-2.4.17 and it follows pretty much
> the same path. get the sources, unzip, copy to patch to kernel source
> folder, patch, make config, make dep...
>
> -rp
>
>
> --
> To UNSUBSCRIBE, email to debian-beowulf-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: