Many thanks to Gregory Neil Shapiro <[EMAIL PROTECTED]> for pointing
out the solution to me, see below:
On Tue, 13 Nov 2001, Simon J Mudd wrote:
> I'm having trouble compiling a custom-defined -stable kernel, after having
> cvsuped today.
[snip]
> The error I'm seeing when building the UNICORN kernel is the following:
>
> cc -nostdinc -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:517: `linux_stack_t' undeclared here (not in a function)
> linux_proto.h:517: syntax error before `)'
> 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/obj/usr/src/sys/UNICORN.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> unicorn#
cd /usr/src/sys/modules/linux
make cleandir
rm -rf /usr/obj/usr/src/sys/UNICORN/modules/usr/src/sys/modules/linux
Recompiling the kernel after this enabled the compilation to finish
without problems.
Thanks
Simon
--
Simon J Mudd, Tel: +34-91-408 4878, Mobile: +34-605-085 219
Madrid, Spain. email: [EMAIL PROTECTED], Postfix RPM Packager
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message