Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 09:19:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233862] make buildworld fails: /usr/bin/ld: error: undefined symbol: version on  usr.sbin/traceroute
Message-ID:  <bug-233862-227-s6dns9KCjA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233862-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233862-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233862

--- Comment #1 from gosha-necr@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=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -Os -pipe -march=3Dnative
-DHAVE_SYS_SELECT_H=3D1 -DHAVE_SYS_SOCKIO_H=3D1 -DHAVE_NET_ROUTE_H=3D1
-DHAVE_NET_IF_DL_H=3D1 -DHAVE_STRERROR=3D1 -DHAVE_USLEEP=3D1 -DHAVE_SYS_SYS=
CTL_H=3D1
-DBYTESWAP_IP_HDR=3D1 -DHAVE_SETLINEBUF=3D1 -DHAVE_RAW_OPTIONS=3D1
-DHAVE_SOCKADDR_SA_LEN=3D1 -DHAVE_ICMP_NEXTMTU=3D1 -DIPSEC -DWITH_CASPER
-I/usr/src/contrib/traceroute -DNDEBUG -std=3Dgnu99 -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=3D/usr/obj/usr/src/amd64.amd64/tmp --eh-frame-hdr -dynamic-linker
/libexec/ld-elf.so.1 --hash-style=3Dboth --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=
=20=20=20=20=20=20
                ifaddrlist.o            version.c
.depend.as.o            .depend.ifaddrlist.o    .depend.version.o=20
findsaddr-udp.o              traceroute.o            version.o

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233862-227-s6dns9KCjA>