From owner-freebsd-questions Thu Nov 15 19:42:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta01.mail.mel.aone.net.au (mta01.mail.au.uu.net [203.2.192.81]) by hub.freebsd.org (Postfix) with ESMTP id 1D5DF37B506 for ; Thu, 15 Nov 2001 19:42:32 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta01.mail.mel.aone.net.au with ESMTP id <20011116034224.IWXR21470.mta01.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>; Fri, 16 Nov 2001 14:42:24 +1100 Message-Id: <5.1.0.14.2.20011116144026.03c0a6f0@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Fri, 16 Nov 2001 14:42:18 +1100 To: "craig burgess" <750virago@webbox.com> From: Rob B Subject: Re: kernel compile error Cc: freebsd-questions@FreeBSD.org In-Reply-To: <151101319.56339@webbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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