Date: Fri, 03 Jan 2003 21:49:58 +0800 From: Shaun Dwyer <sdwyer@arach.net.au> To: freebsd-stable@freebsd.org Subject: Linux compat broken in -stable? Message-ID: <3E159506.4010803@arach.net.au>
next in thread | raw e-mail | index | archive | help
Hey all... I just CVSup'd about 45 mins ago 21:00 (+8GMT), world compiles fine... I tried to compile my kernel and it fails with the error: ---------- cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /usr/src/sys/i386/linux/linux_ptrace.c /usr/src/sys/i386/linux/linux_ptrace.c: In function `linux_proc_read_fpxregs': /usr/src/sys/i386/linux/linux_ptrace.c:225: structure has no member named `p_sflag' /usr/src/sys/i386/linux/linux_ptrace.c:225: `PS_INMEM' undeclared (first use in this function) /usr/src/sys/i386/linux/linux_ptrace.c:225: (Each undeclared identifier is reported only once /usr/src/sys/i386/linux/linux_ptrace.c:225: for each function it appears in.) /usr/src/sys/i386/linux/linux_ptrace.c:228: structure has no member named `p_pcb' /usr/src/sys/i386/linux/linux_ptrace.c: In function `linux_proc_write_fpxregs': /usr/src/sys/i386/linux/linux_ptrace.c:238: structure has no member named `p_sflag' /usr/src/sys/i386/linux/linux_ptrace.c:238: `PS_INMEM' undeclared (first use in this function) /usr/src/sys/i386/linux/linux_ptrace.c:241: structure has no member named `p_pcb' /usr/src/sys/i386/linux/linux_ptrace.c: In function `linux_ptrace': /usr/src/sys/i386/linux/linux_ptrace.c:362: warning: implicit declaration of function `p_candebug' *** Error code 1 Stop in /usr/obj/usr/src/sys/HADES. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ------------- I also tried it with a GENERIC kernel config, modified to include "options COMPAT_LINUX". It fails with the same error as above. Anyone else had this problem? anyone else able to compile a kernel with Linux compat successfully? Thanks, --Shaun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E159506.4010803>