From owner-freebsd-questions Sat May 11 2:42:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by hub.freebsd.org (Postfix) with ESMTP id 7388237B416 for ; Sat, 11 May 2002 02:42:20 -0700 (PDT) Received: (qmail 19371 invoked from network); 11 May 2002 09:50:48 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 11 May 2002 09:50:48 -0000 Message-ID: <3CDCE5E3.7A0C296D@liwing.de> Date: Sat, 11 May 2002 11:35:31 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Dave B Cc: freebsd-questions@FreeBSD.org Subject: Re: buildworld/install world fail on 486DX References: <20020511075007.790.qmail@web10005.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Dave B wrote: > > Hi, I tried to do a "make buildworld" and have had > trouble getting it to work on my 486. I also tried > building it with my PII350(which worked), with > CPUFLAG=i486 then with NFS copying over all of > /usr/src and doing a make installworld with no luck. > > If anybody has any Ideas let me know. Or if anybody > has done a successful make buildworld with a 486, > maybe I could get your make.conf settings? You should know what you do if you modify make.conf. You treat the compiler handle warning as errors. If you review your output, there're warnings. Set "WARNS_WERROR=NO" and it should work fine. > I have followed through the steps in the online > Freebsd handbook "19.4 Using make world" and am > getting some errors on my 486 DX4. This seems to work > fine on my PII350, and my Pentium Pro, and my Pentium > 200 but not my 486. > > Here are the last few lines that I get before it stops > in the make buildworld process > > ------------------snip------------------------------- > ===> libfetch > cc -nostdinc -O -pipe -m486 -m486 -I. -DINET6 > -I/usr/obj/usr/src/i386/usr/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -Werror > -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -c /usr/src/lib/libfetch/fetch.c -o fetch.o > cc -nostdinc -O -pipe -m486 -m486 -I. -DINET6 > -I/usr/obj/usr/src/i386/usr/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -Werror > -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -c /usr/src/lib/libfetch/common.c -o > common.o > cc1: warnings being treated as errors > /usr/src/lib/libfetch/common.c: In function > `_fetch_putln': > /usr/src/lib/libfetch/common.c:343: warning: cast > discards qualifiers from pointer target type > /usr/src/lib/libfetch/common.c:345: warning: cast > discards qualifiers from pointer target type > *** Error code 1 > > Stop in /usr/src/lib/libfetch. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > -------------------------end make buildworld---------- > > Here is the make.conf file I used... > > ------------------/etc/make.conf-------------------- > CPUTYPE= i486 > KERNCONF= MY486DX > USA_RESIDENT= YES > WARNS_WERROR= YES > > # To avoid building various parts of the base system: > NO_BIND= true # do not build BIND > NO_FORTRAN= true # do not build g77 and related > libraries > NO_I4B= true # do not build isdn4bsd package > NO_LPR= true # do not build lpr and related > programs > NO_X= true # do not compile in XWindows > support (e.g. doscmd) > NOGAMES= true # do not build games (games/ > subdir) > > DOC_LANG= en_US.ISO8859-1 > > WITHOUT_X11= true > -------------------end make.conf--------------------- > > here is #uname -a > > FreeBSD poc.attbi.com 4.5-RELEASE FreeBSD 4.5-RELEASE > #0: Mon Jan 28 14:31:56 GMT 2002 > murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC > i386 > > thanks -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message