From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 3 06:27:29 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15F09310 for ; Mon, 3 Feb 2014 06:27:29 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C751E12A0 for ; Mon, 3 Feb 2014 06:27:28 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id l6so7677324oag.35 for ; Sun, 02 Feb 2014 22:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oj5YtuCPflnJvX3X3ryLYaZ8GysJaVjTWP9YK8+XsRw=; b=CYuhP8+ip8s7/FK7rTBQOKF8FZzYJ+sTP7Ust213a1E0Km1rhKr8prVKK5Ymj0/7yH IQ70KgUXmW0Ara1ND5BkcKeuYkTUn18lYOuhlGOZ5PG30XiWR8aAip9tdWwtwbUtGCcZ h/yeMW2rg00OtywhMLnYYGG0xqkQyK0+njbFA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oj5YtuCPflnJvX3X3ryLYaZ8GysJaVjTWP9YK8+XsRw=; b=j5yceFMikVEgDeX2rpotEu/kVpTK/p7o+6O7Do0WUvR+6u702reAwbe/uOECmaRVsp ypT48/xLfDRkARS3MM717DvaaJ+BEUbtvi1o2u6foXrCJIZaUbFw3KcNJDfPphFuoE9w jGqBOoqahRVWRw5dELzLXqCfYijG7Ff4QrlrOV0ydKI+S0HI3dF+ACkcIIyB5V/7/5GU 00PYBwnWER7kmPSbNNusTTpkwoCX/mM/05hcO4MKU/ddSDGujBNbbyuL6ia9vDvuHn4A z1Q3yLQSelN3v59GQLFjOBQDUfOPUujY5aGU9ykf8uHnidoqfwGeN34goTIE+EhUs8mj 51yg== X-Gm-Message-State: ALoCoQn2PPQFOROC8Tm6td8CBX6GBZBDfjYsRirMSCSMbCANWgoQAusRN+6FnLEvr7CuSjJrad6n MIME-Version: 1.0 X-Received: by 10.183.3.102 with SMTP id bv6mr28982521obd.18.1391408848033; Sun, 02 Feb 2014 22:27:28 -0800 (PST) Received: by 10.76.144.71 with HTTP; Sun, 2 Feb 2014 22:27:27 -0800 (PST) X-Originating-IP: [46.207.180.213] Received: by 10.76.144.71 with HTTP; Sun, 2 Feb 2014 22:27:27 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Feb 2014 07:27:27 +0100 Message-ID: Subject: Re: Building virtualbox-ose on Freebsed10 Stable failed when linking scm. From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Leonard Rucker Content-Type: text/plain; charset=ISO-8859-1 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 06:27:29 -0000 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.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?