From owner-freebsd-stable Wed Nov 14 0:22: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from 217-126-145-95.uc.nombres.ttd.es (217-126-145-95.uc.nombres.ttd.es [217.126.145.95]) by hub.freebsd.org (Postfix) with ESMTP id CCD3B37B405; Wed, 14 Nov 2001 00:22:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by phoenix.ea4els.ampr.org (Postfix) with ESMTP id B0F683D4E; Wed, 14 Nov 2001 09:21:57 +0100 (CET) Date: Wed, 14 Nov 2001 09:21:57 +0100 (CET) From: Simon J Mudd To: Cc: Gregory Neil Shapiro Subject: Re: trouble compiling kernel with -stable? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Many thanks to Gregory Neil Shapiro 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