Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 11:26:38 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        "Richard E. Hawkins" <dochawk@psu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: can't compile kernel over linux?
Message-ID:  <3BF95CEE.5030907@owt.com>
References:  <200111191603.fAJG3mT15236@fac13.ds.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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)
<snip>


 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF95CEE.5030907>