dmalloc-general Mailing List for Debug Malloc
Brought to you by:
graywatson
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Debug M. L. <dma...@li...> - 2009-06-20 20:32:52
|
I've having trouble building both the C & C++ shared libraries. These are the errors I get for the C & C++ shared libaries: [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]# [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, |
|
From: Debug M. L. <dma...@li...> - 2009-06-20 20:31:57
|
I've having trouble building both the C & C++ shared libraries. The other libaries build fine:
[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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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_W
32API_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]#
|
|
From: Debug M. L. <dma...@li...> - 2009-03-04 14:56:07
|
Hi guys? I'm using Dmalloc... my application get linked correctly I assume, seeing something like that: $ nm test.out | grep malloc 080c2da0 B _dmalloc_aborting_b 080c2dbc B _dmalloc_address 0804a650 T _dmalloc_address_break 080c2db8 B _dmalloc_address_seen_n 08051fe0 B _dmalloc_alloc_total 080c2dac B _dmalloc_check_interval 0804d600 T _dmalloc_chunk_count_changed 0804b510 T _dmalloc_chunk_desc_pnt 0804ca30 T _dmalloc_chunk_free 0804c1a0 T _dmalloc_chunk_heap_check 0804d330 T _dmalloc_chunk_log_changed 0804d090 T _dmalloc_chunk_log_stats 0804c550 T _dmalloc_chunk_malloc 0804c3e0 T _dmalloc_chunk_pnt_check 0804bfd0 T _dmalloc_chunk_read_info 0804cd20 T _dmalloc_chunk_realloc 0804bee0 T _dmalloc_chunk_startup 080497b0 T dmalloc_count_changed 08049380 T dmalloc_debug 080493b0 T dmalloc_debug_current 080498f0 T dmalloc_debug_setup 0804dcc0 T _dmalloc_die 0804a880 T _dmalloc_environ_process 0804a300 T _dmalloc_environ_set 080514a0 D dmalloc_errno 0804ddc0 T dmalloc_error 08049820 T dmalloc_examine 080c2db4 B _dmalloc_flags 08049a10 T dmalloc_free 0804add0 T _dmalloc_heap_alloc 08051fc0 B _dmalloc_heap_high 08051fc4 B _dmalloc_heap_low 0804adc0 T _dmalloc_heap_startup 08049190 t dmalloc_in 080c2db0 B _dmalloc_iter_c 080c2da4 B _dmalloc_lock_on 080496a0 T dmalloc_log_changed 08051760 B dmalloc_logpath 08049780 T dmalloc_log_stats 08049710 T dmalloc_log_unfreed 08049df0 T dmalloc_malloc 080493e0 T dmalloc_mark 08049400 T dmalloc_memory_allocated 08051fe4 B _dmalloc_memory_limit 08049450 T dmalloc_message 0804d790 T _dmalloc_open_log 08049680 t dmalloc_out 08049420 T dmalloc_page_size 0804d6c0 T _dmalloc_ptime 0804de80 T _dmalloc_rand 08049b60 T dmalloc_realloc 0804dae0 T _dmalloc_reopen_log 08049500 T dmalloc_shutdown 0804de70 T _dmalloc_srand 080c2da8 B _dmalloc_start 0804a6c0 T _dmalloc_start_break 08049050 t dmalloc_startup 0804a0d0 T dmalloc_strdup 0804a1a0 T dmalloc_strerror 0804e320 T _dmalloc_table_clear 0804e440 T _dmalloc_table_delete 0804e380 T _dmalloc_table_insert 0804e4e0 T _dmalloc_table_log_info 080493d0 T dmalloc_track 080499a0 T dmalloc_verify 08049940 T dmalloc_verify_pnt 08051738 d dmalloc_version 0804db30 T _dmalloc_vmessage 08049440 T dmalloc_vmessage 08052020 b func_malloc_c 0804a090 T malloc 08049a00 T malloc_verify Then also I set the options through command: $ dmalloc -l -V logfile -i 100 all DMALLOC_OPTIONS=debug=0xcf4ed2b,inter=100,log=logfile export DMALLOC_OPTIONS Outputed: DMALLOC_OPTIONS=debug=0xcf4ed2b,inter=100,log=logfile export DMALLOC_OPTIONS But after test running ($ ./test.out), I can't found any "logfile" -I've also tried with full path specification- $ find / -name logfile Any help?... thanks in advance!!! e-milio. |
|
From: <dma...@li...> - 2001-01-25 15:40:25
|
1 2 3 4 -- Gray Watson <gw...@ly...> |
|
From: Gray W. <gw...@ly...> - 2001-01-25 15:31:48
|
testing -- Gray Watson <gw...@ly...> |
|
From: Gray W. <gra...@25...> - 2000-05-18 03:51:38
|
1 2 3 4 |