Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2002 10:50:19 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        "Jeffrey J. Libman" <jeffrl@wantabe.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: error compiling custom kernel
Message-ID:  <3C8A596B.9030907@owt.com>
References:  <Pine.BSF.4.43.0203091152490.13186-100000@cutter.wantabe.com>

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


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
> jeffrl@binnacle.wantabe.com:/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 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?3C8A596B.9030907>