Re: Getting it to all work on HPUX
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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