Opened 20 years ago
Closed 20 years ago
#1585 closed defect (invalid)
Trouble with sysklogd-1.4.1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | TESTING |
Severity: | normal | Keywords: | |
Cc: |
Description
LFS 6.1 At compilation sysklogd-1.4.1 after installation of a patch sysklogd-1.4.1- fixes-1.patch: #make ......................... /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
Why?
Change History (5)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
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
comment:3 by , 20 years ago
Patch sysklogd.patch from http://ep09.pld-linux.org/~mmazur/linux-libc-headers don't help :(
comment:4 by , 20 years ago
I don't get the error.
Try this patch and see if the issue is corrected http://www.linuxfromscratch.org/patches/downloads/sysklogd/sysklogd-1.4.1- kernel_headers-1.patch
comment:5 by , 20 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please use the lfs-support mailing list to report build failures. From there it will be determined whether the problem results is a bug in the book or not. Closing this bug as invalid.
Can you send a complete error log
make > /tmp/error.log 2>&1