build report for Drops on FBSD

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Jan 11 17:43:36 CET 2005


Hi,

On Sun Jan 09, 2005 at 00:05:15 -0500, Etienne Robillard wrote:
> Here's the summary of what I've done
> to (almost) compile drops on FreeBSD 5.3-STABLE.

Thanks.

> - in l4/tool/gendep/syscall.c:
> Added #ifdef linux to wrap around missing
> <asm/unistd.h>. 
> - Added $(LDFLAGS) to l4/tool/gendep/Makefile. 
> - Told libgendep.so to link with 
> `perl -MExtUtils::Embed -e ldopts` instead of '-ldl'. 
> 
> - Needed to configure drops with cpp33 instead of
> cpp0.
> 
> - In $(OSKIT)/boot/boot_start.c, gcc complained about
> missing "" characters, so I added a bunch of them.

What's the version of "cc" on FreeBSD?

> - In $(L4DIR)/mk/Makeconf, I've added
> FIND=/usr/local/bin/gfind to avoid confusion with
> FreeBSD find (/usr/bin/find). I've told mk/include.mk
> to use $(FIND). 

Reasonable.

> Here's the latest official build-problem I've
> encountered:
> 
>  ... Compiling rmgr.o
> LD_PRELOAD=/opt/usr/local/drops/l4/tool/gendep/libgendep.so
> GENDEP_TARGET=rmgr.o GENDEP_BINARY=cpp33  gcc -c    
> -DRAM_BASE=0x0    -DSYSTEM_x86_586_l4v2 -DARCH_x86
> -DCPUTYPE_586 -DL4API_l4v2 -I../../../server/src -I.
> -I/usr/include -I../../../idl/OBJ-x86-l4v2
> -I../../../../../include/x86/l4v2
> -I/opt/usr/local/drops/include/x86/l4v2
> -I../../../../../include/l4v2
> -I/opt/usr/local/drops/include/l4v2
> -I../../../../../include/x86
> -I/opt/usr/local/drops/include/x86
> -I../../../../../include
> -I/opt/usr/local/drops/include -nostdinc
> -I../../../../../../oskit
> -I../../../../../../oskit/flux/c
> -I/opt/usr/local/drops/include/oskit06
> -I/opt/usr/local/drops/include/oskit06/flux/c
> -I/include -gstabs+     -g -O2 -fno-strict-aliasing
> -march=i586 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wmissing-declarations 
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/rmgr.c -o
> rmgr.o
> In file included from
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/exec.h:4,
>                  from
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/rmgr.c:9:
> ../../../../../../oskit/flux/machine/types.h:61:
> error: redefinition of typedef 'vm_offset_t'
> /usr/include/sys/types.h:252: error: previous
> declaration of 'vm_offset_t' washere
> ../../../../../../oskit/flux/machine/types.h:68:
> error: redefinition of typedef 'vm_size_t'
> /usr/include/sys/types.h:256: error: previous
> declaration of 'vm_size_t' was here
> In file included from
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/rmgr.c:12:
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/memmap_lock.h:
> In function `enter_memmap_functions':
> /opt/usr/local/drops/l4/pkg/rmgr/server/src/memmap_lock.h:20:
> warning: implicit declaration of function `panic'

Isn't "-nostdinc" supposed to avoid /usr/include? Why does it look
there?




Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list