cvs-src Digest, Vol 51, Issue 36

Sparrevohn, Thomas thomas.sparrevohn at
Fri Oct 26 07:54:03 PDT 2007

There is missing a "-I. " the gptpart/Makefile so it does not pickup the

-----Original Message----- 
To: John Baldwin <jhb at>
Cc: cvs-src at, src-committers at,
	cvs-all at
Message-ID: <20071025220146.GA13705 at>
Content-Type: text/plain; charset=us-ascii

On Wed, Oct 24, 2007 at 09:33:00PM +0000, John Baldwin wrote:
> jhb         2007-10-24 21:33:00 UTC
>   FreeBSD src repository
>   Modified files:
>     sys/sys              gpt.h 
>     lib/libstand         Makefile 
>     sbin/gpt             Makefile add.c gpt.8 gpt.c gpt.h show.c 
>     sys/boot/common      ufsread.c 
>     sys/boot/i386        Makefile 
>     sys/boot/i386/gptboot Makefile gptboot.c 
>     sys/boot/i386/libi386 biosdisk.c devicename.c 
>     sys/geom/part        g_part.c g_part.h g_part_gpt.c 
>   Added files:
>     sbin/gpt             boot.c 
>     sys/boot/i386/gptboot gptldr.S 
>     sys/boot/i386/pmbr   Makefile pmbr.s 
>   Log:

I pulled sources via anoncvs about an hour ago.
rm -rf /usr/obj/*
cd /usr/src
make buildworld

cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer
-fno-unit-at-a-time  -mno-align-l
ong-strings  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
T=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600
-I/usr/src/sys/boot/i386/gptboot/../../common  -I/usr/sr
-I/usr/src/sys/boot/i386/gptboot/../boot2  -Wall -Waggrega
te-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations
-Wmissing-prototypes -Wnest
ed-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
-Winline --param max
-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno
-sse -mno-sse2 -mno-sse3 -m32 -march=i386  -c
/usr/src/sys/boot/i386/gptboot/gptboot.c:24:30: error:
machine/bootinfo.h: No such file or dir
/usr/src/sys/boot/i386/gptboot/gptboot.c: In function 'main':
/usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: invalid use of
undefined type 'struct boo
/usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: 'BOOTINFO_VERSION'
undeclared (first use 
in this function)
/usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: (Each undeclared
identifier is reported o
nly once
/usr/src/sys/boot/i386/gptboot/gptboot.c:243: error: for each function
it appears in.)
/usr/src/sys/boot/i386/gptboot/gptboot.c:244: error: invalid use of
undefined type 'struct boo

troutmask:root[250] find /usr/src -name bootinfo.h

So what am I missing?


More information about the cvs-src mailing list