Hi, all.
 
I am trying to do a build on Centos 5 and am getting this bizarre issue which a web search shows has propped up with many other autoconf-based builds,
but which does not have an easy resolution:
 
/bin/sh ../../libtool --tag=CC   --mode=link gcc -DLIBGDK  -O2 -std=c99 -O6 -fomit-frame-pointer                        
 -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations                     -fu
nroll-loops -frerun-cse-after-loop -frerun-loop-opt -ftree-vectorize   -D_REENTRANT   -o libbat.la -rpath /root/MonetDB/l
ib  libbat_la-gdk_scanselect.lo libbat_la-gdk_scanselect_defs.lo libbat_la-gdk_batop.lo libbat_la-gdk_search.lo libbat_la
-gdk_tm.lo libbat_la-gdk_align.lo libbat_la-gdk_bbp.lo libbat_la-gdk_heap.lo libbat_la-gdk_setop.lo libbat_la-gdk_utils.l
o libbat_la-gdk_atoms.lo libbat_la-gdk_qsort.lo libbat_la-gdk_ssort.lo libbat_la-gdk_storage.lo libbat_la-gdk_bat.lo libb
at_la-gdk_delta.lo libbat_la-gdk_relop.lo libbat_la-gdk_system.lo libbat_la-gdk_value.lo libbat_la-gdk_rangejoin.lo libba
t_la-gdk_posix.lo libbat_la-gdk_logger.lo ../common/libmutils.la ../common/libstream.la  -lz   -lpthread -ldl
gcc -shared  .libs/libbat_la-gdk_scanselect.o .libs/libbat_la-gdk_scanselect_defs.o .libs/libbat_la-gdk_batop.o .libs/lib
bat_la-gdk_search.o .libs/libbat_la-gdk_tm.o .libs/libbat_la-gdk_align.o .libs/libbat_la-gdk_bbp.o .libs/libbat_la-gdk_he
ap.o .libs/libbat_la-gdk_setop.o .libs/libbat_la-gdk_utils.o .libs/libbat_la-gdk_atoms.o .libs/libbat_la-gdk_qsort.o .lib
s/libbat_la-gdk_ssort.o .libs/libbat_la-gdk_storage.o .libs/libbat_la-gdk_bat.o .libs/libbat_la-gdk_delta.o .libs/libbat_
la-gdk_relop.o .libs/libbat_la-gdk_system.o .libs/libbat_la-gdk_value.o .libs/libbat_la-gdk_rangejoin.o .libs/libbat_la-g
dk_posix.o .libs/libbat_la-gdk_logger.o  -Wl,--rpath -Wl,/var/tmp/test/MonetDB/MonetDB/src/common/.libs -Wl,--rpath -Wl,/
root/MonetDB/lib -L/var/tmp/test/MonetDB/MonetDB/src/common/.libs ../common/.libs/libmutils.so ../common/.libs/libstream.
so -lz -lpthread -ldl  -Wl,-soname -Wl,libbat.so.0 -o .libs/libbat.so.0.0.0
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strcspn_c1':
gdk_scanselect_defs.c:(.text+0x0): multiple definition of `__strcspn_c1'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0x0): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strcspn_c2':
gdk_scanselect_defs.c:(.text+0x34): multiple definition of `__strcspn_c2'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0x34): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strcspn_c3':
gdk_scanselect_defs.c:(.text+0x78): multiple definition of `__strcspn_c3'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0x78): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strspn_c1':
gdk_scanselect_defs.c:(.text+0xd4): multiple definition of `__strspn_c1'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0xd4): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strspn_c2':
gdk_scanselect_defs.c:(.text+0xf0): multiple definition of `__strspn_c2'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0xf0): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strspn_c3':
gdk_scanselect_defs.c:(.text+0x108): multiple definition of `__strspn_c3'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0x108): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strpbrk_c2':
gdk_scanselect_defs.c:(.text+0x128): multiple definition of `__strpbrk_c2'
.libs/libbat_la-gdk_scanselect.o:gdk_scanselect.c:(.text+0x128): first defined here
.libs/libbat_la-gdk_scanselect_defs.o: In function `__strpbrk_c3':
 
[... and so ad nauseam, containing redefinitions of amy low level LibC functions like toupper, tolower, fstat, et cetera. ]
 
What do I do to dodge this?
 
Thanks, all

 
Denham Quantitative Management LP
200 Clarendon Street, 25th Floor
Boston, MA 02216
T: 617-587-5812
M: 617-909-7786
omri.schwarz@denhamcapital.com
 




NOTICE: This e-mail message is intended for the named recipient(s) above and
may contain confidential information. If you are not the intended recipient, you
are hereby notified that any dissemination, distribution, or copying of this e-mail
and any attachment(s) is strictly prohibited. If you have received this e-mail in
error, please immediately notify the sender by replying to this e-mail and delete
the message and any attachment(s) from your system. NO REPRESENTATION
OR WARRANTY IS MADE TO ANY PERSON AS TO THE ACCURACY
OR COMPLETENESS OF THE INFORMATION CONTAINED HEREIN.

Denham Capital Management(sm) is a trademark of Denham Capital Management LP.