From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 13:41:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F8237B401 for ; Mon, 7 Apr 2003 13:41:25 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 625B543FBF for ; Mon, 7 Apr 2003 13:41:24 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h37KfKV25270; Mon, 7 Apr 2003 13:41:21 -0700 From: Kent Stewart To: David JL , freebsd-questions@freebsd.org Date: Mon, 7 Apr 2003 13:41:20 -0700 User-Agent: KMail/1.5 References: <1813750833.20030407223116@club-internet.fr> In-Reply-To: <1813750833.20030407223116@club-internet.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304071341.20636.kstewart@owt.com> Subject: Re: buildworld fails with 4.8 stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 20:41:26 -0000 On Monday 07 April 2003 01:31 pm, David JL wrote: > Hello, > > I'm upgraded to 4.8 STABLE via cvsup but i'm getting an error during > buildworld. > > + Here's the error found during buildworld : > > $ make -j4 buildworld > [...] > I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld > -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd > -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Wno-uninitialized -D__FBSDID=__RCSID -static -o ld eelf_i386.o > ldcref.o ldctor.o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o > ldmain.o ldmisc.o ldver.o ldwrite.o lexsup.o mri.o ../libbfd/libbfd.a > ../libiberty/libiberty.a ldfile.o: In function > `ldfile_open_command_file': > ldfile.o(.text+0x535): undefined reference to `saved_script_handle' > ldlang.o: In function `load_symbols': > ldlang.o(.text+0x1465): undefined reference to `yyparse' > ldlex.o: In function `yylex': > ldlex.o(.text+0x287): undefined reference to `yylval' > ldlex.o(.text+0x2b1): undefined reference to `yylval' > ldlex.o(.text+0x2d0): undefined reference to `yylval' > ldlex.o(.text+0x2f0): undefined reference to `yylval' > ldlex.o(.text+0x2fa): undefined reference to `yylval' > ldlex.o(.text+0x30e): more undefined references to `yylval' follow > ldmain.o: In function `main': > ldmain.o(.text+0x2ec): undefined reference to `force_make_executable' > ldmain.o(.text+0x433): undefined reference to `saved_script_handle' > ldmain.o(.text+0x478): undefined reference to `yyparse' > ldmain.o(.text+0x495): undefined reference to `saved_script_handle' > ldmain.o(.text+0x4ca): undefined reference to `saved_script_handle' > ldmain.o(.text+0x4e5): undefined reference to `saved_script_handle/usr/share/examples/cvsup' > ldmain.o(.text+0x506): undefined reference to `saved_script_handle' > ldmain.o(.text+0x523): undefined reference to `saved_script_handle' > ldmain.o(.text+0x690): undefined reference to `force_make_executable' > lexsup.o: In function `parse_args': > lexsup.o(.text+0x544): undefined reference to `yyparse' > lexsup.o(.text+0x802): undefined reference to `force_make_executable' > lexsup.o(.text+0xd4a): undefined reference to `saved_script_handle' > lexsup.o(.text+0xd5e): undefined reference to `saved_script_handle' > lexsup.o(.text+0xd6d): undefined reference to `yyparse' > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > > + Here's the output of uname -a > FreeBSD bsdbox.izilan 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Apr 5 > 16:10:16 CEST 2002 root@bsdbox.izilan:/usr/obj/usr/src/sys/BSDBOX > i386 > > + Machine : amd duron 750 with a SiS735 chipset and 256 MO SDRAM > > In fact, i think the uname writes STABLE because i managed to compile > (with many warnings) the source without the -j4 option > but the installworld failed at the beginning saying he couldn't find > touch... ? I was in single user mode and followed the handbook > instructions, i'm confused... If it is looking for touch, your system date is probably wrong. If you run a cmos wall clock, you have to "adjkerntz -i" to get the system date right during the installworld. This is all described in /usr/src/UPDATING around line 470+. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html