From owner-freebsd-stable Fri Jan 3 5:49:41 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18FEF37B401 for ; Fri, 3 Jan 2003 05:49:40 -0800 (PST) Received: from house.arach.net.au (house2.arach.net.au [203.30.47.129]) by mx1.FreeBSD.org (Postfix) with SMTP id 5027843EA9 for ; Fri, 3 Jan 2003 05:49:38 -0800 (PST) (envelope-from sdwyer@arach.net.au) Received: (qmail 11784 invoked by uid 502); 3 Jan 2003 13:49:37 -0000 Received: from unknown (HELO nebu.arach.net.au) (203.30.44.15) by 0 with SMTP for ; 3 Jan 2003 13:49:37 -0000 Received: (qmail 26906 invoked from network); 3 Jan 2003 13:49:36 -0000 Received: from unknown (HELO arach.net.au) (202.89.169.173) by 0 with SMTP for ; 3 Jan 2003 13:49:36 -0000 Message-ID: <3E159506.4010803@arach.net.au> Date: Fri, 03 Jan 2003 21:49:58 +0800 From: Shaun Dwyer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020630 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Linux compat broken in -stable? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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