Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 23:58:13 -0500
From:      Scott <scottro@nyc.rr.com>
To:        "Ilya" <mail@krel.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel compile error on latest cvsup of stable
Message-ID:  <5.1.0.14.0.20011113234938.00c24c48@pop-server.nyc.rr.com>
In-Reply-To: <00f101c16cc5$5f979010$0100a8c0@ilya>
References:  <XFMail.20011112091413.conrads@home.com> <20011112095417.F25208@negwo.eastcore.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23:32 2001/11/13 -0500, Ilya wrote
>I just cvsuped 4.4 stable and kernel build fails with these:
><snip>
>
>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 `)'
><snip>
>
>
>
>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/ALCHEMISTRY.
>*** Error code 1

Heh--happened to me last night too.  Maybe something in recent stable (of 
course, I haven't been reading updater, lazy sod that I am.)

The solution
(In this case, my kernel is named SCOTTKERN)
mv /usr/obj/usr/src/sys/SCOTTKERN /usr/obj/usr/src/sys/SCOTTKERN.old

(substituting of course, the name of your kernel)

That should fix it.

Actually, I got annoyed and just did rm -rf /usr/obj/usr/src/sys/SCOTTKERN 
which also worked, but better to play it safe.  :)

HTH
Scott Robbins


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?5.1.0.14.0.20011113234938.00c24c48>