sys/boot unbuildable

From: Sean Bruno <sbruno_at_ignoranthack.me>
Date: Tue, 22 Jul 2014 10:52:58 -0700
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.

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
Received on Tue Jul 22 2014 - 15:53:01 UTC

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