Errors when compiling RDDADS for FWH/10/9

Errors when compiling RDDADS for FWH/10/9

Postby vilian » Thu Oct 28, 2010 1:03 pm

I downloaded the contributions in http://www.xharbour.org

Code: Select all  Expand view

xharbour-1.2.1.src.contrib.zip
 


When trying to compile the RDDADS.LIB i'm getting the following errors:

Code: Select all  Expand view

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    \bcc582\bin\bcc32   -I"C:\ads\acesdk"  -c -O2 -DWIN32;ADS_LIB_VERSION=700 -I\xharb10\include -o\xharb10\contrib\rdd_ads\ads1.obj ads1.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
ads1.c:
Warning W8075 ads1.c 2698: Suspicious pointer conversion in function adsCreate
Warning W8075 ads1.c 3007: Suspicious pointer conversion in function adsOpen
Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen
Warning W8075 ads1.c 3652: Suspicious pointer conversion in function adsOrderCreate
Warning W8075 ads1.c 4663: Suspicious pointer conversion
Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP'
Error E2141 ads1.c 4680: Declaration syntax error
Error E2190 ads1.c 4743: Unexpected }
*** 4 errors in Compile ***

** error 1 ** deleting \xharb10\contrib\rdd_ads\ads1.obj
 


Can anyone help me?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Errors when compiling RDDADS for FWH/10/9

Postby vilian » Thu Oct 28, 2010 2:13 pm

Antonio, Daniel, Anyone, Help me :(
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Errors when compiling RDDADS for FWH/10/9

Postby vilian » Thu Oct 28, 2010 2:54 pm

With aceapi 9.0, the message changes to the following:
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
\bcc582\bin\bcc32 -I"C:\ads\acesdk" -c -O2 -DWIN32;ADS_LIB_VERSION=700 -I\xharb10\include -o\xharb10\contrib\rdd_ads\ads1.obj ads1.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
ads1.c:
Warning W8075 ads1.c 2698: Suspicious pointer conversion in function adsCreate
Warning W8075 ads1.c 3007: Suspicious pointer conversion in function adsOpen
Error E2024 ads1.c 3058: Cannot modify a const object in function adsOpen
Warning W8075 ads1.c 3652: Suspicious pointer conversion in function adsOrderCreate
Warning W8075 ads1.c 4663: Suspicious pointer conversion
Error E2451 ads1.c 4680: Undefined symbol 'DBENTRYP_VP'
Error E2141 ads1.c 4680: Declaration syntax error
Error E2190 ads1.c 4743: Unexpected }
*** 4 errors in Compile ***
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Errors when compiling RDDADS for FWH/10/9

Postby Marcelo Via Giglio » Thu Oct 28, 2010 6:19 pm

Vilian,

in your post I can see that you are trying to compile RDD ADS for ADS 7.0 API, in this case you need to use the ADS 7.0 Library and DLL, if not, change ADS_LIB_VERSION=700 variable to your ads current version and use the proper ADS library.

I compiled the last official source (not cvs) version of xHarbour to work with ADS 7.1 without problems

regards

Marcelo
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Errors when compiling RDDADS for FWH/10/9

Postby vilian » Thu Oct 28, 2010 6:41 pm

Thanks for answering,

I have the ACEAPI multiple versions of ADS(7.0, 9.0, 9.1 e 10.0). And testing, they all have the same problem.
Could you send me your RDDADS, that I test the build with it?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Errors when compiling RDDADS for FWH/10/9

Postby norberto » Thu Oct 28, 2010 11:14 pm

hi, villiam, contact me ou add in msn: norberto@windowslive.com. im from brazil.

or do it:

in xharbor dir, make an bat file : (change dir to you path)

@ECHO OFF

SET Bison_Simple=\_Lib\HRB\BISON\BISON.SIMPLE

SET HB_ARCHITECTURE=w32
SET HB_COMPILER=bcc32

SET C_USR=
SET L_USR=

SET ECHO=cmd /c echo
SET DEL=cmd /c del

SET ADS_LIB_VERSION=810
SET HB_DIR_ADS=\_Lib\Ace\81038

SET CC_DIR=\_WK\32\BCC

SET PATH=\_WK\32\BCC\BIN;\_Lib\HRB\BISON;\_Lib\HRB\FLEX;%PATH%

---------------------------------------

call the bat, and in xhabour dir/contrib\rddads, call make_b32 .

if you want i make to you.
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 97 guests

cron