the ipcmon compiling error

Guanghui, Cheng cheng.guanghui.ml at gmail.com
Mon Apr 19 17:19:51 CEST 2010


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:

LD_PRELOAD=/home/cheng/work/L4_DEMO/tudos/build/tool/gendep/libgendep.so
GENDEP_TARGET=ipcmon-server.o GENDEP_BINARY=cc1   gcc -m32 -c
-DLOG_TAG=\"ipcmon\"    -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/cheng/work/L4_DEMO/tudos/build/pkg/ipcmon/idl/OBJ-x86-l4v2
-I/home/cheng/work/L4_DEMO/tudos/build/include/x86/l4v2
-I/home/cheng/work/L4_DEMO/tudos/build/include/l4v2
-I/home/cheng/work/L4_DEMO/tudos/build/include/x86
-I/home/cheng/work/L4_DEMO/tudos/build/include
-I/home/cheng/work/L4_DEMO/tudos/l4/../dice/include
-I/home/cheng/work/L4_DEMO/tudos//include/x86/l4v2
-I/home/cheng/work/L4_DEMO/tudos//include/l4v2
-I/home/cheng/work/L4_DEMO/tudos//include/x86
-I/home/cheng/work/L4_DEMO/tudos//include -nostdinc
-I/home/cheng/work/L4_DEMO/tudos/build/include/x86/uclibc
-I/home/cheng/work/L4_DEMO/tudos/build/include/uclibc
-I/home/cheng/work/L4_DEMO/tudos/build/include/uclibc++
-I/home/cheng/work/L4_DEMO/tudos//include/x86/uclibc
-I/home/cheng/work/L4_DEMO/tudos//include/uclibc
-I/home/cheng/work/L4_DEMO/tudos//include/uclibc++
-I/usr/lib/gcc/i486-linux-gnu/4.4.1/include
-I/usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed -gstabs+      -g -O2
-fno-strict-aliasing  -march=i586 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  -fno-common
-fno-stack-protector
-g /home/cheng/work/L4_DEMO/tudos/build/pkg/ipcmon/idl/OBJ-x86-l4v2/ipcmon-server.c -o ipcmon-server.o
  ==> Linking ipcmon
LD_PRELOAD=/home/cheng/work/L4_DEMO/tudos/build/tool/gendep/libgendep.so
GENDEP_TARGET=ipcmon GENDEP_BINARY=ld  GENDEP_BINARY_ALT1=ld ld -m
elf_i386 -o
ipcmon /home/cheng/work/L4_DEMO/tudos/build/lib/x86_586/crt0.o
components.o capdescriptor.o capmanager.o blacklist.o whitelist.o
ipcmon-server.o -Ttext=0x1000000 --hash-style=sysv
-L/home/cheng/work/L4_DEMO/tudos/build/lib/x86_586/l4v2
-L/home/cheng/work/L4_DEMO/tudos/build/lib/x86_586
-L/home/cheng/work/L4_DEMO/tudos/build/lib
-L/home/cheng/work/L4_DEMO/tudos//lib/x86_586/l4v2
-L/home/cheng/work/L4_DEMO/tudos//lib/x86_586
-L/home/cheng/work/L4_DEMO/tudos//lib
-T/home/cheng/work/L4_DEMO/tudos/build/lib/x86_586/main_stat.ld
-lparsecmdline -static -lgeneric_ts -ll4env -ll4rm -ldm_generic -ldm_mem
-lthread -lsemaphore -llogserver_capsule -lnames -ll4util_root -ll4util
-lsigma0 -lroot -ll4env -ll4env_err -ll4rm -ldm_generic -ldm_mem
-lthread -lslab -ll4sys -luc_c++ -lc
++start.o /usr/lib/gcc/i486-linux-gnu/4.4.1/libsupc++.a -lmain
-lcxx_base -nostdlib  -luc_c -luclibc_support -u mmap_anon
-lc_be_simple_mem -lc_be_mmap -lc_be_mmap_util -lc_be_l4env_start_stop
-lc_be_minimal_log_io -luc_be_simple_sleep -ll4env -llogserver_capsule
-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'
	Thanks.
					Cheng Guanghui





More information about the l4-hackers mailing list