freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Craig A. Berry" <craigberry AT mac.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Building FreeTDS on OpenVMS
- Date: Fri, 20 Apr 2007 09:08:00 -0500
James, sorry for the belated reply. I just got a nice clean build of 0.64
using:
$ cc/version
HP C V7.1-015 on OpenVMS Alpha V8.3
and did not see the errors you saw.
At 11:13 AM -0500 4/13/07, James Horn wrote:
>To fix the convert.c error, I changed:
>sprintf(tmp_str, "%" TDS_I64_FORMAT, buf);
>to:
>sprintf(tmp_str, "%lld", buf);
The string TDS_I64_FORMAT does not appear anywhere in the .c or .h
files of 0.64, so I wonder whether you are really building 0.64? Did
you get your source kit from
<ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz>
>
>Now, getting:
>CC/DECC
>/DEFINE=(TDS50,HAVE_CONFIG_H=1)/PREFIX=(ALL)/FLOAT=IEEE/IEEE=DENORM/OBJECT=[.SRC.DBLIB]DBLIB.OBJ
>/INCLUDE=("./","./include","./src/tds") [.SRC.DBLIB]DBLIB.C
>
> va_start(ap, (char*)errnum);
>................................^
>%CC-I-LVALUECAST, In this statement, the result of the cast "(char
>...)errnum" is used as an lvalue.
>at line number 7610 in file $5$DKC1100:[FREETDS.SRC.DBLIB]DBLIB.C;1
>
> va_start(ap, (char*)errnum);
>................................^
>%CC-E-NOIDFOUND, In this statement, an identifier was expected but not
>found.
>at line number 7610 in file $5$DKC1100:[FREETDS.SRC.DBLIB]DBLIB.C;1
>
>Any assistance will be appreciated.
In 0.64, dblib.c only has 7038 lines, so you can't possibly be using
0.64. I will go and try a development snapshot and see what happens.
>
>On 4/12/07, James Horn <horn.jt.vms AT gmail.com> wrote:
>>
>> Openvms 7.3-2
>> CC: Compaq C V6.5-001
>> FreeTDS 0.64
>>
>> When trying to build FreeTDS:
>> CC/DECC
>> /DEFINE=(TDS50,HAVE_CONFIG_H=1)/PREFIX=(ALL)/FLOAT=IEEE/IEEE=DENORM/OBJECT=[.SRC.TDS]CONVERT.OBJ
>> /INCLUDE=("./","./include","./src/tds") [.SRC.TDS]CONV
>> ERT.C
>>
>> sprintf(tmp_str, "%" TDS_I64_FORMAT, buf);
>> .....................................^
>> %CC-E-CLOSEPAREN, Missing ")".
>> at line number 918 in file $5$DKC1100:[FREETDS.SRC.TDS ]CONVERT.C;1
>>
>> sprintf(tmp_str, "%" TDS_I64_FORMAT, buf);
>> .....................................^
>> %CC-E-CLOSEPAREN, Missing ")".
>> at line number 980 in file $5$DKC1100:[FREETDS.SRC.TDS ]CONVERT.C;1
>>
>> assert(srclen >= 0 && srclen <= 2147483647u);
>> ........^
>> %CC-I-QUESTCOMPARE, In this statement, the unsigned expression "srclen" is
>> being
>> compared with a relational operator to a constant whose value is not
>> greater th
>> an zero. This might not be what you intended.
>> at line number 1671 in file $5$DKC1100:[FREETDS.SRC.TDS]CONVERT.C;1
>> %MMS-F-ABORT, For target [.SRC.TDS]CONVERT.OBJ, CLI returned abort status:
>> %X10B
>> 91262.
>>
>>
>> Any assistance will be greatly appreciated.
>>
>_______________________________________________
>FreeTDS mailing list
>FreeTDS AT lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/freetds
--
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
-
[freetds] Building FreeTDS on OpenVMS,
James Horn, 04/12/2007
-
Re: [freetds] Building FreeTDS on OpenVMS,
James Horn, 04/13/2007
- Re: [freetds] Building FreeTDS on OpenVMS, Craig A. Berry, 04/20/2007
-
Re: [freetds] Building FreeTDS on OpenVMS,
James Horn, 04/13/2007
Archive powered by MHonArc 2.6.24.