Subject: Re: toplev.o(.text+0x92): undefined reference to `__times13'
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 02/23/2003 10:59:31
On Sat, Feb 22, 2003 at 10:58:38PM +0100, Hubert Feyrer wrote:
|
| Trying to build -current on an 1.6.1_RC2 system, I get:
|
| cc -DCROSS_COMPILE -DIN_GCC -O -DHAVE_CONFIG_H -o cc1 toplev.o
| version.o tree.o print-tree.o stor-layout.o fold-const.o function.o
| stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o intl.o varasm.o
| rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o dbxout.o sdbout.o
| dwarfout.o dwarf2out.o xcoffout.o bitmap.o alias.o gcse.o integrate.o
| jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o varray.o
| regclass.o regmove.o local-alloc.o global.o reload.o reload1.o
| caller-save.o insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o
| insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o
| profile.o insn-attrtab.o i386.o getpwd.o convert.o mbchar.o dyn-string.o
| splay-tree.o graph.o sbitmap.o resource.o hash.o c-parse.o c-lang.o
| c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
| c-common.o c-iterate.o obstack.o ../libiberty/libiberty.a
| toplev.o: In function `get_run_time':
| toplev.o(.text+0x92): undefined reference to `__times13'
| *** Error code 1
|
| Command line is:
|
| ./build.sh -D /usr/tmp/i386-destdir -R /usr/tmp/i386-releasedir -U tools
|
| What's the deal here? Certainly I do not want to update/touch the
| installed system...
At a first glance, I don't know. It appears that part of your build
used ${DESTDIR}/usr/include for the host compile :/
I do know that I have successfully built -current on a 1.6.1_RC2
machine using:
setenv TOOLDIR=...
./build.sh -D $destdir -R $releasedir -U -u -o makewrapper
./build.sh -D $destdir -R $releasedir -U -u -o tools
$TOOLDIR/bin/nbmake-i386 obj
$TOOLDIR/bin/nbmake-i386 distribution
(I.e, I got past your "tools" step).