Subject: Re: __times13 undefined error in current build.
To: None <10.50@free.fr>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 06/04/2003 11:18:56
In article <20030603200155.7ba62dd1.10.50@free.fr> you write:
>Hi there,
>sorry to waste your time.
>
>I try to compile a current version with gcc3 the way Sverre Froyen found
>out (same mk.conf). But it fails (and it has failed before on some
>package) during link of cc1 on the following error :
>
>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: dans la fonction « get_run_time »:
>toplev.o(.text+0x95): référence indéfinie vers « __times13 »
>collect2: ld returned 1 exit status
>
>Does somebody have a clue about that __times13 symbol ?

That indicates that your system header files (in particular,
/usr/include/time.h) are newer than your libraries (/usr/include/libc.*). 
You need to either install older header files or newer libraries.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>