dtrace building problems
Tofig Suleymanov
tofig at freebsd.az
Sat Apr 21 16:01:27 UTC 2007
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
More information about the freebsd-current
mailing list