Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 13:41:20 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        David JL <izi@club-internet.fr>, freebsd-questions@freebsd.org
Subject:   Re: buildworld fails with 4.8 stable
Message-ID:  <200304071341.20636.kstewart@owt.com>
In-Reply-To: <1813750833.20030407223116@club-internet.fr>
References:  <1813750833.20030407223116@club-internet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304071341.20636.kstewart>