Skip to Content.
Sympa Menu

freetds - RE: [freetds] Status & AIX - does it work ??

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Status & AIX - does it work ??
  • Date: Tue, 9 Nov 2004 10:47:37 -0500

> From: Martin Spott
> Sent: Tuesday, November 09, 2004 10:04 AM
>
> "ZIGLIO, Frediano, VF-IT" wrote:
>
> > > 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
> > >
> > Fixed in CVS. Old Unix versions define these functions in libgen.h,
> > newer in regex.h. It seems that AIX define in two places but with
> > different prototypes so I replace regex code using standard C and
remove
> > regex.h include.
>
> Frankly: I am impressed! Great analysis and fix.

I guess the next time I introduce a regex dependency, I'll have to use a
better autoconf test!

> The build runs without hassle, it even does a parallel build with
> 'make -j 9' but it hangs then it comes to:
>
> ./txt2man -P FreeTDS -t FreeTDS -r ./freebcp.txt >.freebcp.1

Do you have GNU awk installed? txt2man calls 'gawk'.

> I encounter a DB-Library conflict with BerkeleyDB when configuring
with
> '--enable-sybase-compat' but I as far as I remember this option is
> already deprecated, isn't it ?

Not deprecated, specialized. That option is meant to make FreeTDS
binary-compatible with the Sybase libraries, so that it can be linked
with other binaries not available in source form. For instance, if you
had an old commercial, proprietary report-writing utility that expected
to be linked with Sybase's db-lib, it would need to see a symbol called
'dbopen'. Normally, FreeTDS doesn't export that name, because it
conflicts with dbm. But if you need it, you need it; thus the
'--enable-sybase-compat' option provides it.

--jkl

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as the intended recipient of this message, the purpose of which is to
inform and update our clients, prospects and consultants of developments
relating to our services and products, would not like to receive further
e-mail correspondence from the sender, please "reply" to the sender
indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.






Archive powered by MHonArc 2.6.24.

Top of Page