Compilation of Fiasco-1.2 quits...
Stefan Kalkowski
stefan.kalkowski at os.inf.tu-dresden.de
Tue Jan 30 13:59:04 CET 2007
I suggest you to use a more recent version of fiasco (from the cvs repository
or opentc snapshot) or to use an older version of gcc (<= 4.0), you can
choose this by doing:
make menuconfig
and choose a specific c/c++ compiler
greets stefan
On Tuesday 30 January 2007 11:30, thbach at students.uni-mainz.de wrote:
> Hi,
>
> I just tried to compile fiasco-1.2 (from the tar-ball). After doing
>
> > cd fiasco-1.2/l4/kernel/fiasco
> > make BUILDDIR=build
> > cd build
> > make
>
> It quits the compilation with the following output:
>
> ... Making startup.o
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:71: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8
> [222]’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:72: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8
> [256]’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:80: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:81: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:92: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:93: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:94: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:95: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:96: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:97: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:98: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:99: warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:100
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:103
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:104
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:105
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:106
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:107
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:108
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:109
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:110
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:111
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:120
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:121
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:122
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:123
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:124
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:125
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:126
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:127
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:128
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:129
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8’
>
> /home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/src/kern/shared/multiboot.
>h:132
>
> : warning: ‘packed’ attribute ignored for field of type ‘Unsigned8 [189]’
>
> auto/x86desc.h:34: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:35: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:44: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:45: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:46: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:47: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:54: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:55: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:63: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/x86desc.h:64: warning: ‘packed’ attribute ignored for field of type
> ‘Unsigned8’
> auto/timeout.h:42: error: extra qualification ‘Timeout::’ on member
> ‘get_first_timeout’
> auto/kmem.h: In static member function ‘static volatile Address*
> Kmem::kernel_esp()’:
> auto/kmem.h:176: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> auto/kmem_alloc.h: At global scope:
> auto/kmem_alloc.h:19: error: extra qualification ‘Kmem_alloc::’ on
> member ‘Kmem_alloc’
> auto/thread.h:84: error: extra qualification ‘Thread::’ on member
> ‘d_taskno’ auto/thread.h:90: error: extra qualification ‘Thread::’ on
> member
> ‘d_threadno’
> auto/thread.h:129: error: extra qualification ‘Thread::’ on member
> ‘associate_irq’
> auto/thread.h:130: error: extra qualification ‘Thread::’ on member
> ‘disassociate_irq’
> auto/thread.h:140: error: extra qualification ‘Thread::’ on member ‘lookup’
> auto/mapdb.h:64: warning: ‘packed’ attribute ignored for field of type
> ‘Mapping_entry’
> make[2]: *** [startup.o] Fehler 1
> make[2]: Leaving directory
> `/home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/build'
> make[1]: *** [all] Fehler 2
> make[1]: Leaving directory
> `/home/vincent/l4-src/fiasco-1.2/l4/kernel/fiasco/build'
> make: *** [all] Fehler 2
>
> Does someone know how to fix this?
>
> I'm building on Debian etch (gcc version 4.1.2) with an Intel Pentium III.
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
--
Stefan Kalkowski
TU-Dresden
Department of Computer Science
Institute for System Architecture
Operating Systems Group
Address: Noethnitzer Str. 46, 01187 Dresden
Room: 3089
Phone: +49 (351) 463-42045
Web: http://os.inf.tu-dresden.de/~sk852421/
More information about the l4-hackers
mailing list