error in writing code for IPC servers & problem with Fiasco-UX

Bjoern Doebel doebel at os.inf.tu-dresden.de
Tue Jan 29 07:32:52 CET 2008


Hello,

[..]

> However, when I compile again my client code, I still got the same error which makes me more confused of where is actually the problem is. Here I attach the pkg archive and paste the errors that I get:
> 
> ----------------------------------------------------------------------------
> root at lucy-ubuntu:/# cd home/fiasco/l4/pkg/aes/examples/client/
> root at lucy-ubuntu:/home/fiasco/l4/pkg/aes/examples/client# make O=/home/fiasco/build/
> PWD=/home/fiasco/build/pkg/aes/examples/client/OBJ-x86_586-l4v2 make  -C /home/fiasco/build/pkg/aes/examples/client/OBJ-x86_586-l4v2 -f Makefile
> make[1]: Entering directory `/home/fiasco/build/pkg/aes/examples/client/OBJ-x86_586-l4v2'
>   ... Compiling main.o
> LD_PRELOAD=/home/fiasco/build/tool/gendep/libgendep.so GENDEP_TARGET=main.o GENDEP_BINARY=cc1   gcc -m32 -c     -DUSE_UCLIBC=y -DRAM_BASE=0x0    -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 -DCONFIG_L4_CALL_SYSCALLS -DCONFIG_L4_ABS_SYSCALLS  -I/home/fiasco/build/pkg/aes/idl/OBJ-x86-l4v2 -I/home/fiasco/build/include/x86/l4v2 -I/home/fiasco/build/include/l4v2 -I/home/fiasco/build/include/x86 -I/home/fiasco/build/include -I/home/fiasco/l4/../dice/include -I/home/drops/include/x86/l4v2 -I/home/drops/include/l4v2 -I/home/drops/include/x86 -I/home/drops/include -nostdinc -I/home/fiasco/build/include/x86/uclibc -I/home/fiasco/build/include/uclibc -I/home/fiasco/build/include/uclibc++ -I/home/drops/include/x86/uclibc -I/home/drops/include/uclibc -I/home/drops/include/uclibc++ -I/usr/lib/gcc/i486-linux-gnu/3.4.6/include -gstabs+      -g -O2 -fno-strict-aliasing  -march=i586 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -fno-common  /home/fias
co/l4/pkg/aes/examples/client/main.c -o main.o
> /home/fiasco/l4/pkg/aes/examples/client/main.c:4:51: home/fiasco/l4/pkg/aes/include/aes256.h: No such file or directory
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/home/fiasco/build/pkg/aes/examples/client/OBJ-x86_586-l4v2'
> make: *** [/home/fiasco/build/pkg/aes/examples/client/OBJ-x86_586-l4v2] Error 2
> root at lucy-ubuntu:/home/fiasco/l4/pkg/aes/examples/client#
> ----------------------------------------------------------------------------

Did you build your package's include directory before building the 
client dir?

> Second, regarding using Fiasco-UX:
> 
> I have configured, compile kernel and copied down all the binaries (fiasco, irq0, roottask, sigma0) into one folder in a way to build and use Fiasco-UX by referring to: 
> http://os.inf.tu-dresden.de/fiasco/ux/building.shtml 
> I exclude ux_con binary as it is an optional. However, this is what I get when I try to run a module:
> 
> ----------------------------------------------------------------------------
> root at lucy-ubuntu:/home/fiasco/kernel/fiasco/build-ux# ls
> fiasco  irq0  roottask  sigma0
> root at lucy-ubuntu:/home/fiasco/kernel/fiasco/build-ux# fiasco -l hello
> -bash: fiasco: command not found

It should be "./fiasco -l hello".

Bjoern




More information about the l4-hackers mailing list