[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    Re: [freetds] Building FreeTDS on OpenVMS
From:       "Craig A. Berry" <craigberry () mac ! com>
Date:       2007-04-20 14:08:00
Message-ID: p06240809c24e76f15e77 () [172 ! 16 ! 52 ! 1]
[Download RAW message or body]

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@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@lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/freetds


-- 
________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic