Date: Mon, 3 Feb 2014 06:40:10 -0800 From: Leonard Rucker <leonard.rucker@gmail.com> To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at> Cc: freebsd-emulation@freebsd.org Subject: Re: Building virtualbox-ose on Freebsed10 Stable failed when linking scm. Message-ID: <CANeRTV8AAH1Ni4idi1AEvNAk-3N_0Xy4h0hojNbkS%2B4xxVwQSg@mail.gmail.com> In-Reply-To: <CAE-m3X2sA4e8=xMmqf1xe9PphSm1nV1xrcNLkaXeoitHyGG8BA@mail.gmail.com> References: <CANeRTV80NZQsuP1x2KHVD4ag2L5tehpzGai3XaUn10VkZ=W_Ng@mail.gmail.com> <CAE-m3X2sA4e8=xMmqf1xe9PphSm1nV1xrcNLkaXeoitHyGG8BA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I just updated from 9.2 stable to 10 stable over the weekend and rebuilt all of my other ports. The other port I am having trouble with is openjdk6 but I haven't looked into that one yet and I only mention in case it provides any clues. On Feb 2, 2014 10:27 PM, "Bernhard Fr=F6hlich" <decke@bluelife.at> wrote: > > 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.amd= 64/release/obj/scm/scm > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/obj/scm/scm.o > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/obj/scm/scmdiff.o > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/obj/scm/scmrw.o > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/obj/scm/scmstream.o > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/obj/scm/scmsubversion.o > > -L/usr/local/lib -lpthread -lrt > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/lib/RuntimeBldProg.a > > > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/lib/VBox-kStuffStaticBldProg.a > > > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/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.amd= 64/release/lib/RuntimeBldProg.a(utf8-posix.o): > > In function `rtstrConvertCached': > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:200: > > undefined reference to `libiconv' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:184: > > undefined reference to `libiconv_open' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:244: > > undefined reference to `libiconv_close' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/lib/RuntimeBldProg.a(utf8-posix.o): > > In function `rtStrConvertUncached': > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:315: > > undefined reference to `libiconv_open' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:330: > > undefined reference to `libiconv' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:351: > > undefined reference to `libiconv_close' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/r3/posix/utf8-posix.cpp:340: > > undefined reference to `libiconv_close' > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd= 64/release/lib/RuntimeBldProg.a(utf8-posix.o): > > In function `rtStrIconvCacheDestroy': > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtim= e/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.am= d64/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?CANeRTV8AAH1Ni4idi1AEvNAk-3N_0Xy4h0hojNbkS%2B4xxVwQSg>