Hi, I just returned to slack after failing to get system encryption on gentoo. Now, after I have tweaked and tinkered my system all day, I can't compile my kernel. I get following:
Code:
root@Shodan:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:1
22,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.
h:7,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:1 1,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: Tiedostoa tai hakemistoa ei ole
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: Tiedostoa tai hakemistoa ei ole
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:204: error: `PATH_MAX' undeclared (first use in this func tion)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:300: error: `PATH_MAX' undeclared (first use in this func tion)
scripts/basic/fixdep.c:300: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Virhe 1
make: *** [scripts_basic] Virhe 2
I have "fresh" source of 2.6.17.8. This first appeared when I tried to patch my kernel with Beyond sources. Any idea what to do to get this fixed?
I was able to compile my kernels earlier today. The patches should affect only the source where they are applied, right? So they shouldn't be causing this. I tried "make clean" but that didn't help.
A note too that I am using Slackware -current, just upgraded this morning. Only problem was that I forgot to recompile my kernel after it so I had to boot from liveCD to do that
Another thing, I tweaked my system according these pages:
http://humanreadable.nfshost.com/sdeg and
http://www.vcn.bc.ca/~dugan/setting-up-slackware.html.
I couldn't get the unicode to work as was intended in the latter guide so I'm asking, are those bash_profile and bashrc things necessary to use unicode?
PS.Lesson 1 on finnish language: "Tiedostoa tai hakemistoa ei ole" == File or folder not found"