dtrace building problems

From: Tofig Suleymanov <tofig_at_freebsd.az>
Date: Sat, 21 Apr 2007 20:32:23 +0500
Hello,

I've fetched today's  dtree sources as it is shown here: 
http://people.freebsd.org/~jb/dtrace/


make buildworld stops with these errors:



/usr/obj/usr/src/tmp/legacy/usr/lib -o ctfconvert alist.o ctf.o 
ctfconvert.o dwarf.o hash.o iidesc.
o input.o list.o merge.o output.o st_bugs.o st_parse.o stabs.o stack.o 
strtab.o symbol.o tdata.o tr
averse.o util.o xalloc.o -lctf -ldwarf -lelf -lz -lpthread -legacy
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_scn.o)(.text+0x268): In 
function `elf_ndxscn':
: multiple definition of `elf_ndxscn'
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_ndxscn.o)(.text+0x0): 
first defined here
/usr/bin/ld: Warning: size of symbol `elf_ndxscn' changed from 25 in 
/usr/obj/usr/src/tmp/legacy/us
r/lib/libelf.a(elf_ndxscn.o) to 28 in 
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_ndxscn.o)
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_scn.o)(.text+0x284): In 
function `elf_newscn':
: multiple definition of `elf_newscn'
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_newscn.o)(.text+0x0): 
first defined here
/usr/bin/ld: Warning: size of symbol `elf_newscn' changed from 25 in 
/usr/obj/usr/src/tmp/legacy/us
r/lib/libelf.a(elf_newscn.o) to 231 in 
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_newscn.o)
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_scn.o)(.text+0x36c): In 
function `elf_nextscn':
: multiple definition of `elf_nextscn'
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_nextscn.o)(.text+0x0): 
first defined here
/usr/bin/ld: Warning: size of symbol `elf_nextscn' changed from 25 in 
/usr/obj/usr/src/tmp/legacy/u
sr/lib/libelf.a(elf_nextscn.o) to 58 in 
/usr/obj/usr/src/tmp/legacy/usr/lib/libelf.a(elf_nextscn.o)

input.o(.text+0x189): In function `count_files':
: undefined reference to `elf_getarhdr'
input.o(.text+0x5de): In function `read_archive':
: undefined reference to `elf_getarhdr'
*** Error code 1

Stop in /usr/src/cddl/usr.bin/ctfconvert.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
#


Any hints ?



Thanks,
Tofig Suleymanov
Received on Sat Apr 21 2007 - 14:01:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC