From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 3 14:40:12 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EE9CBC2 for ; Mon, 3 Feb 2014 14:40:12 +0000 (UTC) Received: from mail-vc0-x231.google.com (mail-vc0-x231.google.com [IPv6:2607:f8b0:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 171911E36 for ; Mon, 3 Feb 2014 14:40:12 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id if11so4689059vcb.8 for ; Mon, 03 Feb 2014 06:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JP59JIat8DskxsTqa+zWSaURfoUeS0VUn6KyGzIvtEM=; b=uvsW5rAUSlMVTEemj1u5P6jtkuUYKmzFiFbSGdGIttxWPjTktXvlt4BcuNPoTAULVk GHD99aGlEeMQeVGadNXatf5dWT0zZb2ZJEkoluBYYqgFRIIhqHsYxCQukoOBPQVm7HQB 6V+ZNO7eHvRvUT5+DCGNabM/MzysSg2b7UXSfhrkeduTfbtG0tg3T5CgxzdaprF35OEp fLBHrWeuj2fphkZW5rHrWaoeFy5EmDPBg7y1rgogh7uASX1UN9tUnz4tyjQVDbPJcPV4 o+mC5AUE6IyFDgj+DJj1Ukxs7dNvmvZABDDYtlHvyP3juxKa3pb70qadWDx4RzAol+xa MgVQ== MIME-Version: 1.0 X-Received: by 10.52.26.148 with SMTP id l20mr4295496vdg.28.1391438411043; Mon, 03 Feb 2014 06:40:11 -0800 (PST) Received: by 10.58.6.210 with HTTP; Mon, 3 Feb 2014 06:40:10 -0800 (PST) Received: by 10.58.6.210 with HTTP; Mon, 3 Feb 2014 06:40:10 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Feb 2014 06:40:10 -0800 Message-ID: Subject: Re: Building virtualbox-ose on Freebsed10 Stable failed when linking scm. From: Leonard Rucker To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 14:40:12 -0000 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" wrote: > > Am 03.02.2014 05:04 schrieb "Leonard Rucker" : > > > > 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? >