Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 10:52:58 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        freebsd-current <freebsd-current@FreeBSD.org>
Subject:   sys/boot unbuildable
Message-ID:  <1406051578.1063.33.camel@bruno>

next in thread | raw e-mail | index | archive | help
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






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