Skip to Content.
Sympa Menu

freetds - Re: [freetds] Getting it to all work on HPUX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Getting it to all work on HPUX
  • Date: Mon, 9 Feb 2009 11:49:19 -0500

Frediano Ziglio wrote:
> In our configure.ac we have (note defines and -lxnet)
...

First question is, how does _XOPEN_SOURCE_EXTENDED affect your test
program? I want to know first what the requirements are.

> X/Open is used if _XOPEN_SOURCE and
> # _XOPEN_SOURCE_EXTENDED are defined. To complicate the things
> # gcc by default define _XOPEN_SOURCE_EXTENDED so define always
> # both constants and link always libxnet!

That seems like a sensible set of choices if your test program works.
Perhaps the autoconf code doesn't do what we think it does.

> But for some reason it doesn't work for Michael. Perhaps is he linking
> with -lc too ??

Perhaps. Or maybe he's *not* defining _XOPEN_SOURCE_EXTENDED when he
links his application, and the wrong library gets pulled in?

As long as FreeTDS can be demonstrated to work correctly within a properly
configured environment, we can all go home and maybe leave a note
somewhere in the docs.

It's getting late, no? ;-)

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page