Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2001 17:14:11 -0500
From:      Daniel Frazier <dfrazier@magpage.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   make buildkernel dies...
Message-ID:  <3BE70F33.9080508@magpage.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm bringing one of our production boxes up to stable and I ran into
a snag.  make buildworld finished fine, but make buildkernel dies with
the following:

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@/../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:57: syntax error before `)'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:156: syntax error before `linux_handler_t'
linux_proto.h:156: `linux_handler_t' undeclared here (not in a function)
linux_proto.h:156: `linux_handler_t' undeclared here (not in a function)
linux_proto.h:184: syntax error before `linux_dev_t'
<snip>
linux_proto.h:479: syntax error before `)'
linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:479: syntax error before `)'
linux_proto.h:510: syntax error before `*'
linux_proto.h:510: syntax error before `linux_stack_t'
linux_proto.h:510: syntax error before `linux_stack_t'
linux_proto.h:511: syntax error before `linux_stack_t'
linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:511: syntax error before `)'
linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:511: syntax error before `)'
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 /usr/src/sys/modules/linux.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

has anyone else seen this and/or have a fix?




-- 
----------------------------------------------------------------------
Daniel Frazier  <dfrazier@magpage.com>   Tel:  302-239-5900 Ext. 231
Systems Administrator                    Fax:  302-239-3909
MAGPAGE, We Power the Internet           WWW:  http://www.magpage.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
         - Benjamin Franklin, Historical Review of Pennsylvania, 1759.



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?3BE70F33.9080508>