Subject: Re: problems trying to build today's -current
To: None <duhring@charter.net>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 02/14/2003 19:46:09
In article <200302141317.29367.duhring@charter.net> you write:
>Executing ./build.sh tools on a source tree freshly checked out by CVS an
>hour ago results in this:
>
>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
That usually means you've got the wrong version of the headers in
/usr/include. Check whether /usr/include/sys/times.h mentions "__times13".
The version shipped with 1.6 (rev 1.8) doesn't, but the version in -current
does. You should probably have the 1.6 version installed.
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26 <URL:http://www.netbsd.org/Ports/acorn26/>