From owner-freebsd-current Fri Apr 6 7:56:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from tiku.hut.fi (tiku.hut.fi [130.233.228.86]) by hub.freebsd.org (Postfix) with ESMTP id 845A137B43E for ; Fri, 6 Apr 2001 07:56:56 -0700 (PDT) (envelope-from jcarlson@kosh.hut.fi) Received: from kosh.hut.fi (jcarlson@kosh.hut.fi [130.233.228.10]) by tiku.hut.fi (8.9.3/8.9.3) with ESMTP id RAA07959 for ; Fri, 6 Apr 2001 17:56:55 +0300 (EET DST) Date: Fri, 6 Apr 2001 17:56:55 +0300 (EET DST) From: John Carlson To: freebsd-current@freebsd.org Subject: problem building linux kernel module in current Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I cvsupped today to -CURRENT, thinking to upgrade my -STABLE installation (4.3-BETA). I followed the instructions in the UPDATING file, but ran into a persistent problem when trying to compile the kernel after a successful buildworld. The kernel compilation dies while making the modules at this point: cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -mpreferred-stack-boundary=2 -c linux_sysent.c linux_sysent.c:21: sizeof applied to an incomplete type linux_sysent.c:21: warning: built-in function `exit' used without declaration linux_sysent.c:21: warning: cast discards qualifiers from pointer target type *** Error code 1 Stop in /opt/src/sys/modules/linux. *** Error code 1 Stop in /opt/src/sys/modules. *** Error code 1 Stop in /usr/obj/opt/src/sys/DARKSTAR. *** Error code 1 Stop in /opt/src. *** Error code 1 Stop in /opt/src. Anyone else noticed this problem or is it just me doing something wrong? Any help would be appreciated. Thanks, |---------------------------------------------------| John Carlson Helsinki University of Technology jcarlson@cc.hut.fi |---------------------------------------------------| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message