Error al compilar ultimo Tdolphin

Post Reply
nnicanor
Posts: 296
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Error al compilar ultimo Tdolphin

Post by nnicanor »

Tengo este error al tratar de compilar el ultimo tdolphin...



# -----------------------------------------------------------------------
# Building dolphin.lib
#
# C COMPILER :BCC
# PRG COMPILER :XHARBOUR
# -----------------------------------------------------------------------
c:\bcc58\bin\bcc32 -c -D__WIN__ -D__XHARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\harbour\include -I.\include -o.\obj\XHARBOUR\BCC\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
.\source\c\gerrapi.c:
Error E2451 .\source\c\gerrapi.c 105: Undefined symbol 'ERR_INSUFFICIENT_MEMORY'
Error E2040 .\source\c\gerrapi.c 105: Declaration terminated incorrectly
Error E2190 .\source\c\gerrapi.c 105: Unexpected }
Error E2190 .\source\c\gerrapi.c 108: Unexpected }
Warning W8064 .\source\c\gerrapi.c 132: Call to function with no prototype in function LoadMsgs
Warning W8070 .\source\c\gerrapi.c 159: Function should return a value in function GetGErrorMsg
*** 4 errors in Compile ***


Slds,

Nicanor
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Error al compilar ultimo Tdolphin

Post by Daniel Garcia-Gil »

Hola

Todo esta bien, te recomiendo hagas una descarga limpia y reintentes construir
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
nnicanor
Posts: 296
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: Error al compilar ultimo Tdolphin

Post by nnicanor »

Daniel Gracias,

Ya lo hice 2 veces pero al tratar de compilar sucede lo mismo, verifique los directorios y tengo todo bien.

Slds
Nicanor
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
nnicanor
Posts: 296
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: Error al compilar ultimo Tdolphin

Post by nnicanor »

Daniel,

Cuando trato de generar las librerias tengo estos errores los cuales no tengo antes de que se agregara gerrapi.c :

XHARBOUR 1.2.1 y BCC63

c:\bcc63\bin\bcc32 -c -D__WIN__ -D__XHARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\xharbour\include -I.\include -o.\obj\XHARBOUR\BCC\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc.
.\source\c\gerrapi.c:
Error E2451 .\source\c\gerrapi.c 108: Undefined symbol 'ERR_EMPTYALIAS'
Error E2040 .\source\c\gerrapi.c 108: Declaration terminated incorrectly
Error E2190 .\source\c\gerrapi.c 108: Unexpected }
Error E2190 .\source\c\gerrapi.c 109: Unexpected }
Warning W8064 .\source\c\gerrapi.c 133: Call to function with no prototype in function LoadMsgs
Warning W8070 .\source\c\gerrapi.c 160: Function should return a value in function GetGErrorMsg
*** 4 errors in Compile ***


XHARBOUR 1.2.1 y BCC58



c:\bcc58\bin\bcc32 -c -D__WIN__ -D__XHARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\xharbour\include -I.\include -o.\obj\XHARBOUR\BCC\function.obj .\source\c\function.c
Compiling .\source\c\function.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
.\source\c\function.c:
Warning W8012 .\source\c\function.c 1262: Comparing signed and unsigned values in function HB_FUN_MYSEEK2
Warning W8012 .\source\c\function.c 1264: Comparing signed and unsigned values in function HB_FUN_MYSEEK2
# -----------------------------------------------------------------------
c:\bcc58\bin\bcc32 -c -D__WIN__ -D__XHARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\xharbour\include -I.\include -o.\obj\XHARBOUR\BCC\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
.\source\c\gerrapi.c:
Error E2451 .\source\c\gerrapi.c 108: Undefined symbol 'ERR_EMPTYALIAS'
Error E2040 .\source\c\gerrapi.c 108: Declaration terminated incorrectly
Error E2190 .\source\c\gerrapi.c 108: Unexpected }
Error E2190 .\source\c\gerrapi.c 109: Unexpected }
Warning W8064 .\source\c\gerrapi.c 133: Call to function with no prototype in function LoadMsgs
Warning W8070 .\source\c\gerrapi.c 160: Function should return a value in function GetGErrorMsg
*** 4 errors in Compile ***


HARBOUR 2.1.0 Beta y MSVC 2008


