Skip to Content.
Sympa Menu

freetds - Re: [freetds] Status

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Martin Spott <Martin.Spott AT uni-duisburg.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Status
  • Date: Thu, 4 Nov 2004 13:17:14 +0000 (UTC)

Brian Bruns wrote:

> I'm still having problem building shared libs on AIX. static works
> fine. Switching to gnu nm didn't fix the problem, definately a
> libtool issue, but I'd like to have a workaround anyway.

Did you supply any switches on the 'configure' command ? I just took
fresh CVS, ran 'autogen.sh' and 'make' and got some shared libraries
on AIX-5.1 with GCC-3.3.2 from the "AIX toolbox":

osprey: 14:12:17 /usr/local/src/freetds> ldd ./src/tds/.libs/libtds.so.3
./src/tds/.libs/libtds.so.3
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libc.a(shr.o)


Yeah, later I run into trouble, but this is something different:

make[2]: Entering directory `/usr/local/src/freetds/src/apps'
if gcc -mcpu=604e -mtune=604e -mpowerpc-gpopt -mpowerpc-gfxopt
--DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
--I/opt/gnu/include -I/usr/local/include -I/opt/freeware/include
--D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1
--Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -O3
--MT bsqldb.o -MD -MP -MF ".deps/bsqldb.Tpo" \ c -o bsqldb.o `test -f
-'bsqldb.c' || echo './'`bsqldb.c; \
then mv -f ".deps/bsqldb.Tpo" ".deps/bsqldb.Po"; \
else rm -f ".deps/bsqldb.Tpo"; exit 1; \
fi
In file included from bsqldb.c:48:
/usr/include/regex.h:174: error: conflicting types for `regex'
/usr/include/libgen.h:42: error: previous declaration of `regex'
/usr/include/regex.h:175: error: conflicting types for `regcmp'
/usr/include/libgen.h:41: error: previous declaration of `regcmp'
make[2]: *** [bsqldb.o] Error 1


Cheers,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page