build failure and fix for typo

Julian Stecklina der_julian at
Wed Jul 6 23:21:21 CEST 2005


I tried to build fiasco on FreeBSD today using the following commands:

> cd kernel/fiasco
> gmake config
> env AWKP=awk gmake

I got as far as:
gmake srcdir=/usr/home/blitz/src/os/l4/kernel/fiasco/src -f /usr/home/
blitz/src/os/l4/kernel/fiasco/src/Makefile.sub2 all gmake[3]: Entering
directory `/usr/home/blitz/src/os/l4/kernel/fiasco/build' ... Making
kip.o g++ -c -MD -nostdinc -I/usr/home/blitz/src/os/l4/kernel/fiasco/
src/types/ia32 -I/usr/home/blitz/src/os/l4/kernel/fiasco/src/types -I/
usr/home/blitz/src/os/l4/kernel/fiasco/src/drivers/ia32 -I/usr/home/
blitz/src/os/l4/kernel/fiasco/src/drivers -I/usr/home/blitz/src/os/l4/
kernel/fiasco/src/kern/ia32 -I/usr/home/blitz/src/os/l4/kernel/fiasco/
src/kern/shared -I/usr/home/blitz/src/os/l4/kernel/fiasco/ src/kern -I/
usr/home/blitz/src/os/l4/kernel/fiasco/src/boot -I/usr/home/blitz/src/
os/l4/kernel/fiasco/src/lib/libk/ia32 -I/usr/home/b litz/src/os/l4/
kernel/fiasco/src/lib/libk -I/usr/home/blitz/src/os/l4/kernel/fiasco/
src/lib/kern/include -I/usr/home/blitz/src/os/l4/ kernel/fiasco/src/lib/
amm -I/usr/home/blitz/src/os/l4/kernel/fiasco/src/lib/gzip -I/usr/home/
blitz/src/os/l4/kernel/fiasco/src/lib/di sasm -I/usr/home/blitz/src/os/
l4/kernel/fiasco/src/lib/perfctr -I/usr/home/blitz/src/os/l4/kernel/
fiasco/src/lib/regex -I/usr/home/bl itz/src/os/l4/kernel/fiasco/src/lib/
minilibc/ia32/include -I/usr/home/blitz/src/os/l4/kernel/fiasco/src/lib/
minilibc/include -I. -Iauto -I/usr/lib//include -fno-implement-inlines
-mpreferred-stack-boundary=2 -march=i686 -mtune=pentium2 -fno-defer-pop
-freg-struct-re turn -g -Wall -W -Wformat=2 -ffunction-sections -fomit-
frame-pointer -gstabs+ -fno-rtti -fno-exceptions  -Wno-non-virtual-
dtor  -O2 - finline-limit=10000 --param large-function-insns=10000 -
fweb -frename-registers auto/ -o kip.o In file included from auto/
kip.h:6, from auto/ /usr/home/blitz/src/os/l4/kernel/fiasco/
src/types/types.h:4:20: stddef.h: No such file or directory

(some spaces have crept in due to copy&paste from xterm)

minilibc does not seem to provide stddef.h, so the one of the host
compiler is probably meant (is this correct?), but -I/usr/include//bin
seems kind of bogus. Has anyone an idea where to tweak this?

As a general remark: Hardcoded paths in the build process should be
avoided. Best example #!/bin/bash in scripts which should be replaced
by #!/usr/bin/env bash or even better #!/bin/sh for better portability.
I think the whole build process needs some kind of autoconf magic,
too, to make it less GNU/Linux dependent.

Julian Stecklina

LISP has survived for 21 years because it is an approximate local
optimum in the space of programming languages. - John McCarthy (1980)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pentium-m.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <>

More information about the l4-hackers mailing list