Re: error compiling custom kernel

2002-03-09 Thread Kent Stewart



Jeffrey J. Libman wrote:

> i cvsup and upgraded this server from stable 4.3 to 4.5:
> 
> FreeBSD binnacle.wantabe.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Sat
> Mar
> 9 04:25:58 CST 2002
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>   i386
> 
> make buildworld, make buildkernel, make installkernel, make installworld
> and mergemaster all went well.
> 
> then i went to rebuild my custome kernel, and i get the following:
> cc -O -pipe -march=pentiumpro  -D_KERNEL -Wall -Wredundant-decls
> -Wnested-extern
> s -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual
>   -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
> -I@/../include -
> g -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 `)'


This is covered in your /usr/src/UPDATING. The header file used to be 
genereated and now it isn't but you have a generated version hanging 
around in the custom kernel area.

If the scheme in UPDATING doesn't work for you, the way people have 
dealt with it has been covered many, many times in -stable and you 
need to check the archive.

Kent

 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



re: error compiling custom kernel

2002-03-09 Thread Jeffrey J. Libman

i cvsup and upgraded this server from stable 4.3 to 4.5:

FreeBSD binnacle.wantabe.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Sat
Mar
9 04:25:58 CST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  i386

make buildworld, make buildkernel, make installkernel, make installworld
and mergemaster all went well.

then i went to rebuild my custome kernel, and i get the following:
cc -O -pipe -march=pentiumpro  -D_KERNEL -Wall -Wredundant-decls
-Wnested-extern
s -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual
  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
-I@/../include -
g -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 `)'

etc

any help would be greatly appreciated.

cheers,
jeff

--
|
|\+--+
Jeffrey J. Libman, ops. mgr.| \   |  Wantabe Internet Services   |
Wantabe, Inc.   |__\  +--+
[EMAIL PROTECTED]<-|-->
(281) 345-0215   __,.-=\'`^`'~=-../__,.-=


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message