Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 14:42:18 +1100
From:      Rob B <rbyrnes@ozemail.com.au>
To:        "craig burgess" <750virago@webbox.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: kernel compile error
Message-ID:  <5.1.0.14.2.20011116144026.03c0a6f0@pop.ozemail.com.au>
In-Reply-To: <151101319.56339@webbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:38 16/11/2001, craig burgess sent this up the stick:

>Here is a bit of the output (using the "old way" /sys/conf/alpha
>and starting with /usr/sbin/config KERNEL ---
>===============================
>regs -Wa,-mev56 -c linux_sysent.c
>In file included from linux_sysent.c:14:
>linux_proto.h:137: syntax error before `linux_gid_t'
>linux_proto.h:137: `linux_gid_t' undeclared here (not in a function)
>linux_proto.h:137: syntax error before `)'
>  ... several more like this then ...
>linux_sysent.c:21: sizeof applied to an incomplete type
>linux_sysent.c:21: warning: built-in function `exit' used without
>declaration
>linux_sysent.c:21: warning: cast discards qualifiers from pointer
>target type
>*** Error code 1
>
>Stop in /usr/src/sys/modules/linux.
>*** Error code 1
>==========================
>
>trying the "new method" in /usr/src and make buildkernel I get:
>
>osf1.ko osf1.kld osf1_ioctl.o osf1_misc.o osf1_signal.o osf1_sysent.o
>osf1_mount
>.o imgact_osf1.o osf1_sysvec.o @ machine symb.tmp tmp.o opt_compat.h
>opt_simos.h
>  opt_nfs.h vnode_if.h
>make: don't know how to make cleandir. Stop
>*** Error code 2
>
>Stop in /usr/src.
>*** Error code 1
>=========================
>
>Platform: Alpha (not i386)
> > uname -a
>FreeBSD ... 4.3-RELEASE FreeBSD 4.3-RELEASE #12: Wed Sep 26 16:33:19
>PDT 2001
>
>Fresh CVSUP of ports -- and source (this time using stable-supfile)
>
>Buildworld went without a hitch. Handbook sequence (which I'm
>following this time) is make buildworld, then kernel, then I
>planed to make installworld. Since I have NOT installed the rebuilt
>binaries I'm guessing that I'm safe to leave the 4.3 kernel in
>place but how do I get out of this predicament?

There was a thread on the freebsd-stable list recently about something 
similar, the solution was to start with a clean /usr/obj

Cheers,
Rob


--
Eagles may soar, but weasels don't get sucked into jet engines.

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 372 of a collection of 1184


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.2.20011116144026.03c0a6f0>