LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Upgrade to kernel 2.6.4... (https://www.linuxquestions.org/questions/slackware-14/upgrade-to-kernel-2-6-4-a-160337/)

Worstje 03-20-2004 05:06 PM

Upgrade to kernel 2.6.4...
 
Hello everyone,

I am having problems with my soundcard, and I was not succesful getting alsa to work. Elsewhere on these forums I have read that upgrading the 2.4 kernel to a 2.6 kernel made the sound work.. which is my main reason for wanting to upgrade. Anyway, I am stuck at the very beginning already. I installed a clean system, with everything but X/Kde/Gnome installed on it. First I upgraded all my tools using swaret, syncing with slackware-current. All was succesful..

Next I downloaded linux-2.6.4.tgz from kernel.org. I extracted everything, which also went fine. Next, I changed the Extraversion to 1 because it has to be unique. Also cleaned the system with make mrproper. Now it seems I have to run make ***config. No matter which config utility I choose, it says I am missing files. I am at a loss here, since I am doing everything as the different tutorials on the net say (even as the README tells me to..:().

This is my first time for trying to upgrade, so sorry if I am missing something very obvious.. :(

Side question: where can I find ncurses-devel package for slackware? It is not in the slackware-current..

Thanks in advance :)

hp_tux 03-20-2004 05:33 PM

Hello,

when you don't have X installed, it will probably be the best to use "make menuconfig". For that "ncurses" is required.

cu

hp_tux

Kovacs 03-20-2004 05:48 PM

http://www.slackware.com/pb/search.p...string=ncurses

Worstje 03-20-2004 05:54 PM

I have it installed.. but that is not my first problem.. It says it needs ncurses-devel, which I can't find :(

Second, my problem of missing files is with ALL config possibilities... not only the menu config, but also with the general config...

Edit: This are the first lines of many errors:

root@coresausage:/usr/src/linux# make menuconfig
HOSTCC scripts/fixdep
scripts/fixdep.c:97:23: sys/types.h: No such file or directory
scripts/fixdep.c:98:22: sys/stat.h: No such file or directory
scripts/fixdep.c:99:22: sys/mman.h: No such file or directory
scripts/fixdep.c:100:20: unistd.h: No such file or directory
scripts/fixdep.c:101:19: fcntl.h: No such file or directory
scripts/fixdep.c:102:20: string.h: No such file or directory
scripts/fixdep.c:103:20: stdlib.h: No such file or directory
scripts/fixdep.c:104:19: stdio.h: No such file or directory
.......

hp_tux 03-20-2004 06:01 PM

Hello,

Quote:

It says it needs ncurses-devel, which I can't find
well, "ncurses-devel" is integrated in "ncurses", there is no separate "devel"-package.

Quote:

Second, my problem of missing files is with ALL config possibilities... not only the menu config, but also with the general config...
Oh, it seems you didn't install the kernel-headers: http://www.slackware.com/pb/search.p...kernel-headers

cu

hp_tux

Worstje 03-20-2004 06:05 PM

Actually, I do have all kernel packages installed. The 2.4.22 versions that is. Where can I find them for 2.6.4? Because that is what I am trying to compile, I think that is what I need.. :/ I feel so dumb :*(

subgenius 03-21-2004 12:03 AM

The *.h files you listed (at least all of the ones I checked) should
be found in the glibc package. Is glibc installed?

Worstje 03-21-2004 06:01 AM

I just installed glibc (I could have sworn I had that installed), but still no result... since my man is also behaving weird, I am doing a clean re-install.. maybe something went freaky at some point... doing bad block checks to be sure as well... If I still can't figure it out after reinstalling, I'll post again :)


All times are GMT -5. The time now is 11:55 AM.