Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 23:40:45 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: cvs commit: src/sys/sys gpt.h src/lib/libstand Makefile src/sbin/gpt Makefile add.c boot.c gpt.8 gpt.c gpt.h show.c src/sys/boot/common ufsread.c src/sys/boot/i386 Makefile src/sys/boot/i386/gptboot Makefile gptboot.c gptldr.S ...
Message-ID:  <20071025233901.Y99770@fledge.watson.org>
In-Reply-To: <20071025220146.GA13705@troutmask.apl.washington.edu>
References:  <200710242133.l9OLX05K085372@repoman.freebsd.org> <20071025220146.GA13705@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 25 Oct 2007, Steve Kargl wrote:

>>   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 -DUFS1_AND_UFS2 -DSIOPR T=0x3f8 -DSIOFMT=0x3 
> -DSIOSPD=9600 -I/usr/src/sys/boot/i386/gptboot/../../common -I/usr/sr 
> c/sys/boot/i386/gptboot/../btx/lib -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 
> /usr/src/sys/boot/i386/gptboot/gptboot.c:24:30: error: machine/bootinfo.h: 
> No such file or dir ectory /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 tinfo' 
> /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 tinfo'
>
> troutmask:root[250] find /usr/src -name bootinfo.h 
> /usr/src/sys/i386/include/bootinfo.h /usr/src/sys/ia64/include/bootinfo.h 
> /usr/src/sys/pc98/include/bootinfo.h /usr/src/sys/powerpc/include/bootinfo.h
>
> So what am I missing?

I'm seeing the same problem with a cross-build of amd64 from i386--I also 
tried blowing away the object tree and it didn't appear to help.

Robert N M Watson
Computer Laboratory
University of Cambridge



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