Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 16:21:47 -0400
From:      Christian Mangin <christian.mangin@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: grub2 with libzfs
Message-ID:  <515354DB.8090208@gmail.com>
In-Reply-To: <1364414696994-5799473.post@n5.nabble.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> <1364414696994-5799473.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Beeblebrox a écrit :
> 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.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

Ok, could you send me your config log ?

-- 
christian.mangin@gmail.com - PGP: C850892A




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515354DB.8090208>