cl -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbour\include -I.\include -nologo -Fo.\obj\HARBOUR\MSVC32\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
gerrapi.c
.\source\c\gerrapi.c(108) : error C2065: 'ERR_EMPTYALIAS' : identificador no declarado
.\source\c\gerrapi.c(108) : error C2099: el inicializador no es una constante
.\source\c\gerrapi.c(108) : warning C4047: 'inicializando' : 'int' es distinto en los niveles de direccionamiento indirecto de 'char [19]'
.\source\c\gerrapi.c(109) : error C2065: 'ERR_NOMATCHCOLUMNSALIAS' : identificador no declarado
.\source\c\gerrapi.c(109) : error C2099: el inicializador no es una constante
.\source\c\gerrapi.c(109) : warning C4047: 'inicializando' : 'int' es distinto en los niveles de direccionamiento indirecto de 'char [37]'



HARBOUR 1.2.1 y MSVC 2010


cl -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbour\include -I.\include -nologo -Fo.\obj\HARBOUR\MSVC32\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
gerrapi.c
.\source\c\gerrapi.c(108) : error C2065: 'ERR_EMPTYALIAS' : identificador no declarado
.\source\c\gerrapi.c(108) : error C2099: el inicializador no es una constante
.\source\c\gerrapi.c(108) : warning C4047: 'inicializando' : 'int' es distinto en los niveles de direccionamiento indirecto de 'char [19]'
.\source\c\gerrapi.c(109) : error C2065: 'ERR_NOMATCHCOLUMNSALIAS' : identificador no declarado
.\source\c\gerrapi.c(109) : error C2099: el inicializador no es una constante
.\source\c\gerrapi.c(109) : warning C4047: 'inicializando' : 'int' es distinto en los niveles de direccionamiento indirecto de 'char [37]'


HARBOUR 3.1.0 y BCC63 Compila perfecto solo Warnings


c:\bcc63\bin\bcc32 -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\harbour3\include -I.\include -o.\obj\HARBOUR3\BCC\function.obj .\source\c\function.c
Compiling .\source\c\function.c
Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc.
.\source\c\function.c:
Warning W8012 .\source\c\function.c 1262: Comparing signed and unsigned values in function HB_FUN_MYSEEK2
Warning W8012 .\source\c\function.c 1264: Comparing signed and unsigned values in function HB_FUN_MYSEEK2
Warning W8012 .\source\c\function.c 1392: Comparing signed and unsigned values in function HB_FUN_MYLOCATE
# -----------------------------------------------------------------------
c:\bcc63\bin\bcc32 -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\harbour3\include -I.\include -o.\obj\HARBOUR3\BCC\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc.
.\source\c\gerrapi.c:
Warning W8064 .\source\c\gerrapi.c 133: Call to function with no prototype in function LoadMsgs
Warning W8070 .\source\c\gerrapi.c 160: Function should return a value in function GetGErrorMsg
# -----------------------------------------------------------------------
c:\bcc63\bin\bcc32 -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\harbour3\include -I.\include -o.\obj\HARBOUR3\BCC\msges.obj .\source\lang\msges.c
Compiling .\source\lang\msges.c
Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc.
.\source\lang\msges.c:
# -----------------------------------------------------------------------
c:\bcc63\bin\bcc32 -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -tWM -I\harbour3\include -I.\include -o.\obj\HARBOUR3\BCC\msgen.obj .\source\lang\msgen.c
Compiling .\source\lang\msgen.c
Embarcadero C++ 6.30 for Win32 Copyright (c) 1993-2010 Embarcadero Technologies, Inc.
.\source\lang\msgen.c:
# -----------------------------------------------------------------------
c:\bcc63\bin\tlib .\lib\HARBOUR3\BCC\dolphin.lib +-.\obj\HARBOUR3\BCC\tdolpexp.obj +-.\obj\HARBOUR3\BCC\tdolpqry.obj +-.\obj\HARBOUR3\BCC\tdolpsrv.obj +-.\obj\HARBOUR3\BCC\function.obj +-.\obj\HARBOUR3\BCC\gerrapi.obj +-.\obj\HARBOUR3\BCC\msges.obj +-.\obj\HARBOUR3\BCC\msgen.obj /0 /P32,,

TLIB 6.2 Copyright (c) 1987-2010 Embarcadero Technologies, Inc.



HARBOUR3 y MINGW 32 Perfecto sin Warnings



