Skip to Content.
Sympa Menu

freetds - Re: [freetds] tsql compile problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tsql compile problem
  • Date: Wed, 19 Feb 2003 20:50:56 -0600

On Wed, Feb 19, 2003 at 09:20:39PM -0500, Mark J. Lilback wrote:
> When compiling on Mac OS X, the following error happens:

> Making all in apps
> source='tsql.c' object='tsql.o' libtool=no \
> depfile='.deps/tsql.Po' tmpdepfile='.deps/tsql.TPo' \
> depmode=gcc /bin/sh ../../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DTDS70 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -DNOFREETDSCONF -c `test -f 'tsql.c' || echo
> './'`tsql.c
> tsql.c:55: header file 'nl_types.h' not found
> tsql.c:56: header file 'langinfo.h' not found
> cpp-precomp: warning: errors during smart preprocessing, retrying in basic
> mode
> make[2]: *** [tsql.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1

> Is there a check we can do to not include these?

Yes, the autoconf check for the header was even there already -- just
not being used. I've wrapped the locale.h and langinfo.h #includes; I'm
pretty sure nl_types.h doesn't need to be there at all, so I've taken it
out. I'm sure somebody'll yell if it causes problems for them in turn.
:)

Committed to HEAD. This looks like one that ought to be committed to
the release branch as well?

--
Steve Langasek
postmodern programmer

Attachment: pgpoXEBuGrAkS.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page