freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: TDSFREE on HPUX--- " There is not enough memor - y available now"
- From: "Strong, Mark" <m.Strong AT tnsa.com.au>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: TDSFREE on HPUX--- " There is not enough memor - y available now"
- Date: Tue, 15 Oct 2002 16:29:36 +1000
James,
I'll install whatever, because as you say it would be nice to have
it working on all unixs (including HPUX).
I added LIBS="-ld4r $LIBS" up near the top of the configure script, and now
the configure script seems to be able to work out the correct prototypes for
the three get*_r() functions, and will now compile with the
--enable-threadsafe switch (still have some core dumps in dblib unittests,
strangely enough less of them).
Here is a piece of the man page for the functions in HPUX
------------------------------------------------------------
need to include /usr/include/netdb.h.
OBSOLESCENT INTERFACES
int gethostent_r(struct hostent *result,
struct hostent_data *buffer);
int gethostbyname_r(const char *name,
struct hostent *result,
struct hostent_data *buffer);
int gethostbyaddr_r(const char *addr,
int len,
int type,
struct hostent *result,
struct hostent_data *buffer);
int sethostent_r(int stayopen, struct hostent_data *buffer);
int endhostent_r(struct hostent_data *buffer);
The above reentrant interfaces have been moved from libc to libd4r.
----------------------------------------------------------------------
>What flavor server are you connecting to?
MSSQL 7 (with SP3)
>Is your CPU big or little endian? It's 32-bit, yes?
big endian, I think its 32-bit
>Are you using GNU's cc and ld, or HP's, or a combination?
gcc and HP's linker
>If you can provide a bt and a log of the session that dumps core
a bt ???, logging turns on with an environment var doesn't it ?
>use the latest snapshot
vasprintf.c: In function `vasprintf':
vasprintf.c:93: parse error at end of input
gmake[2]: *** [vasprintf.lo] Error 1
gmake[2]: Leaving directory `/home/mstrong/freetds-0.60/src/replacements'
This is from the freetds-current.tgz (not having a good run am I).
I'll make a log as soon as I figure out how.
Mark.
-----Original Message-----
From: James K. Lowden [mailto:jklowden AT speakeasy.org]
Sent: Tuesday, 15 October 2002 13:29
To: TDS Development Group
Subject: [freetds] Re: TDSFREE on HPUX--- " There is not enough memor- y
available now"
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
---
You are currently subscribed to freetds as: [m.Strong AT tnsa.com.au]
To unsubscribe, forward this message to
$subst('Email.Unsub')
begin 600 winmail.dat
M>)\^(B8&`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````T@<*``\`
M$``=`"0``@!%`0$@@`,`#@```-('"@`/`!``'0`D``(`10$!"8`!`"$```!"
M0C(W0T1#-$5&,C(U1#0Q.4,P0C@S,D1!-4$W-C,R-`!$!P$$@`$`6````%)%
M.B!;9G)E971D<UT@4F4Z(%1$4T92144@;VX@2%!56"TM+2`@(B!4:&5R92!I
M<R!N;W0@96YO=6=H(&UE;6]R+2`@("`@>2!A=F%I;&%B;&4@;F]W(@`G&P$-
M@`0``@````(``@`!`Y`&`#`/```L````"P`"``$````#`"X``````$``.0!0
M?G<[%'3"`1X`<``!````5````%MF<F5E=&1S72!293H@5$131E)%12!O;B!(
M4%58+2TM("`B(%1H97)E(&ES(&YO="!E;F]U9V@@;65M;W(M("`@("!Y(&%V
M86EL86)L92!N;W<B``(!<0`!````&P````'"=`-'K7%:'<6Z@4:XO_8',K#K
MH5\``KAA4``>`#%``0````@```!35%)/3D=-``,`&D``````'@`P0`$````(
M````4U123TY'30`#`!E```````(!"1`!````2@H``$8*``"Q$P``3%I&=2X!
MDX$#``H`<F-P9S$R->(R`T-T97@%00$#`??_"H`"I`/D!Q,"@`_S`%`$5C\(
M50>R$24.40,!`@!C:.$*P'-E=#(&``;#$27V,P1&$[<P$BP1,PCO"?>V.Q@?
M#C`U$2(,8&,`4#,+"0%D,S864`NF($HZ80>!+`JB"H$!D2!);"=L`R`+@',!
MD!XA=XL3X`ZP=@20+"!B!9"D8744$"!A!"!Y"&"P('-A>1Y`!4!W"&!4;&0?
M82`#`&,?T'2<;R`3X!\@()1R:PN`7&<@`B`?X!XA=0,`>%4$("@+@&,*0&0B
MHDA@4%58*2X=51UC20T?X&0!`"$03$E"4Z@](BTA`#0%P"0F`BHB(T!P(5!E
M"L%T:#,ADB=`;V8GHP6@;F;\:6<(<!_0!/0?4`!P(1`\;F\'X"AO!2(4$&5M
M[P0@(;$A,0&@;"&3(F(BT%9U!4`J1'(8(&,%0'#C`V`AL'1Y<`>1`A`GE1)H
M"=$@9Q0@*E]RW"@I+L`C4"WP:0(@'3"?*;,#\!XA*@(%H&UP`Q#/']`#\">P
M)Z,M+0GP+%+N+2]2):`@8&8I(3)!$]#O(Z`><#%"(>-S`W`M@Q_0?&1U,>`$
M(`N`-=`"8&EO'>`C40)`!Y!T,,$><'*[`'`OL&P@@`GP"&!G,G#7+'`$$2@T
M;22L2`20(A']!"!A+A`(D"&!*#4#@@JP_R^P+L<P1S8R)&(=5#+0/C__/T]`
M7T#5'50G8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?P=T`X"&0E6PS@M\@@#'!']$%`&Z0
M<]_AQ7S\06X@("=@R]$J$90@A*'_[7+\@=(!*1$VD3>@H7'O!?^+8HM2R\$(
MD#+`)G(=1<8P^S)"+2)M&M`BD^,$(;`AP'T!86B$DA/0!9"+D"$0+LXO**@R
MT"?`;'`?42TQ_\GDQ=8KD9+B*`"8P^XB):&_(J(.P3>@=.+[,"3*049P_$E+
M@S&,U)1P'U"GD@#F_VK"(J(G,2>RK?"+D.ZSCA/_!Q24H+'09$1[<"%P,G`0
MD+>48@)"$^%D^T]E-4*CX/\M`,=V#+2[)LY3QZ,XP=2Q_P3"]9,V@L7=-M?%
MUMKBIX#_)W'BTAX@,"`UER.@A-&E8]\GLJ,2D]";D(]2*1]0)[+_R##BT1BE
MQ=8E@"'CSQ`A$'O;)3(T*,@U,"`Z@:,0-8XQ,C42D1BE(#0NMH#O3_$@\04Y
MW7(WR-`LEB2L_WM_?(]]E?M6@%^!;X)_??7_AJ^'OXC/B=K52XT/CA^/+_N0
M-))B861$-GCMPX22UA._!W!/H/^!\/5#$>XB</L1[S:@)A',E?LR4,J0X:"0
MA?N5OY;$._-GJF.4H;/!.N"[/%%U46_=,!4`A,-G^S[]NG!G#J$JD:Y,LN&N
M361$_EDHD=E"IL7BT6/P!_#Q\?_@8$)SHI6K`;FQPV_$<;1%_[=0%+$_%P2@
M[B'&X`ZPA,+_^$&O]-,#H)&P0**6M:"V8/`S,T-`TG!RL++P]#!7M``,\??1
M+M)`=61$?0%(````'@!"$`$```!:````/$Q)4U1-04Y!1T52+3$U,#`S,RTX
M.3(W,RTR,#`R+C$P+C$U+3`P+C(X+C,X+2UM+E-T<F]N9R-T;G-A+F-O;2YA
M=4!F<F%N:VQI;BYO:70N=6YC+F5D=3X````#`-X_KV\```,`"5D!`````P`!
M;@`````+``"`""`&``````#`````````1@`````#A0````````,``H`((`8`
M`````,````````!&`````!"%`````````P`9@`@@!@``````P````````$8`
M````4H4``'UN`0`>`!J`""`&``````#`````````1@````!4A0```0````0`
M```Y+C``"P`?@`@@!@``````P````````$8`````#H4````````#`""`""`&
M``````#`````````1@`````1A0````````,`(H`((`8``````,````````!&
M`````!B%````````"P`;@`@@!@``````P````````$8`````!H4````````#
M``B`""`&``````#`````````1@`````!A0````````,`\3\)!````P#]/^0$
M```#`"8```````,`-@```````P"`$/____\"`4<``0```"P```!C/553.V$]
M(#MP/51.4T$[;#U-15)#55)9+3`R,3`Q-3`V,CDS-EHM.34S`!X`.$`!````
M"````%-44D].1TT`'@`Y0`$````(````4U123TY'30!```<P(X=W.Q1TP@%`
M``@P$_J/.Q1TP@$>`#T``0````4```!213H@`````!X`'0X!````5````%MF
M<F5E=&1S72!293H@5$131E)%12!O;B!(4%58+2TM("`B(%1H97)E(&ES(&YO
M="!E;F]U9V@@;65M;W(M("`@("!Y(&%V86EL86)L92!N;W<B`!X`-1`!````
M/0```#Q"-T9&-D$U03`X13-"-30T038Y1C1&,S(T141&-#0Y1C(X-C0X,$!M
M97)C=7)Y+G1N<V$N8V]M+F%U/@`````+`"D```````L`(P```````P`&$/\2
MQYH#``<0A`P```,`$!```````P`1$``````>``@0`0```&4```!*04U%4RQ)
M3$Q)3E-404Q,5TA!5$5615(L0D5#055314%364]54T%925173U5,1$)%3DE#
M151/2$%614E45T]22TE.1T].04Q,54Y)6%,H24Y#3%5$24Y'2%!56"E)041$
M141,``````(!?P`!````/0```#Q"-T9&-D$U03`X13-"-30T038Y1C1&,S(T
H141&-#0Y1C(X-C0X,$!M97)C=7)Y+G1N<V$N8V]M+F%U/@````"@!0==
`
end
-
Re: TDSFREE on HPUX--- " There is not enough memor - y available now",
Castellano, Nicholas, 10/14/2002
- <Possible follow-up(s)>
- Re: TDSFREE on HPUX--- " There is not enough memor - y available now", Strong, Mark, 10/15/2002
- Re: TDSFREE on HPUX--- " There is not enough memor - y available now", Lowden, James K, 10/15/2002
Archive powered by MHonArc 2.6.24.