# -----------------------------------------------------------------------
# Building libdolphin.a
#
# C COMPILER :MINGW32
# PRG COMPILER :HARBOUR
# -----------------------------------------------------------------------
\harbourg\bin\harbour.exe .\source\prg\tdolpexp.prg -D -D__WIN__ -D__NODEBUG__ -q0 /N /W /w /es2 /O.\obj\HARBOUR\MINGW32\ /I.\include;\harbourg\include;
Compiling .\source\prg\tdolpexp.prg
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\tdolpexp.o .\obj\HARBOUR\MINGW32\tdolpexp.c
Compiling .\obj\HARBOUR\MINGW32\tdolpexp.c
# -----------------------------------------------------------------------
\harbourg\bin\harbour.exe .\source\prg\tdolpqry.prg -D -D__WIN__ -D__NODEBUG__ -q0 /N /W /w /es2 /O.\obj\HARBOUR\MINGW32\ /I.\include;\harbourg\include;
Compiling .\source\prg\tdolpqry.prg
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\tdolpqry.o .\obj\HARBOUR\MINGW32\tdolpqry.c
Compiling .\obj\HARBOUR\MINGW32\tdolpqry.c
# -----------------------------------------------------------------------
\harbourg\bin\harbour.exe .\source\prg\tdolpsrv.prg -D -D__WIN__ -D__NODEBUG__ -q0 /N /W /w /es2 /O.\obj\HARBOUR\MINGW32\ /I.\include;\harbourg\include;
Compiling .\source\prg\tdolpsrv.prg
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\tdolpsrv.o .\obj\HARBOUR\MINGW32\tdolpsrv.c
Compiling .\obj\HARBOUR\MINGW32\tdolpsrv.c
# -----------------------------------------------------------------------
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\function.o .\source\c\function.c
Compiling .\source\c\function.c
# -----------------------------------------------------------------------
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\gerrapi.o .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
# -----------------------------------------------------------------------
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\msges.o .\source\lang\msges.c
Compiling .\source\lang\msges.c
# -----------------------------------------------------------------------
c:\mingw\bin\gcc -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -I\harbourg\include -I.\include -Ic:\mingw\include -o.\obj\HARBOUR\MINGW32\msgen.o .\source\lang\msgen.c
Compiling .\source\lang\msgen.c
# -----------------------------------------------------------------------
c:\mingw\bin\ar rc .\lib\HARBOUR\MINGW32\libdolphin.a .\obj\HARBOUR\MINGW32\tdolpexp.o .\obj\HARBOUR\MINGW32\tdolpqry.o .\obj\HARBOUR\MINGW32\tdolpsrv.o .\obj\HARBOUR\MINGW32\function.o .\obj\HARBOUR\MINGW32\gerrapi.o .\obj\HARBOUR\MINGW32\msges.o .\obj\HARBOUR\MINGW32\msgen.o



HARBOUR 64 y MSVC64 2008



c:\vc64\bin\cl -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -TP -Ic:\harbour64\include -I.\include -nologo -Fo.\obj\HARBOUR\MSVC64\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
gerrapi.c
.\source\c\gerrapi.c(108) : error C2065: 'ERR_EMPTYALIAS' : undeclared identifier
.\source\c\gerrapi.c(109) : error C2065: 'ERR_NOMATCHCOLUMNSALIAS' : undeclared identifier
.\source\c\gerrapi.c(132) : error C2440: '=' : cannot convert from 'void *' to 'int (__cdecl *)(void)'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
.\source\c\gerrapi.c(144) : error C2440: 'initializing' : cannot convert from 'void *' to 'char *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast




Slds

Nicanor
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
nnicanor
Posts: 296
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: Error al compilar ultimo Tdolphin

Post by nnicanor »

Daniel,

HARBOUR 3.1 y MSVC 64

c:\vc64\bin\cl -c -D__WIN__ -D__HARBOUR__ -DHB_LEGACY_TYPES_ON -TP -Ic:\hb30\include -I.\include -nologo -Fo.\obj\HARBOUR364\MSVC64\gerrapi.obj .\source\c\gerrapi.c
Compiling .\source\c\gerrapi.c
gerrapi.c
.\source\c\gerrapi.c(132) : error C2440: '=' : cannot convert from 'void *' to 'int (__cdecl *)(void)'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
.\source\c\gerrapi.c(144) : error C2440: 'initializing' : cannot convert from 'void *' to 'char *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast

Slds

Nicanor
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Error al compilar ultimo Tdolphin

Post by Daniel Garcia-Gil »

Nicanor

yo logro construir todas las librerias sin problemas... donde no he podido construir es win64 pq no lo tengo

contacta conmigo para ver que solucion podremos encontrar
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Post Reply