Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 17:47:15 -0500
From:      Troy <sindrome@sindrome.net>
To:        W Gerald Hicks <gehicks@gehicks.dyndns.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: buildworld failure in /usr/src/sys/boot/i386/loader
Message-ID:  <20020723174715.A5844@sindrome.net>
In-Reply-To: <EE2C9FA0-9E88-11D6-ACB8-0030657B5F1E@gehicks.dyndns.org>; from gehicks@gehicks.dyndns.org on Tue, Jul 23, 2002 at 06:10:00PM -0400
References:  <20020723100836.A4598@sindrome.net> <EE2C9FA0-9E88-11D6-ACB8-0030657B5F1E@gehicks.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
did cd /usr/src

make buildworld

prior to that I did a make cleandir twice and cleaned up /usr/obj etc..


-Troy
> Hrm,
> 
> This definitely looks like a library and/or toolchain mixup
> relative to src/
> 
> I don't understand; this doesn't look like it is running from
> within buildworld.
> 
> Did you:
>       cd /usr/src && make buildworld
> 
> Or:
>       cd /usr/src/sys/boot && make
> 
> --
> Jerry Hicks
> gehicks@gehicks.dyndns.org
> 
> On Tuesday, July 23, 2002, at 11:08 AM, Troy wrote:
> 
> >
> > When doing a buildworld, the following problem occurred.  Has anyone 
> > seen
> > this problem?
> >
> > -Troy
> >
> > (/usr/src/sys/boot/i386/loader) make
> > /usr/bin/cc -nostdlib -static -Ttext 0x0 -o loader.sym 
> > /usr/obj/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o main.o conf.o 
> > bcache.o boot.o commands.o console.o devopen.o interp.o 
> > interp_backslash.o interp_parse.o load_elf.o ls.o misc.o module.o 
> > panic.o load_aout.o isapnp.o pnp.o interp_forth.o vers.o  
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a 
> > /usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a 
> > /usr/obj/usr/src/sys/boot/i386/loader/../../../../lib/libstand/libstand.a
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): 
> > In function `ficlExecFD':
> > loader.o(.text+0x5cb): undefined reference to `malloc'
> > loader.o(.text+0x5ea): undefined reference to `free'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o): 
> > In function `ficlCompilePlatform':
> > loader.o(.text+0x8de): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In 
> > function `stackCreate':
> > stack.o(.text+0x94): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(stack.o): In 
> > function `stackDrop':
> > stack.o(.text+0xfa): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In 
> > function `ficlInitSystemEx':
> > ficl.o(.text+0x3c): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o): In 
> > function `ficlListParseSteps':
> > ficl.o(.text+0x1c0): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(ficl.o)(.text+
> > 0x273): more undefined references to `__eprintf' follow
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): 
> > In function `ficlMalloc':
> > sysdep.o(.text+0xbb): undefined reference to `malloc'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): 
> > In function `ficlRealloc':
> > sysdep.o(.text+0xcc): undefined reference to `realloc'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(sysdep.o): 
> > In function `ficlFree':
> > sysdep.o(.text+0xd9): undefined reference to `free'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In 
> > function `ficlParseNumber':
> > words.o(.text+0x625): undefined reference to `__eprintf'
> > words.o(.text+0x6c0): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In 
> > function `twoConstParen':
> > words.o(.text+0x1068): undefined reference to `__eprintf'
> > words.o(.text+0x10fb): undefined reference to `__eprintf'
> > words.o(.text+0x11d8): undefined reference to `__eprintf'
> > /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+
> > 0x14b2): more undefined references to `__eprintf' follow
> > collect2: ld returned 1 exit status
> > *** Error code 1
> >
> > Stop in /usr/src/sys/boot/i386/loader.
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> >

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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