[OpenVCP] compile bugs?!

Daniel daniel at ipv6-network.de
Wed Jan 24 13:09:43 UTC 2007


Hi all,

when i compile the openvcpd deamon i get following error:

andrew:~/openvcpd-0.2-rc2# make
gcc -lvserver  -g -O2 -DPACKAGE_NAME=\"openvcpd\" -DPACKAGE_TARNAME=\"openvcpd\" -DPACKAGE_VERSION=\"0.2\ rc2\" -DPACKAGE_STRING=\"openvcpd\ 0.2\ rc2\" -DPACKAGE_BUGREPORT=\"gerrit at t4a.net\" -DHAVE_LIBVSERVER=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DCLOSEDIR_VOID=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=0 -Drealloc=rpl_realloc -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1 -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\) -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\) -DRETSIGTYPE=void -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1  -DOPENVCP_CONFIG=\"/usr/local/etc/openvcpd.conf\" -DOPENVCP_DATA=\"/usr/local/share/openvcpd\" -Ilib/ -Isrc/ -o openvcpd src/main.c src/misc.o src/node.o src/traffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o
/tmp/ccJAsbyc.o(.text+0x7bc): In function `handle_request':
src/main.c:416: undefined reference to `rpl_malloc'
/tmp/ccJAsbyc.o(.text+0x90b):src/main.c:420: undefined reference to `rpl_malloc'
src/misc.o(.text+0x72): In function `ovcp_readline':
src/misc.c:82: undefined reference to `rpl_realloc'
src/misc.o(.text+0x2be): In function `exec_cmd':
src/misc.c:201: undefined reference to `rpl_realloc'
src/misc.o(.text+0x3e5): In function `exec_cmdv':
src/misc.c:265: undefined reference to `rpl_realloc'
src/misc.o(.text+0x464):src/misc.c:285: undefined reference to `rpl_realloc'
src/misc.o(.text+0x68e): In function `parse_ips':
src/misc.c:340: undefined reference to `rpl_realloc'
src/node.o(.text+0xad):src/node.c:62: more undefined references to `rpl_realloc' follow
src/node.o(.text+0x21a): In function `node_get_images':
src/node.c:135: undefined reference to `rpl_malloc'
src/traffic.o(.text+0x1f8): In function `parse_vserver_traffic':
src/traffic.c:84: undefined reference to `rpl_realloc'
src/setup.o(.text+0x185): In function `setup_config':
src/setup.c:71: undefined reference to `rpl_malloc'
src/setup.o(.text+0x389):src/setup.c:105: undefined reference to `rpl_malloc'
src/setup.o(.text+0x3ca):src/setup.c:77: undefined reference to `rpl_malloc'
src/setup.o(.text+0x63d): In function `setup_image':
src/setup.c:186: undefined reference to `rpl_malloc'
src/setup.o(.text+0x858):src/setup.c:195: undefined reference to `rpl_malloc'
src/set.o(.text+0x9a):src/set.c:61: more undefined references to `rpl_malloc' follow
src/get.o(.text+0x65b): In function `get_ips':
src/get.c:192: undefined reference to `rpl_realloc'
src/get.o(.text+0x7b8):src/get.c:179: undefined reference to `rpl_malloc'
src/get.o(.text+0x7e9):src/get.c:177: undefined reference to `rpl_malloc'
src/get.o(.text+0x81e):src/get.c:175: undefined reference to `rpl_malloc'
src/get.o(.text+0x853):src/get.c:173: undefined reference to `rpl_malloc'
src/get.o(.text+0x8b1):src/get.c:257: undefined reference to `rpl_malloc'
src/get.o(.text+0x94c):src/get.c:277: more undefined references to `rpl_malloc' follow
src/request.o(.text+0x28b): In function `vserver_list':
src/request.c:120: undefined reference to `rpl_realloc'
src/request.o(.text+0x2ef):src/request.c:141: undefined reference to `rpl_malloc'
src/request.o(.text+0x718): In function `vserver_get':
src/request.c:230: undefined reference to `rpl_malloc'
src/request.o(.text+0x74b):src/request.c:227: undefined reference to `rpl_malloc'
src/request.o(.text+0x83b): In function `vserver_traffic':
src/request.c:331: undefined reference to `rpl_malloc'
src/request.o(.text+0x994):src/request.c:348: undefined reference to `rpl_realloc'
src/request.o(.text+0xa74):src/request.c:360: undefined reference to `rpl_realloc'
src/request.o(.text+0xb04):src/request.c:368: undefined reference to `rpl_malloc'
src/request.o(.text+0xb38):src/request.c:314: undefined reference to `rpl_malloc'
src/request.o(.text+0xbb8): In function `vserver_setup':
src/request.c:396: undefined reference to `rpl_malloc'
src/request.o(.text+0xc11):src/request.c:399: undefined reference to `rpl_malloc'
src/request.o(.text+0xcff): In function `vserver_remove':
src/request.c:441: undefined reference to `rpl_malloc'
src/request.o(.text+0xdb8):src/request.c:445: more undefined references to `rpl_malloc' follow
lib/fs.o(.text+0x45c): In function `file_read':
lib/fs.c:214: undefined reference to `rpl_realloc'
lib/fs.o(.text+0x4f2): In function `readline':
lib/fs.c:244: undefined reference to `rpl_realloc'
lib/strings.o(.text+0x5e): In function `split_string':
lib/strings.c:46: undefined reference to `rpl_realloc'
lib/strings.o(.text+0x76):lib/strings.c:47: undefined reference to `rpl_malloc'
lib/strings.o(.text+0x14d): In function `concat':
lib/strings.c:97: undefined reference to `rpl_malloc'
lib/strings.o(.text+0x185):lib/strings.c:105: undefined reference to `rpl_realloc'
lib/strings.o(.text+0x22b): In function `string_append':
lib/strings.c:150: undefined reference to `rpl_realloc'
lib/strings.o(.text+0x2f1): In function `dec2str':
lib/strings.c:200: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make: *** [openvcpd] Fehler 1




Any hints?


-- 
greetz daniel



More information about the OpenVCP mailing list