Compiling the LOG server for net output

Rene Wittmann Rene.B.Wittmann at
Thu Mar 31 13:38:06 CEST 2005


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

I tried to follow the instructions in the documentation of the LOG
server (

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
  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 -L../../../../../lib
  -L/home/sirewitt/src/drops/drops/lib -L../../../../../../oskit/lib
  -T../../../../../lib/x86_586/main_stat.ld -static -lmain -lnames
  -ll4util -lparsecmdline -ll4serial -llog
  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/  -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/ -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
  logserver.o(.text+0x7b1): In function `main':
  /drops/l4/pkg/log/server/src/logserver.c:323: undefined reference to
  undefined reference to `channel_flush'
  undefined reference to `channel_close'
  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
  undefined reference to `net_wait_for_client'
  undefined reference to `net_receive_check'
  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
  collect2: ld returned 1 exit status
  make[3]: *** [log] Error 1
  make[3]: Leaving directory
  make[2]: *** [OBJ-x86_586-l4v2] Error 2
  make[2]: Leaving directory
  make[1]: *** [src] Error 2
  make[1]: Leaving directory
  make: *** [server] Error 2

So what do I have to do to get the net output working for the LOG server?

Thanks, Rene

More information about the l4-hackers mailing list