Building FLIPS...

Martin Pohlack mp26 at os.inf.tu-dresden.de
Wed Mar 2 19:33:59 CET 2005


Tiago Jorge wrote:
> Hello again.
> i've told you... today is my day...:)
> I've downloaded linux 2.4.27 and tried to build it again but...
> 
> LD_PRELOAD=/home/tiago/l4/tool/gendep/libgendep.so 
> GENDEP_TARGET=server.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/home/tiago/drops/include/x86/l4v2 -I../../../../../include/l4v2 
> -I/home/tiago/drops/include/l4v2 -I../../../../../include/x86 
> -I/home/tiago/drops/include/x86 -I../../../../../include 
> -I/home/tiago/drops/include -I/usr/lib/gcc-lib/i486-linux/3.3.4/include 
> -gstabs+     -g -O2 -fno-strict-aliasing -march=i586 -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  
> /home/tiago/l4/pkg/flips/examples/l4lx_flips/server.c -o server.o
> In file included from 
> /home/tiago/l4/pkg/flips/examples/l4lx_flips/local.h:2,
>                 from 
> /home/tiago/l4/pkg/flips/examples/l4lx_flips/server.c:27:
> ../../../../../include/l4/l4vfs/types.h:76: warning: no semicolon at end 
> of struct or union
> ../../../../../include/l4/l4vfs/types.h:76: error: parse error before 
> '.' token
> ../../../../../include/l4/l4vfs/types.h:77: error: parse error before 
> '.' token
> ../../../../../include/l4/l4vfs/types.h:78: error: parse error before 
> '.' token
> ../../../../../include/l4/l4vfs/types.h:79: warning: type defaults to 
> `int' in declaration of `l4vfs_stat_t'
> ../../../../../include/l4/l4vfs/types.h:79: warning: data definition has 
> no type or storage class
> make[5]: ** [server.o] Erro 1
> make[5]: Saindo do diretório 
> `/home/tiago/l4/pkg/flips/examples/l4lx_flips/OBJ-x86_586-l4v2'
> make[4]: ** [OBJ-x86_586-l4v2] Erro 2
> make[4]: Saindo do diretório `/home/tiago/l4/pkg/flips/examples/l4lx_flips'
> make[3]: ** [l4lx_flips] Erro 2
> make[3]: Saindo do diretório `/home/tiago/l4/pkg/flips/examples'
> make[2]: ** [examples] Erro 2
> make[2]: Saindo do diretório `/home/tiago/l4/pkg/flips'
> make[1]: ** [flips.bin] Erro 2
> make[1]: Saindo do diretório `/home/tiago/l4/pkg'
> make: ** [pkg] Erro 2
> 
> i've changed compiler... tried gcc/g++ 2.95 and 3.3 and nothing...
> 
> whats the bug now?:P

I think I remember a similar case: "atime", "st_atime" or something like 
this was defined as a macro and accidentally applied to "l4vfs/types.h", 
probably the linux kernel?

Maybe you can skip building this example? ('touch broken' in it)

Greets,
Martin

-- 
Martin Pohlack
gpg key:     http://os.inf.tu-dresden.de/~mp26/keys/Martin_Pohlack.asc
fingerprint: 4506 2C3C F5FA 96E6 0EA4 314D A8C2 1C32 1545 8E58




More information about the l4-hackers mailing list