build report for Drops on FBSD
Etienne Robillard
granted14 at yahoo.com
Sun Jan 9 06:05:15 CET 2005
Hi,
Here's the summary of what I've done
to (almost) compile drops on FreeBSD 5.3-STABLE.
- 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.
- 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).
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'
gmake[4]: *** [rmgr.o] Error 1
gmake[4]: Leaving directory
`/opt/usr/local/drops/l4/pkg/rmgr/server/src/OBJ-x86_586-l4v2'
gmake[3]: *** [OBJ-x86_586-l4v2] Error 2
gmake[3]: Leaving directory
`/opt/usr/local/drops/l4/pkg/rmgr/server/src'
gmake[2]: *** [src] Error 2
gmake[2]: Leaving directory
`/opt/usr/local/drops/l4/pkg/rmgr/server'
gmake[1]: *** [server] Error 2
gmake[1]: Leaving directory
`/opt/usr/local/drops/l4/pkg/rmgr'
gmake: *** [hello] Error 2
=====
JabberID: incidah (at) njs (dot) netlab (dot) cz
-----BEGIN PGP SIGNATURE-----
iD8DBQBBvMMiwi4xwWEgKqERAsAAAJ0anaSvffwamXLuJnIwH5GRsTjM1wCdGHpa
BqtF2n/eBawNURrU1t/9FDA=
=tuy/
-----END PGP SIGNATURE-----
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gendep.patch
Type: text/x-diff
Size: 395 bytes
Desc: gendep.patch
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050109/c6866ada/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gendep_makefile.patch
Type: text/x-diff
Size: 582 bytes
Desc: gendep_makefile.patch
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050109/c6866ada/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oskit_boot_bootstart.patch
Type: text/x-diff
Size: 1018 bytes
Desc: oskit_boot_bootstart.patch
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050109/c6866ada/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makeconf.patch
Type: text/x-diff
Size: 479 bytes
Desc: makeconf.patch
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050109/c6866ada/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_mk_find.patch
Type: text/x-diff
Size: 837 bytes
Desc: include_mk_find.patch
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050109/c6866ada/attachment-0004.patch>
More information about the l4-hackers
mailing list