freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: TDSFREE on HPUX--- " There is not enough memor- y available now"
- From: James K. Lowden <jklowden AT speakeasy.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: TDSFREE on HPUX--- " There is not enough memor- y available now"
- Date: Mon, 14 Oct 2002 23:29:09 -0400
On Mon, 14 Oct 2002 21:30:49 -0400, "Strong, Mark" <m.Strong AT tnsa.com.au>
wrote:
> I was able to build it on HPUX 11.00 (providing I didn't enable
> threadsafe, have same problem with gethostbyname_r, it seems that all
> the get*_r() functions have been moved from libc to libd4r).
Mark,
If you will provide us with the necessary information and are willing to
reinstall successive snapshots, I think we can get FreeTDS working on your
system. I've been making rather rash statements lately about how FreeTDS
works with every unix and its second cousins, and I'd rather fix your
system than recant. :)
libd4r is clue #1. We'll have to add a test for that file to the inputs
that control the configure script generation. Then it will remain to be
seen if the declarations of the various _r functions match what else we've
already come across.
> Anyone, how do I add one more library to the link line, ie -ld4r,
> without mucking about too much, I checked ./configure --help, but didn't
> see an option for adding extra libs.
AFAIK, you can't, not without opening up the Makefile and adding it.
Which isn't too hard.
> Back to building it on HPUX, it builds ok, but the dblib
> unittests
> all (nearly all) core dump (this is the 0.60 version), the only version
> I have had success with (on HPUX) is 0.51 with tds version 4.2 (couldn't
> get 7.0 to work).
What flavor server are you connecting to?
Is your CPU big or little endian? It's 32-bit, yes?
Are you using GNU's cc and ld, or HP's, or a combination?
If you can provide a bt and a log of the session that dumps core on a
dblib unit test, I will examine the code for possible problems. Please
use the latest snapshot; it will make it easier to locate things.
Regards,
--jkl
-
Re: TDSFREE on HPUX--- " There is not enough memor- y available now",
Strong, Mark, 10/14/2002
- <Possible follow-up(s)>
- Re: TDSFREE on HPUX--- " There is not enough memor- y available now", James K . Lowden, 10/15/2002
Archive powered by MHonArc 2.6.24.