(без темы)

Котяра superkotjara at mail.ru
Sun Jun 26 13:13:24 PDT 2005


LFS 6.1
At compilation sysklogd-1.4.1 after installation of a patch 
sysklogd-1.4.1- fixes-1.patch:
#make

gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DSYSLOG_INET -
DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"syslogd.pid\"  -c 
syslogd.c
gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -c pidfile.c
gcc -s -o syslogd syslogd.o pidfile.o 
gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND   -c 
klogd.c
gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -
DALLOW_KERNEL_LOGGING -c syslog.c
gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND  -c 
ksym.c
gcc  -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND  -c 
ksym_mod.c
In file included from /usr/include/asm/atomic.h:4,
                 from module.h:31,
                 from ksym_mod.c:97:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the 
FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from module.h:31,
                 from ksym_mod.c:97:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in 
userland program. BAD!
make: *** [ksym_mod.o] Error 1

Patch sysklogd.patch from 
http://ep09.pld-linux.org/~mmazur/linux-libc-headers 
<http://ep09.pld-linux.org/%7Emmazur/linux-libc-headers> don't help :(



More information about the lfs-support mailing list