Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 20:20:51 -0500
From:      Kenneth Dunlap <kdunlap@panix.com>
To:        "Crist J . Clark" <cjc@FreeBSD.ORG>
Cc:        Kenneth Dunlap <grr@arrgh.net>, questions@FreeBSD.ORG
Subject:   Re: kernel build fails after updating source
Message-ID:  <20020120012051.GA24956@panix.com>
In-Reply-To: <20020119163347.C63556@blossom.cjclark.org>
References:  <20020119145138.A14394@arrgh.net> <20020119163347.C63556@blossom.cjclark.org>

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

Quoth Crist J . Clark (cjc@FreeBSD.ORG):
> On Sat, Jan 19, 2002 at 02:51:38PM -0500, Kenneth Dunlap wrote:
> > Updated full stable source on 1/19/2002.  Make buildword ran sucessfully.  When
> > building a new kernel, it fails in the one of the linux compat modules.
> > I used the version of config in the new build tree.
> > The first set of errors (of many) before make quits is:
> > 
> > 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 `)'
> > linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
> > linux_proto.h:57: syntax error before `)'
> > 
> > I followed the instructions in /usr/src/UPDATE, and ran make modules-clean
> > (and make clean) before compiling.
> > 
> > Any help would be appreciated.
> 
> You said you are using the buildkernel target? Do,
> 
>   # rm -rf /usr/obj/usr/src/sys/$KERNCONF
> 
> And see what happens.

The problem did not happen with the buildkernel GENERIC target, but does happen
if I do, for instance, make -j4 depend && make -j4 on a 'traditional' 
kernel build.  As it turns out, the problem does not occur if I leave out
the '-j4; argument.   Strange, but I did get the kernel compiled.

Thanks

Ken



Better to light a single candle than to curse the damn darkness.

							Willow

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020120012051.GA24956>