Adam Lackorzynski schrieb:
On Wed Aug 03, 2005 at 17:47:59 +0200, Arthur Mielimonka wrote:
I checked out L4 and tried to compile it. There are some broken packages, which don't compile:
/l4/pkg/loader/examples/fprov-l4
Builds for me. What's the problem for you?
Here is the make - output. (Does not find zlib.h):
PWD=/drops/src/l4/pkg/loader/examples/fprov-l4/OBJ-x86_586-l4v2 make -C OBJ-x86_586-l4v2 -f Makefile make[1]: Gehe in Verzeichnis »/drops/src/l4/pkg/loader/examples/fprov-l4/OBJ-x86_586-l4v2« ... Compiling main.o LD_PRELOAD=/drops/src/l4/tool/gendep/libgendep.so GENDEP_TARGET=main.o GENDEP_BINARY=cc1 gcc -c -DRAM_BASE=0x0 -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 -I../../../idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2 -I/drops/bin/include/x86/l4v2 -I../../../../../include/l4v2 -I/drops/bin/include/l4v2 -I../../../../../include/x86 -I/drops/bin/include/x86 -I../../../../../include -I/drops/bin/include -I/usr/lib/gcc-lib/i486-linux/3.3.5/include -gstabs+ -g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations /drops/src/l4/pkg/loader/examples/fprov-l4/main.c -o main.o /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:22:18: zlib.h: Datei oder Verzeichnis nicht gefunden /drops/src/l4/pkg/loader/examples/fprov-l4/main.c: In Funktion »l4fprov_file_open_component«: /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:94: error: `gzFile' undeclared (first use in this function) /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:94: error: (Each undeclared identifier is reported only once /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:94: error: for each function it appears in.) /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:94: error: Syntaxfehler before "fd" /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:119: error: `fd' undeclared (first use in this function) /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:119: Warnung: implicit declaration of function `gzopen' /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:128: Warnung: implicit declaration of function `gzread' /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:140: Warnung: implicit declaration of function `gzseek' /drops/src/l4/pkg/loader/examples/fprov-l4/main.c:147: Warnung: implicit declaration of function `gzclose' make[1]: *** [main.o] Fehler 1 make[1]: Verlasse Verzeichnis »/drops/src/l4/pkg/loader/examples/fprov-l4/OBJ-x86_586-l4v2« make: *** [OBJ-x86_586-l4v2] Fehler 2
/l4/pkg/rt_mon/examples/dope_mon /l4/pkg/rt_mon/examples/l4vfs_dope_mon/
Fixed.
These two still do not work for me. Here are the make-outputs:
PWD=/drops/src/l4/pkg/rt_mon/examples/dope_mon/OBJ-x86_586-l4v2 make -C OBJ-x86_586-l4v2 -f Makefile make[1]: Gehe in Verzeichnis »/drops/src/l4/pkg/rt_mon/examples/dope_mon/OBJ-x86_586-l4v2« ... Compiling vis.o LD_PRELOAD=/drops/src/l4/tool/gendep/libgendep.so GENDEP_TARGET=vis.o GENDEP_BINARY=cc1 gcc -c -DRAM_BASE=0x0 -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 -I+ -I../../../examples/common -I../../../examples/dope_mon -I. -I../../../idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2 -I/drops/bin/include/x86/l4v2 -I../../../../../include/l4v2 -I/drops/bin/include/l4v2 -I../../../../../include/x86 -I/drops/bin/include/x86 -I../../../../../include -I/drops/bin/include -nostdinc -I../../../../../include/dietlibc -I/drops/bin/include/dietlibc -I/usr/lib/gcc-lib/i486-linux/3.3.5/include -gstabs+ -g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations /drops/src/l4/pkg/rt_mon/examples/common/vis.c -o vis.o /drops/src/l4/pkg/rt_mon/examples/common/vis.c:26:27: l4/libvfb/vfb.h: Datei oder Verzeichnis nicht gefunden /drops/src/l4/pkg/rt_mon/examples/common/vis.c: In Funktion »vis_refresh_histogram«: /drops/src/l4/pkg/rt_mon/examples/common/vis.c:386: Warnung: implicit declaration of function `vfb_clear_screen' /drops/src/l4/pkg/rt_mon/examples/common/vis.c:391: Warnung: implicit declaration of function `vfb_fill_rect_rgb' /drops/src/l4/pkg/rt_mon/examples/common/vis.c:410: Warnung: implicit declaration of function `vfb_vbar_rgb' /drops/src/l4/pkg/rt_mon/examples/common/vis.c:418: Warnung: implicit declaration of function `vfb_vbar_rgb_f' /drops/src/l4/pkg/rt_mon/examples/common/vis.c:424: Warnung: implicit declaration of function `vfb_hbar_rgb' /drops/src/l4/pkg/rt_mon/examples/common/vis.c:430: Warnung: implicit declaration of function `vfb_draw_grid' /drops/src/l4/pkg/rt_mon/examples/common/vis.c: In Funktion »vis_create_histogram2d«: /drops/src/l4/pkg/rt_mon/examples/common/vis.c:516: Warnung: implicit declaration of function `vfb_setpixel_rgb' make[1]: *** [vis.o] Fehler 1 make[1]: Verlasse Verzeichnis »/drops/src/l4/pkg/rt_mon/examples/dope_mon/OBJ-x86_586-l4v2« make: *** [OBJ-x86_586-l4v2] Fehler 2
PWD=/drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/OBJ-x86_586-l4v2 make -C OBJ-x86_586-l4v2 -f Makefile make[1]: Gehe in Verzeichnis »/drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/OBJ-x86_586-l4v2« ... Compiling main.o LD_PRELOAD=/drops/src/l4/tool/gendep/libgendep.so GENDEP_TARGET=main.o GENDEP_BINARY=cc1 gcc -c -DRAM_BASE=0x0 -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 -I+ -I../../../examples/common -I../../../idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2 -I/drops/bin/include/x86/l4v2 -I../../../../../include/l4v2 -I/drops/bin/include/l4v2 -I../../../../../include/x86 -I/drops/bin/include/x86 -I../../../../../include -I/drops/bin/include -nostdinc -I../../../../../include/dietlibc -I/drops/bin/include/dietlibc -I/usr/lib/gcc-lib/i486-linux/3.3.5/include -gstabs+ -g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c -o main.o /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:14:27: l4/libvfb/vfb.h: Datei oder Verzeichnis nicht gefunden /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:15:29: l4/libvfb/icons.h: Datei oder Verzeichnis nicht gefunden /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c: In Funktion »create_vscreen_for_icon«: /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:193: error: Syntaxfehler before '*' token /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:196: error: `icon' undeclared (first use in this function) /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:196: error: (Each undeclared identifier is reported only once /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:196: error: for each function it appears in.) /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:196: Warnung: implicit declaration of function `vfb_icon_get_for_name' /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:204: Warnung: implicit declaration of function `vfb_icon_get_pixel' /drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/main.c:211: Warnung: implicit declaration of function `vfb_setpixel_rgb' make[1]: *** [main.o] Fehler 1 make[1]: Verlasse Verzeichnis »/drops/src/l4/pkg/rt_mon/examples/l4vfs_dope_mon/OBJ-x86_586-l4v2« make: *** [OBJ-x86_586-l4v2] Fehler 2
Bye, Arthur