Date: Wed, 14 Nov 2001 09:21:57 +0100 (CET) From: Simon J Mudd <sjmudd@pobox.com> To: <freebsd-stable@freebsd.org> Cc: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> Subject: Re: trouble compiling kernel with -stable? Message-ID: <Pine.LNX.4.33.0111140913500.7493-100000@phoenix.ea4els.ampr.org> In-Reply-To: <Pine.LNX.4.33.0111132122550.18222-200000@phoenix.ea4els.ampr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Many thanks to Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> 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: sjmudd@pobox.com, Postfix RPM Packager 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?Pine.LNX.4.33.0111140913500.7493-100000>