[Bug 233862] make buildworld fails: /usr/bin/ld: error: undefined symbol: version on usr.sbin/traceroute
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 15 09:19:12 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233862
--- Comment #1 from gosha-necr at yandex.ru ---
Friends, I think thap error because of some my src.conf settings, but help me
please understand which exactly.
I'm do following, maybe that give more info:
--------------------------
cd /usr/obj/usr/src/amd64.amd64/usr.sbin/traceroute
cc -v -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -Os -pipe -march=native
-DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NET_ROUTE_H=1
-DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 -DHAVE_USLEEP=1 -DHAVE_SYS_SYSCTL_H=1
-DBYTESWAP_IP_HDR=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1
-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 -DIPSEC -DWITH_CASPER
-I/usr/src/contrib/traceroute -DNDEBUG -std=gnu99 -fstack-protector-strong
-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -o
traceroute as.o version.o traceroute.o ifaddrlist.o findsaddr-udp.o -lipsec
-lcasper -lcap_dns
--------------------------
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM
6.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
"/usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld"
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp --eh-frame-hdr -dynamic-linker
/libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o traceroute
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crt1.o
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crti.o
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crtbegin.o
-L/usr/obj/usr/src/amd64.amd64/tmp/usr/lib as.o version.o traceroute.o
ifaddrlist.o findsaddr-udp.o -lipsec -lcasper -lcap_dns -lgcc --as-needed
-lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crtend.o
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crtn.o
ld: error: undefined symbol: version
>>> referenced by traceroute.c
>>> traceroute.o:(usage)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ls
--------------------------
.depend .depend.findsaddr-udp.o .depend.traceroute.o as.o
ifaddrlist.o version.c
.depend.as.o .depend.ifaddrlist.o .depend.version.o
findsaddr-udp.o traceroute.o version.o
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list