Re: sys/boot unbuildable [solved]

From: Sean Bruno <sbruno_at_ignoranthack.me>
Date: Fri, 25 Jul 2014 10:55:08 -0700
On Tue, 2014-07-22 at 10:52 -0700, Sean Bruno wrote:
> I can't quite see what the difference in building sys/i386/loader and
> sys/i386/zfsloader is outside of the obvious zfs loader support flag.
> 

This is now fixed in head.  Thanks to Simon for the bmake assist.

sean


> But, loader will build, and zfsloader will not.  Clang will give me a
> nice error that tells me how I could fix this, but since loader builds
> fine I suspect something buildsystem related is occuring here?
> 
> cc -O2 -pipe   -DLOADER_ZFS_SUPPORT -DLOADER_NFS_SUPPORT -DBOOT_FORTH
> -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../ficl
> -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../ficl/i386
> -DLOADER_GZIP_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT
> -DLOADER_MBR_SUPPORT
> -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../common -I.
> -Wall -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/..
> -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../btx/lib
> -march=i386 -ffreestanding -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -mno-sse3 -msoft-float -m32 -std=gnu99   -Qunused-arguments
> -DLOADER_PREFER_AMD64
> -c /home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../loader/main.c
> /home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../loader/main.c:38:10: error: 'machine/bootinfo.h' file not found with <angled> include; use "quotes" instead
> #include <machine/bootinfo.h>
>          ^~~~~~~~~~~~~~~~~~~~
>          "machine/bootinfo.h"
> 1 error generated.
> *** Error code 1
> 
> Stop.
> make: stopped in /home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader
> 
> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri Jul 25 2014 - 15:55:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC