From owner-freebsd-questions Mon Nov 19 11:26:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 5EE6637B416 for ; Mon, 19 Nov 2001 11:26:48 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id LAA06215; Mon, 19 Nov 2001 11:26:40 -0800 Message-ID: <3BF95CEE.5030907@owt.com> Date: Mon, 19 Nov 2001 11:26:38 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "Richard E. Hawkins" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: can't compile kernel over linux? References: <200111191603.fAJG3mT15236@fac13.ds.psu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Richard E. Hawkins wrote: > I've managed to rescue my old kernel, but changes seem to be stopping > me from updating: > > make > ... > ===> libmchain > ===> linux > cc -O -pipe -march=pentiumpro -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@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c linux_sysent.c > In file included from linux_sysent.c:14: > linux_proto.h:57: syntax error before `linux_time_t' > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) linux_proto.h:517: `linux_stack_t' undeclared here (not in a function) > linux_proto.h:517: syntax error before `)' > *** Error code 1 > > Stop in /usr/src/sys/modules/linux. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/compile/RAPTOR. > > I;'m guessing that this is happening while compiling modules, but am > far from sure. It is a known problem. If you have a recent cvsup, the fix is covered in /usr/src/UPDATING. You have to cleandir some things. Kent > > hawk > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message