get error when compiling fiasco-1.1 with gcc 4.1.2

Udo A. Steinberg us15 at os.inf.tu-dresden.de
Wed Sep 13 21:24:59 CEST 2006


On Wed, 13 Sep 2006 23:00:10 +0800 Zheng Da (ZD) wrote:

ZD> I got fiasco-1.1-oskit.tar.bz2.tar and fiasco-1.1.tar.bz2.tar, and unpacked
ZD> them into one directory.
ZD> I have build the kernel successfully with gcc 3.x.
ZD> But when my gcc updated to 4.1.2, I can't build the kernel at all.
ZD> The two tar-balls are unpacked to the directory /storage/soft/l4/tmp/fiasco-
ZD> 1.1
ZD> And the error I got is as follow:
ZD> make[3]: Entering directory `/storage/soft/l4/tmp/fiasco-1.1/oskit/libkern'
ZD> gcc -c -MD -DHAVE_CONFIG_H  -I. -I../libkern/x86 -I../libkern/x86/trap
ZD> -I../libkern/x86/pc -I../libkern -iquote -I.. -I.. -I../flux/c -nostdinc -g
ZD> -O2 -march=i586 -Wall  ../libkern/x86/base_cpu_init.c
ZD> In file included from ../libkern/x86/base_cpu_init.c:22:
ZD> ../flux/x86/base_trap.h:105: error: array type has incomplete element type
ZD> make[3]: *** [base_cpu_init.o] Error 1
ZD> make[3]: Leaving directory `/storage/soft/l4/tmp/fiasco-1.1/oskit/libkern'
ZD> make[2]: *** [libkern/all.MAKE] Error 2
ZD> make[2]: Leaving directory `/storage/soft/l4/tmp/fiasco-1.1/oskit'
ZD> make[1]: *** [all] Error 2
ZD> make[1]: Leaving directory `/storage/soft/l4/tmp/fiasco-1.1/oskit'
ZD> make: *** [../oskit] Error 2
ZD> Quite strange.
ZD> Does anyone compile fiasco1.1 successfully with gcc 4.x?

The Fiasco 1.1. release was almost 3 years ago. On the other hand, your
compiler is so new that it has not even been officially released yet.
It is not surprising that a bleeding-edge compiler does not build an old
piece of software.

If there is no particular reason for you to stick to Fiasco-1.1, I suggest you
upgrade to 1.2 or CVS. Or you build 1.1. with gcc-3.x series.

		- Udo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20060913/7b87e5a4/attachment.asc>


More information about the l4-hackers mailing list