I've having trouble building both the C & C++ shared libraries. I get this error:
[root@server ~]# tar xvfz dmalloc-5.5.2.tgz
dmalloc-5.5.2
dmalloc-5.5.2/contrib
dmalloc-5.5.2/docs
dmalloc-5.5.2/conf.h.in
dmalloc-5.5.2/configure
dmalloc-5.5.2/dmalloc.spec
dmalloc-5.5.2/mkinstalldirs
dmalloc-5.5.2/install-sh
dmalloc-5.5.2/dmallocc.cc
dmalloc-5.5.2/dmalloc_argv_loc.h
dmalloc-5.5.2/dmalloc_argv.h
dmalloc-5.5.2/dmalloc_argv.c
dmalloc-5.5.2/settings.dist
dmalloc-5.5.2/version.h
dmalloc-5.5.2/return.h
dmalloc-5.5.2/malloc_funcs.h
dmalloc-5.5.2/dmalloc_fc_t.c
dmalloc-5.5.2/dmalloc_t.c
dmalloc-5.5.2/dmalloc_tab_loc.h
dmalloc-5.5.2/dmalloc_tab.h
dmalloc-5.5.2/dmalloc_tab.c
dmalloc-5.5.2/dmalloc_rand.h
dmalloc-5.5.2/dmalloc.h.3
dmalloc-5.5.2/dmalloc_rand.c
dmalloc-5.5.2/dmalloc_loc.h
dmalloc-5.5.2/dmalloc.h.1
dmalloc-5.5.2/dmalloc.c
dmalloc-5.5.2/malloc.c
dmalloc-5.5.2/heap.h
dmalloc-5.5.2/heap.c
dmalloc-5.5.2/error_val.h
dmalloc-5.5.2/error.h
dmalloc-5.5.2/error.c
dmalloc-5.5.2/env.h
dmalloc-5.5.2/env.c
dmalloc-5.5.2/debug_tok.h
dmalloc-5.5.2/compat.h
dmalloc-5.5.2/compat.c
dmalloc-5.5.2/chunk_loc.h
dmalloc-5.5.2/chunk.h
dmalloc-5.5.2/chunk.c
dmalloc-5.5.2/arg_check.h
dmalloc-5.5.2/arg_check.c
dmalloc-5.5.2/dmallocrc
dmalloc-5.5.2/RELEASE.html
dmalloc-5.5.2/README
dmalloc-5.5.2/NEWS
dmalloc-5.5.2/INSTALL
dmalloc-5.5.2/ChangeLog.1
dmalloc-5.5.2/config.help
dmalloc-5.5.2/configure.ac
dmalloc-5.5.2/Makefile.in
dmalloc-5.5.2/docs/TODO
dmalloc-5.5.2/docs/NOTES
dmalloc-5.5.2/docs/Manifest
dmalloc-5.5.2/docs/dmalloc.pdf
dmalloc-5.5.2/docs/dmalloc.html
dmalloc-5.5.2/docs/dmalloc.texi
dmalloc-5.5.2/contrib/README
dmalloc-5.5.2/contrib/z_os_notes
dmalloc-5.5.2/contrib/tsecs
dmalloc-5.5.2/contrib/stratus_ftx_notes
dmalloc-5.5.2/contrib/ra_info.pl
dmalloc-5.5.2/contrib/next_notes
dmalloc-5.5.2/contrib/dmalloc_summarize.pl
dmalloc-5.5.2/contrib/dmalloc.gdb
dmalloc-5.5.2/contrib/dgux_notes
dmalloc-5.5.2/contrib/dec_notes
dmalloc-5.5.2/contrib/atexit.c
dmalloc-5.5.2/contrib/aix_notes
dmalloc-5.5.2/contrib/Xmalloc.c
dmalloc-5.5.2/contrib/aix_5l_notes
[root@server ~]# cd dmalloc-5.5.2
[root@server dmalloc-5.5.2]# CFLAGS=-fPIC
[root@server dmalloc-5.5.2]# export CFLAGS
[root@server dmalloc-5.5.2]# ./configure
configure: configurations for the dmalloc library
configure: build utilities
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: WARNING: could not find C++ compiler
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking shared library link args... ld -shared --whole-archive -soname $@ -o $@.t
checking shared library extension... so
checking C++ support... disabled
checking thread support... disabled
checking shlib support... disabled
checking for size_t... yes
checking dmalloc size unsigned... yes
checking strdup macro... no
checking for mprotect... yes
checking mprotect works... yes
configure: important functionality
checking for mmap... yes
checking for sbrk... yes
checking mmap usage... yes
checking for getpagesize... yes
checking basic-block size... 12
checking for long... yes
checking size of long... 8
checking data-alignment size... 8
checking for abort... yes
checking abort safe... yes
checking return type of signal handlers... void
checking signal works... checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
yes
checking for getenv... yes
checking getenv safe... yes
checking sys/cygwin.h usability... no
checking sys/cygwin.h presence... no
checking for sys/cygwin.h... no
checking w32api/windef.h usability... no
checking w32api/windef.h presence... no
checking for w32api/windef.h... no
checking for w32api/winbase.h... no
checking for GetEnvironmentVariableA... no
checking constructor attribute... yes
checking destructor attribute... yes
checking return.h macros work... yes
checking if ident works... yes
configure: pthread particulars
checking for library containing pthread_mutex_init... none required
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking for pthread_mutex_init... yes
checking for pthread_mutex_lock... yes
checking for pthread_mutex_unlock... yes
checking pthread mutex type... pthread_mutex_t
checking pthread attribute initialization... 0
configure: functions
checking for atexit... yes
checking for on_exit... yes
checking for fork... yes
checking for gethostname... yes
checking for getpid... yes
checking for getuid... yes
checking for time... yes
checking for ctime... yes
checking for vprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for recalloc... no
checking for memalign... yes
checking for valloc... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strlen... yes
checking for strcmp... yes
checking for strcpy... yes
checking for strsep... yes
configure: various functions for argv files
checking for atoi... yes
checking for atol... yes
checking for getenv... (cached) yes
checking for strchr... (cached) yes
checking for strcmp... (cached) yes
checking for strcpy... (cached) yes
checking for strlen... (cached) yes
checking for strncmp... yes
checking for strncpy... yes
checking for strsep... (cached) yes
configure: various functions for argument checking
checking for atoi... (cached) yes
checking for atol... (cached) yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for index... yes
checking for memccpy... yes
checking for memchr... yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for rindex... yes
checking for strcasecmp... yes
checking for strcat... yes
checking for strchr... (cached) yes
checking for strcmp... (cached) yes
checking for strcpy... (cached) yes
checking for strcspn... yes
checking for strlen... (cached) yes
checking for strncasecmp... yes
checking for strncat... yes
checking for strncmp... (cached) yes
checking for strncpy... (cached) yes
checking for strpbrk... yes
checking for strrchr... (cached) yes
checking for strspn... yes
checking for strstr... yes
checking for strtok... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf.h
config.status: executing dmalloc.h.2 commands
config.status: executing settings.h commands
configure:
configure: Please check-out Makefile and conf.h to make sure that
configure: sane configuration values were a result.
configure:
configure: You may want to change values in settings.h before
configure: running 'make'.
configure:
configure: To run the basic library tests, you can execute:
configure: make light
configure: or
configure: make heavy
configure:
[root@server dmalloc-5.5.2]# make
rm -f dmalloc.h dmalloc.h.t
cat ./dmalloc.h.1 dmalloc.h.2 ./dmalloc.h.3 > dmalloc.h.t
mv dmalloc.h.t dmalloc.h
rm -f arg_check.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c arg_check.c -o ./arg_check.o
rm -f compat.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c compat.c -o ./compat.o
rm -f dmalloc_rand.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_rand.c -o ./dmalloc_rand.o
rm -f dmalloc_tab.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_tab.c -o ./dmalloc_tab.o
rm -f env.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c env.c -o ./env.o
rm -f heap.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c heap.c -o ./heap.o
rm -f chunk.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c chunk.c -o ./chunk.o
rm -f error.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c error.c -o ./error.o
rm -f malloc.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c malloc.c -o ./malloc.o
ar cr libdmalloc.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o
ranlib libdmalloc.a
rm -f dmalloc.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc.c -o ./dmalloc.o
rm -f dmalloc_argv.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_argv.c -o ./dmalloc_argv.o
rm -f dmalloc
gcc -o aout dmalloc.o dmalloc_argv.o compat.o env.o \
-L.
mv aout dmalloc
To make the thread version of the library type 'make threads'
To make the C++ version of the library type 'make cxx'
To make the shared version of the library type 'make shlib'
[root@server dmalloc-5.5.2]# make cxx
rm -f dmallocc.o
g++ -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c ./dmallocc.cc \
-o ./dmallocc.o
ar cr libdmallocxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o dmallocc.o
ranlib libdmallocxx.a
Enter 'make cxxsl' to build the cxx shared library
[root@server dmalloc-5.5.2]# make threads
rm -f chunk_th.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -DLOCK_THREADS=1 \
-c ./chunk.c -o ./chunk_th.o
rm -f error_th.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -DLOCK_THREADS=1 \
-c ./error.c -o ./error_th.o
rm -f malloc_th.o
gcc -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -DLOCK_THREADS=1 \
-c ./malloc.c -o ./malloc_th.o
ar cr libdmallocth.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o
ranlib libdmallocth.a
Enter 'make threadscxx' to build the threaded C++ library
Enter 'make threadssl' to build the threaded shared library
[root@server dmalloc-5.5.2]# make threadscxx
ar cr libdmallocthcxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk_th.o error_th.o malloc_th.o dmallocc.o
ranlib libdmallocthcxx.a
Enter 'make threadscxxsl' to build the threaded C++ shared-library
[root@server dmalloc-5.5.2]# make shlib
rm -f libdmalloc.so libdmalloc.so.t
ld -shared --whole-archive -soname libdmalloc.so -o libdmalloc.so.t libdmalloc.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o
arg_check.o: In function `_dmalloc_atoi':
arg_check.c:(.text+0x8c): multiple definition of `_dmalloc_atoi'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x8c): first defined here
arg_check.o: In function `_dmalloc_atol':
arg_check.c:(.text+0xf4): multiple definition of `_dmalloc_atol'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xf4): first defined here
arg_check.o: In function `_dmalloc_bcmp':
arg_check.c:(.text+0x15c): multiple definition of `_dmalloc_bcmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x15c): first defined here
arg_check.o: In function `_dmalloc_bcopy':
arg_check.c:(.text+0x22a): multiple definition of `_dmalloc_bcopy'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x22a): first defined here
arg_check.o: In function `_dmalloc_bzero':
arg_check.c:(.text+0x2cb): multiple definition of `_dmalloc_bzero'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x2cb): first defined here
arg_check.o: In function `_dmalloc_index':
arg_check.c:(.text+0x345): multiple definition of `_dmalloc_index'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x345): first defined here
arg_check.o: In function `_dmalloc_memccpy':
arg_check.c:(.text+0x3b4): multiple definition of `_dmalloc_memccpy'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x3b4): first defined here
arg_check.o: In function `_dmalloc_memchr':
arg_check.c:(.text+0x4a7): multiple definition of `_dmalloc_memchr'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x4a7): first defined here
arg_check.o: In function `_dmalloc_memcmp':
arg_check.c:(.text+0x51e): multiple definition of `_dmalloc_memcmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x51e): first defined here
arg_check.o: In function `_dmalloc_memcpy':
arg_check.c:(.text+0x5ec): multiple definition of `_dmalloc_memcpy'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x5ec): first defined here
arg_check.o: In function `_dmalloc_memmove':
arg_check.c:(.text+0x6f5): multiple definition of `_dmalloc_memmove'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x6f5): first defined here
arg_check.o: In function `_dmalloc_memset':
arg_check.c:(.text+0x796): multiple definition of `_dmalloc_memset'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x796): first defined here
arg_check.o: In function `_dmalloc_rindex':
arg_check.c:(.text+0x80d): multiple definition of `_dmalloc_rindex'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x80d): first defined here
arg_check.o: In function `_dmalloc_strcasecmp':
arg_check.c:(.text+0x87c): multiple definition of `_dmalloc_strcasecmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x87c): first defined here
arg_check.o: In function `_dmalloc_strcat':
arg_check.c:(.text+0x913): multiple definition of `_dmalloc_strcat'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x913): first defined here
arg_check.o: In function `_dmalloc_strchr':
arg_check.c:(.text+0x9e7): multiple definition of `_dmalloc_strchr'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x9e7): first defined here
arg_check.o: In function `_dmalloc_strcmp':
arg_check.c:(.text+0xa55): multiple definition of `_dmalloc_strcmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xa55): first defined here
arg_check.o: In function `_dmalloc_strcpy':
arg_check.c:(.text+0xaec): multiple definition of `_dmalloc_strcpy'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xaec): first defined here
arg_check.o: In function `_dmalloc_strcspn':
arg_check.c:(.text+0xb9a): multiple definition of `_dmalloc_strcspn'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xb9a): first defined here
arg_check.o: In function `_dmalloc_strlen':
arg_check.c:(.text+0xc31): multiple definition of `_dmalloc_strlen'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xc31): first defined here
arg_check.o: In function `_dmalloc_strncasecmp':
arg_check.c:(.text+0xca9): multiple definition of `_dmalloc_strncasecmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xca9): first defined here
arg_check.o: In function `_dmalloc_strncat':
arg_check.c:(.text+0xda6): multiple definition of `_dmalloc_strncat'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xda6): first defined here
arg_check.o: In function `_dmalloc_strncmp':
arg_check.c:(.text+0xe9e): multiple definition of `_dmalloc_strncmp'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xe9e): first defined here
arg_check.o: In function `_dmalloc_strncpy':
arg_check.c:(.text+0xf9b): multiple definition of `_dmalloc_strncpy'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0xf9b): first defined here
arg_check.o: In function `_dmalloc_strpbrk':
arg_check.c:(.text+0x1080): multiple definition of `_dmalloc_strpbrk'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x1080): first defined here
arg_check.o: In function `_dmalloc_strrchr':
arg_check.c:(.text+0x1117): multiple definition of `_dmalloc_strrchr'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x1117): first defined here
arg_check.o: In function `_dmalloc_strspn':
arg_check.c:(.text+0x1185): multiple definition of `_dmalloc_strspn'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x1185): first defined here
arg_check.o: In function `_dmalloc_strstr':
arg_check.c:(.text+0x121c): multiple definition of `_dmalloc_strstr'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x121c): first defined here
arg_check.o: In function `_dmalloc_strtok':
arg_check.c:(.text+0x12b3): multiple definition of `_dmalloc_strtok'
libdmalloc.a(arg_check.o):arg_check.c:(.text+0x12b3): first defined here
compat.o: In function `loc_atoul':
compat.c:(.text+0x0): multiple definition of `loc_atoul'
libdmalloc.a(compat.o):compat.c:(.text+0x0): first defined here
compat.o: In function `loc_vsnprintf':
compat.c:(.text+0x83): multiple definition of `loc_vsnprintf'
libdmalloc.a(compat.o):compat.c:(.text+0x83): first defined here
compat.o: In function `loc_snprintf':
compat.c:(.text+0xdd): multiple definition of `loc_snprintf'
libdmalloc.a(compat.o):compat.c:(.text+0xdd): first defined here
dmalloc_rand.o: In function `_dmalloc_srand':
dmalloc_rand.c:(.text+0x1a): multiple definition of `_dmalloc_srand'
libdmalloc.a(dmalloc_rand.o):dmalloc_rand.c:(.text+0x1a): first defined here
dmalloc_rand.o: In function `_dmalloc_rand':
dmalloc_rand.c:(.text+0x2f): multiple definition of `_dmalloc_rand'
libdmalloc.a(dmalloc_rand.o):dmalloc_rand.c:(.text+0x2f): first defined here
dmalloc_tab.o: In function `_dmalloc_table_clear':
dmalloc_tab.c:(.text+0xa55): multiple definition of `_dmalloc_table_clear'
libdmalloc.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xa55): first defined here
dmalloc_tab.o: In function `_dmalloc_table_insert':
dmalloc_tab.c:(.text+0xaa7): multiple definition of `_dmalloc_table_insert'
libdmalloc.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xaa7): first defined here
dmalloc_tab.o: In function `_dmalloc_table_delete':
dmalloc_tab.c:(.text+0xc14): multiple definition of `_dmalloc_table_delete'
libdmalloc.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xc14): first defined here
dmalloc_tab.o: In function `_dmalloc_table_log_info':
dmalloc_tab.c:(.text+0xd3e): multiple definition of `_dmalloc_table_log_info'
libdmalloc.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xd3e): first defined here
env.o: In function `_dmalloc_address_break':
env.c:(.text+0x117): multiple definition of `_dmalloc_address_break'
libdmalloc.a(env.o):env.c:(.text+0x117): first defined here
env.o: In function `_dmalloc_start_break':
env.c:(.text+0x17e): multiple definition of `_dmalloc_start_break'
libdmalloc.a(env.o):env.c:(.text+0x17e): first defined here
env.o: In function `_dmalloc_environ_process':
env.c:(.text+0x33b): multiple definition of `_dmalloc_environ_process'
libdmalloc.a(env.o):env.c:(.text+0x33b): first defined here
env.o: In function `_dmalloc_environ_set':
env.c:(.text+0xab3): multiple definition of `_dmalloc_environ_set'
libdmalloc.a(env.o):env.c:(.text+0xab3): first defined here
heap.o:(.bss+0x0): multiple definition of `_dmalloc_heap_low'
libdmalloc.a(heap.o):(.bss+0x0): first defined here
heap.o:(.bss+0x8): multiple definition of `_dmalloc_heap_high'
libdmalloc.a(heap.o):(.bss+0x8): first defined here
heap.o: In function `_dmalloc_heap_startup':
heap.c:(.text+0x16b): multiple definition of `_dmalloc_heap_startup'
libdmalloc.a(heap.o):heap.c:(.text+0x16b): first defined here
heap.o: In function `_dmalloc_heap_alloc':
heap.c:(.text+0x176): multiple definition of `_dmalloc_heap_alloc'
libdmalloc.a(heap.o):heap.c:(.text+0x176): first defined here
chunk.o:(.bss+0x0): multiple definition of `_dmalloc_memory_limit'
libdmalloc.a(chunk.o):(.bss+0x0): first defined here
chunk.o:(.bss+0x8): multiple definition of `_dmalloc_alloc_total'
libdmalloc.a(chunk.o):(.bss+0x8): first defined here
chunk.o: In function `_dmalloc_chunk_desc_pnt':
chunk.c:(.text+0x1e59): multiple definition of `_dmalloc_chunk_desc_pnt'
libdmalloc.a(chunk.o):chunk.c:(.text+0x1e59): first defined here
chunk.o: In function `_dmalloc_chunk_startup':
chunk.c:(.text+0x1d18): multiple definition of `_dmalloc_chunk_startup'
libdmalloc.a(chunk.o):chunk.c:(.text+0x1d18): first defined here
chunk.o: In function `_dmalloc_chunk_read_info':
chunk.c:(.text+0x1f11): multiple definition of `_dmalloc_chunk_read_info'
libdmalloc.a(chunk.o):chunk.c:(.text+0x1f11): first defined here
chunk.o: In function `_dmalloc_chunk_heap_check':
chunk.c:(.text+0x212d): multiple definition of `_dmalloc_chunk_heap_check'
libdmalloc.a(chunk.o):chunk.c:(.text+0x212d): first defined here
chunk.o: In function `_dmalloc_chunk_pnt_check':
chunk.c:(.text+0x256c): multiple definition of `_dmalloc_chunk_pnt_check'
libdmalloc.a(chunk.o):chunk.c:(.text+0x256c): first defined here
chunk.o: In function `_dmalloc_chunk_malloc':
chunk.c:(.text+0x269a): multiple definition of `_dmalloc_chunk_malloc'
libdmalloc.a(chunk.o):chunk.c:(.text+0x269a): first defined here
chunk.o: In function `_dmalloc_chunk_free':
chunk.c:(.text+0x2b02): multiple definition of `_dmalloc_chunk_free'
libdmalloc.a(chunk.o):chunk.c:(.text+0x2b02): first defined here
chunk.o: In function `_dmalloc_chunk_realloc':
chunk.c:(.text+0x3041): multiple definition of `_dmalloc_chunk_realloc'
libdmalloc.a(chunk.o):chunk.c:(.text+0x3041): first defined here
chunk.o: In function `_dmalloc_chunk_log_stats':
chunk.c:(.text+0x34c5): multiple definition of `_dmalloc_chunk_log_stats'
libdmalloc.a(chunk.o):chunk.c:(.text+0x34c5): first defined here
chunk.o: In function `_dmalloc_chunk_log_changed':
chunk.c:(.text+0x3845): multiple definition of `_dmalloc_chunk_log_changed'
libdmalloc.a(chunk.o):chunk.c:(.text+0x3845): first defined here
chunk.o: In function `_dmalloc_chunk_count_changed':
chunk.c:(.text+0x3c8f): multiple definition of `_dmalloc_chunk_count_changed'
libdmalloc.a(chunk.o):chunk.c:(.text+0x3c8f): first defined here
chunk.o: In function `_dmalloc_chunk_get_stats':
chunk.c:(.text+0x3d76): multiple definition of `_dmalloc_chunk_get_stats'
libdmalloc.a(chunk.o):chunk.c:(.text+0x3d76): first defined here
error.o:(.bss+0x0): multiple definition of `_dmalloc_address'
libdmalloc.a(error.o):(.bss+0x0): first defined here
error.o:(.bss+0x8): multiple definition of `_dmalloc_address_seen_n'
libdmalloc.a(error.o):(.bss+0x8): first defined here
error.o:(.bss+0x10): multiple definition of `_dmalloc_flags'
libdmalloc.a(error.o):(.bss+0x10): first defined here
error.o:(.bss+0x18): multiple definition of `_dmalloc_iter_c'
libdmalloc.a(error.o):(.bss+0x18): first defined here
error.o:(.bss+0x20): multiple definition of `_dmalloc_check_interval'
libdmalloc.a(error.o):(.bss+0x20): first defined here
error.o:(.bss+0x28): multiple definition of `_dmalloc_start'
libdmalloc.a(error.o):(.bss+0x28): first defined here
error.o:(.bss+0x2c): multiple definition of `_dmalloc_lock_on'
libdmalloc.a(error.o):(.bss+0x2c): first defined here
error.o:(.bss+0x30): multiple definition of `_dmalloc_aborting_b'
libdmalloc.a(error.o):(.bss+0x30): first defined here
error.o: In function `_dmalloc_open_log':
error.c:(.text+0x290): multiple definition of `_dmalloc_open_log'
libdmalloc.a(error.o):error.c:(.text+0x290): first defined here
error.o: In function `_dmalloc_ptime':
error.c:(.text+0x481): multiple definition of `_dmalloc_ptime'
libdmalloc.a(error.o):error.c:(.text+0x481): first defined here
error.o: In function `_dmalloc_reopen_log':
error.c:(.text+0x41f): multiple definition of `_dmalloc_reopen_log'
libdmalloc.a(error.o):error.c:(.text+0x41f): first defined here
error.o: In function `_dmalloc_vmessage':
error.c:(.text+0x5d7): multiple definition of `_dmalloc_vmessage'
libdmalloc.a(error.o):error.c:(.text+0x5d7): first defined here
error.o: In function `_dmalloc_die':
error.c:(.text+0x801): multiple definition of `_dmalloc_die'
libdmalloc.a(error.o):error.c:(.text+0x801): first defined here
error.o: In function `dmalloc_error':
error.c:(.text+0x91e): multiple definition of `dmalloc_error'
libdmalloc.a(error.o):error.c:(.text+0x91e): first defined here
malloc.o:(.data+0x0): multiple definition of `dmalloc_errno'
libdmalloc.a(malloc.o):(.data+0x0): first defined here
malloc.o:(.bss+0x0): multiple definition of `dmalloc_logpath'
libdmalloc.a(malloc.o):(.bss+0x0): first defined here
malloc.o: In function `dmalloc_message':
malloc.c:(.text+0x16fe): multiple definition of `dmalloc_message'
libdmalloc.a(malloc.o):malloc.c:(.text+0x16fe): first defined here
malloc.o: In function `dmalloc_shutdown':
malloc.c:(.text+0x5d5): multiple definition of `dmalloc_shutdown'
libdmalloc.a(malloc.o):malloc.c:(.text+0x5d5): first defined here
malloc.o: In function `dmalloc_malloc':
malloc.c:(.text+0x702): multiple definition of `dmalloc_malloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0x702): first defined here
malloc.o: In function `dmalloc_realloc':
malloc.c:(.text+0x967): multiple definition of `dmalloc_realloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0x967): first defined here
malloc.o: In function `dmalloc_free':
malloc.c:(.text+0xc0a): multiple definition of `dmalloc_free'
libdmalloc.a(malloc.o):malloc.c:(.text+0xc0a): first defined here
malloc.o: In function `dmalloc_strndup':
malloc.c:(.text+0xcf1): multiple definition of `dmalloc_strndup'
libdmalloc.a(malloc.o):malloc.c:(.text+0xcf1): first defined here
malloc.o: In function `dmalloc_verify_pnt_strsize':
malloc.c:(.text+0x1259): multiple definition of `dmalloc_verify_pnt_strsize'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1259): first defined here
malloc.o: In function `malloc':
malloc.c:(.text+0xe16): multiple definition of `malloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0xe16): first defined here
malloc.o: In function `calloc':
malloc.c:(.text+0xe4f): multiple definition of `calloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0xe4f): first defined here
malloc.o: In function `realloc':
malloc.c:(.text+0xe99): multiple definition of `realloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0xe99): first defined here
malloc.o: In function `recalloc':
malloc.c:(.text+0xed5): multiple definition of `recalloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0xed5): first defined here
malloc.o: In function `memalign':
malloc.c:(.text+0xf11): multiple definition of `memalign'
libdmalloc.a(malloc.o):malloc.c:(.text+0xf11): first defined here
malloc.o: In function `valloc':
malloc.c:(.text+0xf4f): multiple definition of `valloc'
libdmalloc.a(malloc.o):malloc.c:(.text+0xf4f): first defined here
malloc.o: In function `strdup':
malloc.c:(.text+0xf88): multiple definition of `strdup'
libdmalloc.a(malloc.o):malloc.c:(.text+0xf88): first defined here
malloc.o: In function `dmalloc_verify_pnt':
malloc.c:(.text+0x12d0): multiple definition of `dmalloc_verify_pnt'
libdmalloc.a(malloc.o):malloc.c:(.text+0x12d0): first defined here
malloc.o: In function `strndup':
malloc.c:(.text+0x1060): multiple definition of `strndup'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1060): first defined here
malloc.o: In function `free':
malloc.c:(.text+0x1161): multiple definition of `free'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1161): first defined here
malloc.o: In function `cfree':
malloc.c:(.text+0x1191): multiple definition of `cfree'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1191): first defined here
malloc.o: In function `dmalloc_verify':
malloc.c:(.text+0x11c1): multiple definition of `dmalloc_verify'
libdmalloc.a(malloc.o):malloc.c:(.text+0x11c1): first defined here
malloc.o: In function `malloc_verify':
malloc.c:(.text+0x1242): multiple definition of `malloc_verify'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1242): first defined here
malloc.o: In function `dmalloc_debug':
malloc.c:(.text+0x1357): multiple definition of `dmalloc_debug'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1357): first defined here
malloc.o: In function `dmalloc_debug_current':
malloc.c:(.text+0x1393): multiple definition of `dmalloc_debug_current'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1393): first defined here
malloc.o: In function `dmalloc_debug_setup':
malloc.c:(.text+0x13b6): multiple definition of `dmalloc_debug_setup'
libdmalloc.a(malloc.o):malloc.c:(.text+0x13b6): first defined here
malloc.o: In function `dmalloc_examine':
malloc.c:(.text+0x13ff): multiple definition of `dmalloc_examine'
libdmalloc.a(malloc.o):malloc.c:(.text+0x13ff): first defined here
malloc.o: In function `dmalloc_track':
malloc.c:(.text+0x1519): multiple definition of `dmalloc_track'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1519): first defined here
malloc.o: In function `dmalloc_mark':
malloc.c:(.text+0x152e): multiple definition of `dmalloc_mark'
libdmalloc.a(malloc.o):malloc.c:(.text+0x152e): first defined here
malloc.o: In function `dmalloc_memory_allocated':
malloc.c:(.text+0x1552): multiple definition of `dmalloc_memory_allocated'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1552): first defined here
malloc.o: In function `dmalloc_page_size':
malloc.c:(.text+0x1576): multiple definition of `dmalloc_page_size'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1576): first defined here
malloc.o: In function `dmalloc_count_changed':
malloc.c:(.text+0x1595): multiple definition of `dmalloc_count_changed'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1595): first defined here
malloc.o: In function `dmalloc_log_stats':
malloc.c:(.text+0x1614): multiple definition of `dmalloc_log_stats'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1614): first defined here
malloc.o: In function `dmalloc_log_unfreed':
malloc.c:(.text+0x163c): multiple definition of `dmalloc_log_unfreed'
libdmalloc.a(malloc.o):malloc.c:(.text+0x163c): first defined here
malloc.o: In function `dmalloc_log_changed':
malloc.c:(.text+0x1699): multiple definition of `dmalloc_log_changed'
libdmalloc.a(malloc.o):malloc.c:(.text+0x1699): first defined here
malloc.o: In function `dmalloc_vmessage':
malloc.c:(.text+0x16df): multiple definition of `dmalloc_vmessage'
libdmalloc.a(malloc.o):malloc.c:(.text+0x16df): first defined here
malloc.o: In function `dmalloc_get_stats':
malloc.c:(.text+0x17df): multiple definition of `dmalloc_get_stats'
libdmalloc.a(malloc.o):malloc.c:(.text+0x17df): first defined here
malloc.o: In function `dmalloc_strerror':
malloc.c:(.text+0x184a): multiple definition of `dmalloc_strerror'
libdmalloc.a(malloc.o):malloc.c:(.text+0x184a): first defined here
make: *** [libdmalloc.so] Error 1
[root@server dmalloc-5.5.2]# make cxxsl
rm -f libdmallocxx.so libdmallocxx.so.t
ld -shared --whole-archive -soname libdmallocxx.so -o libdmallocxx.so.t libdmallocxx.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o dmallocc.o
arg_check.o: In function `_dmalloc_atoi':
arg_check.c:(.text+0x8c): multiple definition of `_dmalloc_atoi'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x8c): first defined here
arg_check.o: In function `_dmalloc_atol':
arg_check.c:(.text+0xf4): multiple definition of `_dmalloc_atol'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xf4): first defined here
arg_check.o: In function `_dmalloc_bcmp':
arg_check.c:(.text+0x15c): multiple definition of `_dmalloc_bcmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x15c): first defined here
arg_check.o: In function `_dmalloc_bcopy':
arg_check.c:(.text+0x22a): multiple definition of `_dmalloc_bcopy'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x22a): first defined here
arg_check.o: In function `_dmalloc_bzero':
arg_check.c:(.text+0x2cb): multiple definition of `_dmalloc_bzero'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x2cb): first defined here
arg_check.o: In function `_dmalloc_index':
arg_check.c:(.text+0x345): multiple definition of `_dmalloc_index'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x345): first defined here
arg_check.o: In function `_dmalloc_memccpy':
arg_check.c:(.text+0x3b4): multiple definition of `_dmalloc_memccpy'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x3b4): first defined here
arg_check.o: In function `_dmalloc_memchr':
arg_check.c:(.text+0x4a7): multiple definition of `_dmalloc_memchr'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x4a7): first defined here
arg_check.o: In function `_dmalloc_memcmp':
arg_check.c:(.text+0x51e): multiple definition of `_dmalloc_memcmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x51e): first defined here
arg_check.o: In function `_dmalloc_memcpy':
arg_check.c:(.text+0x5ec): multiple definition of `_dmalloc_memcpy'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x5ec): first defined here
arg_check.o: In function `_dmalloc_memmove':
arg_check.c:(.text+0x6f5): multiple definition of `_dmalloc_memmove'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x6f5): first defined here
arg_check.o: In function `_dmalloc_memset':
arg_check.c:(.text+0x796): multiple definition of `_dmalloc_memset'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x796): first defined here
arg_check.o: In function `_dmalloc_rindex':
arg_check.c:(.text+0x80d): multiple definition of `_dmalloc_rindex'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x80d): first defined here
arg_check.o: In function `_dmalloc_strcasecmp':
arg_check.c:(.text+0x87c): multiple definition of `_dmalloc_strcasecmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x87c): first defined here
arg_check.o: In function `_dmalloc_strcat':
arg_check.c:(.text+0x913): multiple definition of `_dmalloc_strcat'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x913): first defined here
arg_check.o: In function `_dmalloc_strchr':
arg_check.c:(.text+0x9e7): multiple definition of `_dmalloc_strchr'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x9e7): first defined here
arg_check.o: In function `_dmalloc_strcmp':
arg_check.c:(.text+0xa55): multiple definition of `_dmalloc_strcmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xa55): first defined here
arg_check.o: In function `_dmalloc_strcpy':
arg_check.c:(.text+0xaec): multiple definition of `_dmalloc_strcpy'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xaec): first defined here
arg_check.o: In function `_dmalloc_strcspn':
arg_check.c:(.text+0xb9a): multiple definition of `_dmalloc_strcspn'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xb9a): first defined here
arg_check.o: In function `_dmalloc_strlen':
arg_check.c:(.text+0xc31): multiple definition of `_dmalloc_strlen'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xc31): first defined here
arg_check.o: In function `_dmalloc_strncasecmp':
arg_check.c:(.text+0xca9): multiple definition of `_dmalloc_strncasecmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xca9): first defined here
arg_check.o: In function `_dmalloc_strncat':
arg_check.c:(.text+0xda6): multiple definition of `_dmalloc_strncat'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xda6): first defined here
arg_check.o: In function `_dmalloc_strncmp':
arg_check.c:(.text+0xe9e): multiple definition of `_dmalloc_strncmp'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xe9e): first defined here
arg_check.o: In function `_dmalloc_strncpy':
arg_check.c:(.text+0xf9b): multiple definition of `_dmalloc_strncpy'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0xf9b): first defined here
arg_check.o: In function `_dmalloc_strpbrk':
arg_check.c:(.text+0x1080): multiple definition of `_dmalloc_strpbrk'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x1080): first defined here
arg_check.o: In function `_dmalloc_strrchr':
arg_check.c:(.text+0x1117): multiple definition of `_dmalloc_strrchr'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x1117): first defined here
arg_check.o: In function `_dmalloc_strspn':
arg_check.c:(.text+0x1185): multiple definition of `_dmalloc_strspn'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x1185): first defined here
arg_check.o: In function `_dmalloc_strstr':
arg_check.c:(.text+0x121c): multiple definition of `_dmalloc_strstr'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x121c): first defined here
arg_check.o: In function `_dmalloc_strtok':
arg_check.c:(.text+0x12b3): multiple definition of `_dmalloc_strtok'
libdmallocxx.a(arg_check.o):arg_check.c:(.text+0x12b3): first defined here
compat.o: In function `loc_atoul':
compat.c:(.text+0x0): multiple definition of `loc_atoul'
libdmallocxx.a(compat.o):compat.c:(.text+0x0): first defined here
compat.o: In function `loc_vsnprintf':
compat.c:(.text+0x83): multiple definition of `loc_vsnprintf'
libdmallocxx.a(compat.o):compat.c:(.text+0x83): first defined here
compat.o: In function `loc_snprintf':
compat.c:(.text+0xdd): multiple definition of `loc_snprintf'
libdmallocxx.a(compat.o):compat.c:(.text+0xdd): first defined here
dmalloc_rand.o: In function `_dmalloc_srand':
dmalloc_rand.c:(.text+0x1a): multiple definition of `_dmalloc_srand'
libdmallocxx.a(dmalloc_rand.o):dmalloc_rand.c:(.text+0x1a): first defined here
dmalloc_rand.o: In function `_dmalloc_rand':
dmalloc_rand.c:(.text+0x2f): multiple definition of `_dmalloc_rand'
libdmallocxx.a(dmalloc_rand.o):dmalloc_rand.c:(.text+0x2f): first defined here
dmalloc_tab.o: In function `_dmalloc_table_clear':
dmalloc_tab.c:(.text+0xa55): multiple definition of `_dmalloc_table_clear'
libdmallocxx.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xa55): first defined here
dmalloc_tab.o: In function `_dmalloc_table_insert':
dmalloc_tab.c:(.text+0xaa7): multiple definition of `_dmalloc_table_insert'
libdmallocxx.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xaa7): first defined here
dmalloc_tab.o: In function `_dmalloc_table_delete':
dmalloc_tab.c:(.text+0xc14): multiple definition of `_dmalloc_table_delete'
libdmallocxx.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xc14): first defined here
dmalloc_tab.o: In function `_dmalloc_table_log_info':
dmalloc_tab.c:(.text+0xd3e): multiple definition of `_dmalloc_table_log_info'
libdmallocxx.a(dmalloc_tab.o):dmalloc_tab.c:(.text+0xd3e): first defined here
env.o: In function `_dmalloc_address_break':
env.c:(.text+0x117): multiple definition of `_dmalloc_address_break'
libdmallocxx.a(env.o):env.c:(.text+0x117): first defined here
env.o: In function `_dmalloc_start_break':
env.c:(.text+0x17e): multiple definition of `_dmalloc_start_break'
libdmallocxx.a(env.o):env.c:(.text+0x17e): first defined here
env.o: In function `_dmalloc_environ_process':
env.c:(.text+0x33b): multiple definition of `_dmalloc_environ_process'
libdmallocxx.a(env.o):env.c:(.text+0x33b): first defined here
env.o: In function `_dmalloc_environ_set':
env.c:(.text+0xab3): multiple definition of `_dmalloc_environ_set'
libdmallocxx.a(env.o):env.c:(.text+0xab3): first defined here
heap.o:(.bss+0x0): multiple definition of `_dmalloc_heap_low'
libdmallocxx.a(heap.o):(.bss+0x0): first defined here
heap.o:(.bss+0x8): multiple definition of `_dmalloc_heap_high'
libdmallocxx.a(heap.o):(.bss+0x8): first defined here
heap.o: In function `_dmalloc_heap_startup':
heap.c:(.text+0x16b): multiple definition of `_dmalloc_heap_startup'
libdmallocxx.a(heap.o):heap.c:(.text+0x16b): first defined here
heap.o: In function `_dmalloc_heap_alloc':
heap.c:(.text+0x176): multiple definition of `_dmalloc_heap_alloc'
libdmallocxx.a(heap.o):heap.c:(.text+0x176): first defined here
chunk.o:(.bss+0x0): multiple definition of `_dmalloc_memory_limit'
libdmallocxx.a(chunk.o):(.bss+0x0): first defined here
chunk.o:(.bss+0x8): multiple definition of `_dmalloc_alloc_total'
libdmallocxx.a(chunk.o):(.bss+0x8): first defined here
chunk.o: In function `_dmalloc_chunk_desc_pnt':
chunk.c:(.text+0x1e59): multiple definition of `_dmalloc_chunk_desc_pnt'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x1e59): first defined here
chunk.o: In function `_dmalloc_chunk_startup':
chunk.c:(.text+0x1d18): multiple definition of `_dmalloc_chunk_startup'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x1d18): first defined here
chunk.o: In function `_dmalloc_chunk_read_info':
chunk.c:(.text+0x1f11): multiple definition of `_dmalloc_chunk_read_info'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x1f11): first defined here
chunk.o: In function `_dmalloc_chunk_heap_check':
chunk.c:(.text+0x212d): multiple definition of `_dmalloc_chunk_heap_check'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x212d): first defined here
chunk.o: In function `_dmalloc_chunk_pnt_check':
chunk.c:(.text+0x256c): multiple definition of `_dmalloc_chunk_pnt_check'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x256c): first defined here
chunk.o: In function `_dmalloc_chunk_malloc':
chunk.c:(.text+0x269a): multiple definition of `_dmalloc_chunk_malloc'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x269a): first defined here
chunk.o: In function `_dmalloc_chunk_free':
chunk.c:(.text+0x2b02): multiple definition of `_dmalloc_chunk_free'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x2b02): first defined here
chunk.o: In function `_dmalloc_chunk_realloc':
chunk.c:(.text+0x3041): multiple definition of `_dmalloc_chunk_realloc'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x3041): first defined here
chunk.o: In function `_dmalloc_chunk_log_stats':
chunk.c:(.text+0x34c5): multiple definition of `_dmalloc_chunk_log_stats'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x34c5): first defined here
chunk.o: In function `_dmalloc_chunk_log_changed':
chunk.c:(.text+0x3845): multiple definition of `_dmalloc_chunk_log_changed'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x3845): first defined here
chunk.o: In function `_dmalloc_chunk_count_changed':
chunk.c:(.text+0x3c8f): multiple definition of `_dmalloc_chunk_count_changed'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x3c8f): first defined here
chunk.o: In function `_dmalloc_chunk_get_stats':
chunk.c:(.text+0x3d76): multiple definition of `_dmalloc_chunk_get_stats'
libdmallocxx.a(chunk.o):chunk.c:(.text+0x3d76): first defined here
error.o:(.bss+0x0): multiple definition of `_dmalloc_address'
libdmallocxx.a(error.o):(.bss+0x0): first defined here
error.o:(.bss+0x8): multiple definition of `_dmalloc_address_seen_n'
libdmallocxx.a(error.o):(.bss+0x8): first defined here
error.o:(.bss+0x10): multiple definition of `_dmalloc_flags'
libdmallocxx.a(error.o):(.bss+0x10): first defined here
error.o:(.bss+0x18): multiple definition of `_dmalloc_iter_c'
libdmallocxx.a(error.o):(.bss+0x18): first defined here
error.o:(.bss+0x20): multiple definition of `_dmalloc_check_interval'
libdmallocxx.a(error.o):(.bss+0x20): first defined here
error.o:(.bss+0x28): multiple definition of `_dmalloc_start'
libdmallocxx.a(error.o):(.bss+0x28): first defined here
error.o:(.bss+0x2c): multiple definition of `_dmalloc_lock_on'
libdmallocxx.a(error.o):(.bss+0x2c): first defined here
error.o:(.bss+0x30): multiple definition of `_dmalloc_aborting_b'
libdmallocxx.a(error.o):(.bss+0x30): first defined here
error.o: In function `_dmalloc_open_log':
error.c:(.text+0x290): multiple definition of `_dmalloc_open_log'
libdmallocxx.a(error.o):error.c:(.text+0x290): first defined here
error.o: In function `_dmalloc_ptime':
error.c:(.text+0x481): multiple definition of `_dmalloc_ptime'
libdmallocxx.a(error.o):error.c:(.text+0x481): first defined here
error.o: In function `_dmalloc_reopen_log':
error.c:(.text+0x41f): multiple definition of `_dmalloc_reopen_log'
libdmallocxx.a(error.o):error.c:(.text+0x41f): first defined here
error.o: In function `_dmalloc_vmessage':
error.c:(.text+0x5d7): multiple definition of `_dmalloc_vmessage'
libdmallocxx.a(error.o):error.c:(.text+0x5d7): first defined here
error.o: In function `_dmalloc_die':
error.c:(.text+0x801): multiple definition of `_dmalloc_die'
libdmallocxx.a(error.o):error.c:(.text+0x801): first defined here
error.o: In function `dmalloc_error':
error.c:(.text+0x91e): multiple definition of `dmalloc_error'
libdmallocxx.a(error.o):error.c:(.text+0x91e): first defined here
malloc.o:(.data+0x0): multiple definition of `dmalloc_errno'
libdmallocxx.a(malloc.o):(.data+0x0): first defined here
malloc.o:(.bss+0x0): multiple definition of `dmalloc_logpath'
libdmallocxx.a(malloc.o):(.bss+0x0): first defined here
malloc.o: In function `dmalloc_message':
malloc.c:(.text+0x16fe): multiple definition of `dmalloc_message'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x16fe): first defined here
malloc.o: In function `dmalloc_shutdown':
malloc.c:(.text+0x5d5): multiple definition of `dmalloc_shutdown'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x5d5): first defined here
malloc.o: In function `dmalloc_malloc':
malloc.c:(.text+0x702): multiple definition of `dmalloc_malloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x702): first defined here
malloc.o: In function `dmalloc_realloc':
malloc.c:(.text+0x967): multiple definition of `dmalloc_realloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x967): first defined here
malloc.o: In function `dmalloc_free':
malloc.c:(.text+0xc0a): multiple definition of `dmalloc_free'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xc0a): first defined here
malloc.o: In function `dmalloc_strndup':
malloc.c:(.text+0xcf1): multiple definition of `dmalloc_strndup'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xcf1): first defined here
malloc.o: In function `dmalloc_verify_pnt_strsize':
malloc.c:(.text+0x1259): multiple definition of `dmalloc_verify_pnt_strsize'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1259): first defined here
malloc.o: In function `malloc':
malloc.c:(.text+0xe16): multiple definition of `malloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xe16): first defined here
malloc.o: In function `calloc':
malloc.c:(.text+0xe4f): multiple definition of `calloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xe4f): first defined here
malloc.o: In function `realloc':
malloc.c:(.text+0xe99): multiple definition of `realloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xe99): first defined here
malloc.o: In function `recalloc':
malloc.c:(.text+0xed5): multiple definition of `recalloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xed5): first defined here
malloc.o: In function `memalign':
malloc.c:(.text+0xf11): multiple definition of `memalign'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xf11): first defined here
malloc.o: In function `valloc':
malloc.c:(.text+0xf4f): multiple definition of `valloc'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xf4f): first defined here
malloc.o: In function `strdup':
malloc.c:(.text+0xf88): multiple definition of `strdup'
libdmallocxx.a(malloc.o):malloc.c:(.text+0xf88): first defined here
malloc.o: In function `dmalloc_verify_pnt':
malloc.c:(.text+0x12d0): multiple definition of `dmalloc_verify_pnt'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x12d0): first defined here
malloc.o: In function `strndup':
malloc.c:(.text+0x1060): multiple definition of `strndup'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1060): first defined here
malloc.o: In function `free':
malloc.c:(.text+0x1161): multiple definition of `free'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1161): first defined here
malloc.o: In function `cfree':
malloc.c:(.text+0x1191): multiple definition of `cfree'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1191): first defined here
malloc.o: In function `dmalloc_verify':
malloc.c:(.text+0x11c1): multiple definition of `dmalloc_verify'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x11c1): first defined here
malloc.o: In function `malloc_verify':
malloc.c:(.text+0x1242): multiple definition of `malloc_verify'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1242): first defined here
malloc.o: In function `dmalloc_debug':
malloc.c:(.text+0x1357): multiple definition of `dmalloc_debug'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1357): first defined here
malloc.o: In function `dmalloc_debug_current':
malloc.c:(.text+0x1393): multiple definition of `dmalloc_debug_current'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1393): first defined here
malloc.o: In function `dmalloc_debug_setup':
malloc.c:(.text+0x13b6): multiple definition of `dmalloc_debug_setup'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x13b6): first defined here
malloc.o: In function `dmalloc_examine':
malloc.c:(.text+0x13ff): multiple definition of `dmalloc_examine'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x13ff): first defined here
malloc.o: In function `dmalloc_track':
malloc.c:(.text+0x1519): multiple definition of `dmalloc_track'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1519): first defined here
malloc.o: In function `dmalloc_mark':
malloc.c:(.text+0x152e): multiple definition of `dmalloc_mark'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x152e): first defined here
malloc.o: In function `dmalloc_memory_allocated':
malloc.c:(.text+0x1552): multiple definition of `dmalloc_memory_allocated'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1552): first defined here
malloc.o: In function `dmalloc_page_size':
malloc.c:(.text+0x1576): multiple definition of `dmalloc_page_size'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1576): first defined here
malloc.o: In function `dmalloc_count_changed':
malloc.c:(.text+0x1595): multiple definition of `dmalloc_count_changed'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1595): first defined here
malloc.o: In function `dmalloc_log_stats':
malloc.c:(.text+0x1614): multiple definition of `dmalloc_log_stats'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1614): first defined here
malloc.o: In function `dmalloc_log_unfreed':
malloc.c:(.text+0x163c): multiple definition of `dmalloc_log_unfreed'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x163c): first defined here
malloc.o: In function `dmalloc_log_changed':
malloc.c:(.text+0x1699): multiple definition of `dmalloc_log_changed'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x1699): first defined here
malloc.o: In function `dmalloc_vmessage':
malloc.c:(.text+0x16df): multiple definition of `dmalloc_vmessage'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x16df): first defined here
malloc.o: In function `dmalloc_get_stats':
malloc.c:(.text+0x17df): multiple definition of `dmalloc_get_stats'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x17df): first defined here
malloc.o: In function `dmalloc_strerror':
malloc.c:(.text+0x184a): multiple definition of `dmalloc_strerror'
libdmallocxx.a(malloc.o):malloc.c:(.text+0x184a): first defined here
dmallocc.o: In function `operator delete[](void*)':
dmallocc.cc:(.text+0x0): multiple definition of `operator delete[](void*)'
libdmallocxx.a(dmallocc.o):dmallocc.cc:(.text+0x0): first defined here
dmallocc.o: In function `operator delete(void*)':
dmallocc.cc:(.text+0x2e): multiple definition of `operator delete(void*)'
libdmallocxx.a(dmallocc.o):dmallocc.cc:(.text+0x2e): first defined here
dmallocc.o: In function `operator new[](unsigned long)':
dmallocc.cc:(.text+0x5c): multiple definition of `operator new[](unsigned long)'
libdmallocxx.a(dmallocc.o):dmallocc.cc:(.text+0x5c): first defined here
dmallocc.o: In function `operator new(unsigned long)':
dmallocc.cc:(.text+0x96): multiple definition of `operator new(unsigned long)'
libdmallocxx.a(dmallocc.o):dmallocc.cc:(.text+0x96): first defined here
make: *** [libdmallocxx.so] Error 1
[root@server dmalloc-5.5.2]#
Any help would be appreciated.
Thanks.
This is old, but may be can help someone out there.
You can check this for a fix for your problem