Hi,
as I'm wanted to use the LOG server to log over the network, I changed the variable CONFIG_USE_TCPIP in the Makefile to 1. (in L4DIR/pkg/log/server/src)
I tried to follow the instructions in the documentation of the LOG server (http://os.inf.tu-dresden.de/l4env/doc/log/p_faq.html#p_faq).
So I tried to enable my driver in L4DIR/pkg/log/server/src/tcpip.c, but the file was not there! I'm pretty sure that I didn't remove it, so I guess it was not checked out... Is there a suitable file in the repository? If so, where?
I didn't really care about that, so I tried to compile it, but of course it failed.
(The error message: ==> Linking log LD_PRELOAD=/home/sirewitt/src/drops/l4/tool/gendep/libgendep.so GENDEP_TARGET=log GENDEP_BINARY=ld /usr/local/bin/gcc-2.95 -o log ../../../../../lib/x86_586/crt0.o logserver.o stuff.o flusher.o -Ttext=0x400000 -L../../../../../lib/x86_586/l4v2 -L/home/sirewitt/src/drops/drops/lib/x86_586/l4v2 -L../../../../../lib/x86_586 -L/home/sirewitt/src/drops/drops/lib/x86_586 -L../../../../../lib -L/home/sirewitt/src/drops/drops/lib -L../../../../../../oskit/lib -L/home/sirewitt/src/drops/drops/lib/oskit06 -T../../../../../lib/x86_586/main_stat.ld -static -lmain -lnames -ll4util -lparsecmdline -ll4serial -llog /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2.1/libgcc.a -static -lmain -llogserver -lnames -ll4util -lrmgr -ll4sys -nostdlib -Wl,--nostdlib -lmc -loskit_support -ll4util -lrmgr -lkern -llmm -lmc /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2.1/libgcc.a -lmc -Ttext=0x400000 -Wl,-gc-sections logserver.o(.text+0x3c9): In function `get_message': /drops/l4/pkg/log/server/src/logserver.c:204: undefined reference to `channel_get_next_fpage' logserver.o(.text+0x7b1): In function `main': /drops/l4/pkg/log/server/src/logserver.c:323: undefined reference to `channel_write' logserver.o(.text+0x7c1):/drops/l4/pkg/log/server/src/logserver.c:326: undefined reference to `channel_flush' logserver.o(.text+0x7d1):/drops/l4/pkg/log/server/src/logserver.c:329: undefined reference to `channel_close' logserver.o(.text+0x7e1):/drops/l4/pkg/log/server/src/logserver.c:336: undefined reference to `channel_open' flusher.o(.text+0xcb): In function `thread_loop': /drops/l4/pkg/log/server/src/flusher.c:105: undefined reference to `net_init' flusher.o(.text+0x16e):/drops/l4/pkg/log/server/src/flusher.c:123: undefined reference to `net_wait_for_client' flusher.o(.text+0x1bb):/drops/l4/pkg/log/server/src/flusher.c:146: undefined reference to `net_receive_check' flusher.o(.text+0x22f):/drops/l4/pkg/log/server/src/flusher.c:166: undefined reference to `client_socket' flusher.o(.text+0x38b): In function `do_flush_buffer': /drops/l4/pkg/log/server/src/flusher.c:242: undefined reference to `net_flush_buffer' collect2: ld returned 1 exit status make[3]: *** [log] Error 1 make[3]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/log/server/src/OBJ-x86_586-l4v2' make[2]: *** [OBJ-x86_586-l4v2] Error 2 make[2]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/log/server/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/log/server' make: *** [server] Error 2 )
So what do I have to do to get the net output working for the LOG server?
Thanks, Rene
Hi Rene,
we split the Log-server some time ago in a version with network support and in a version without network support. Please additionally check-out the log_net package, it contains the additional files needed and sources the rest from log. You will need OSKit1.0, build and installed. Then, just do a make in log_net/.
Regards, Jork
l4-hackers@os.inf.tu-dresden.de