From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 20:04:57 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B8AF5DC for ; Wed, 27 Mar 2013 20:04:57 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 61B2ECF1 for ; Wed, 27 Mar 2013 20:04:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UKwaf-0004UK-05 for freebsd-ports@freebsd.org; Wed, 27 Mar 2013 13:04:57 -0700 Date: Wed, 27 Mar 2013 13:04:56 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1364414696994-5799473.post@n5.nabble.com> In-Reply-To: <51534C52.9050709@gmail.com> References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <515341D8.1040908@gmail.com> <51534C52.9050709@gmail.com> Subject: grub2 with libzfs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 20:04:57 -0000 Your Makefile went pretty well for a while - config ran cleanly without any problems. >>You're compiling with gcc and use gcc46 include files? I have lang/gcc46 installed, but found that many gnu-related ports gave gcc errors. Then I found the fix like this (until gcc port is modified to correct the problem): These need to be created, because gcc looks in /usr/bin: # ln -s /usr/local/bin/gcc46 /usr/bin/gcc # ln -s /usr/local/bin/g++46 /usr/bin/g++ Back to your script, it finished config then started build but broke at geom_gettree: /gcc46 -o grub-mount util/grub_mount-grub-mount.o grub-core/kern/emu/grub_mount-hostfs.o grub-core/disk/grub_mount-host.o grub_mount-grub_fstest_init.o libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a -lintl -lfuse libgrubkern.a(libgrubkern_a-hostdisk.o): In function `grub_util_follow_gpart_up': hostdisk.c:(.text+0x78a): undefined reference to `geom_gettree' collect2: ld returned 1 exit status gmake[2]: *** [grub-mount] Error 1 gmake[2]: Leaving directory `/asp/obj/asp/git/grub2/work/grub-2.00' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/asp/obj/asp/git/grub2/work/grub-2.00' gmake: *** [all] Error 2 *** [do-build] Error code 1 Regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799473.html Sent from the freebsd-ports mailing list archive at Nabble.com.