Date: Mon, 3 Feb 2014 07:27:27 +0100 From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at> To: Leonard Rucker <leonard.rucker@gmail.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Building virtualbox-ose on Freebsed10 Stable failed when linking scm. Message-ID: <CAE-m3X2sA4e8=xMmqf1xe9PphSm1nV1xrcNLkaXeoitHyGG8BA@mail.gmail.com> In-Reply-To: <CANeRTV80NZQsuP1x2KHVD4ag2L5tehpzGai3XaUn10VkZ=W_Ng@mail.gmail.com> References: <CANeRTV80NZQsuP1x2KHVD4ag2L5tehpzGai3XaUn10VkZ=W_Ng@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 03.02.2014 05:04 schrieb "Leonard Rucker" <leonard.rucker@gmail.com>: > > Hey Everyone, > > When I try to build virtualbox via ports the process fails... Here are the > details: > > Link fails on the following command: > g++46 -m64 -o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmdiff.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmrw.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmstream.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmsubversion.o > -L/usr/local/lib -lpthread -lrt > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/VBox-kStuffStaticBldProg.a > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a > -lpthread -lssl -lcrypto > > Here are the link errors I'm getting: > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): > In function `rtstrConvertCached': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:200: > undefined reference to `libiconv' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:184: > undefined reference to `libiconv_open' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:244: > undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): > In function `rtStrConvertUncached': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:315: > undefined reference to `libiconv_open' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:330: > undefined reference to `libiconv' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:351: > undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:340: > undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): > In function `rtStrIconvCacheDestroy': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:115: > undefined reference to `libiconv_close' > collect2: ld returned 1 exit status > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm] > Error 1 > > If I add -liconv to the end of the link command the link succeeds. > > My question is what should I do to fix the port so I may install? > > Thanks for any help. > > Len Which FreeBSD version are you running? Was it updated from a previous version or a fresh installation?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X2sA4e8=xMmqf1xe9PphSm1nV1xrcNLkaXeoitHyGG8BA>