the ipcmon compiling error

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed Apr 21 10:18:12 CEST 2010


On Mon Apr 19, 2010 at 23:19:51 +0800, Guanghui, Cheng wrote:
> Hello:
> 	there is an error when compiling the ipcmon with ubuntu 9.10
> with default gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 as following:
> 
> -ll4rm -ldm_generic -ldm_mem -lthread -lgeneric_ts
> -luc_c /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc_eh.a /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc.a  -luc_c -ll4sys -ll4util -luc_be_minimal_io -Ttext=0x1000000 --warn-common -gc-sections 
> /usr/lib/gcc/i486-linux-gnu/4.4.1/libsupc++.a(cp-demangle.o): In
> function `.L641':
> (.text+0x32e7): undefined reference to `__sprintf_chk'

Hmm, looks like this sprintf variant needs to be defined somewhere,
likely close to the libc. It's just sprintf with some extra sugar which
can be left out.


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list