Adrian Ulrich wrote:
Hi,Well I already had the 126.96.36.199 kernel sources so I started there. I had downloaded the kernel source pkg and install with installpkg, no problems.Uh? How did you installpkg the kernel sources? You are supposed to extract them to /usr/src/linux or so..
#installpkg kernel-source-188.8.131.52-noarch-1.tgz Is that not correct?
Seems the include files couldn't be found, I checked the /usr/include/bits/local_lim.h file (where the error occured) and at the referenced line I see this,install the glibc package (not glibc-solibs)
I did, pkgtool shows it installed. So I download the pkg and try again. root@slacker:/home/dave# removepkg glibc-2.3.5-powerpc-2.tgzroot@slacker:/home/dave# wget http://slackintosh.workaround.ch/pub/slackintosh/10.2/slackintosh/l/glibc-2.3.5-powerpc-2.tgz
root@slacker:/home/dave# installpkg glibc-2.3.5-powerpc-2.tgz root@slacker:/home/dave# cd /usr/src/linux root@slacker:/usr/src/linux# make vmlinuxgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I/usr/src/linux-184.108.40.206/arch/ppc -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36, from scripts/split-include.c:26: /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory make: *** [scripts/split-include] Error 1 root@slacker:/usr/src/linux#Hmm, I'll install the kernel headers, make mrproper, make menuconfig, make dep, make vmlinux again.
Maybe I mucked something up. DAve
Do I need a symlink for /usr/include/* to /usr/src/linux/* to compile, or should I copy my kernel headers into /usr/include/(linux,asm) directories?No. Just install the glibc package. You may, however, choose to install the kernel-headers-2.4.xx package to compile certain packages (like mplayer). But this is not needed to compile a kernel. Regards, Adrian
-- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible.