ot: compilar harbour del cvs con bcc55

Post Reply
User avatar
wilsongamboa
Posts: 439
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador

ot: compilar harbour del cvs con bcc55

Post by wilsongamboa »

Buenas noches
pues eso, uso este .bat para compilar y me ha dejado de funcionar desde hace un mes mas o menos

..........inicio del .bat...............
@ECHO OFF

SET HB_REBUILD_PARSER=no
SET PATH=c:\windows;c:\windows\system32;c:\winnt;c:\winnt\system32;c:\BCC55\bin;c:\djgpp\bin
SET INCLUDE=c:\BCC55\INCLUDE;c:\HB\INCLUDE

SET HB_LEX=SIMPLEX
SET DJGPP=C:\DJGPP\DJGPP.ENV
SET BiSon_Simple=C:\DJGPP\share\bison\bison.simple

SET HB_ARCHITECTURE=w32
SET HB_COMPILER=bcc32

SET C_USR=
SET L_USR=

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


CALL make_b32 clean
CALL make_b32

...............final del .bat.............

que estoy haciendo mal ??

los errores que me salen son

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
source\common\expropt1.c:
source\common\expropt2.c:
source\common\hbarch.c:
source\common\hbfhnd.c:
source\common\hbfsapi.c:
source\common\hbgete.c:
source\common\hbhash.c:
source\common\hbdate.c:
source\common\hbstr.c:
source\common\hbtrace.c:
source\common\hbver.c:
source\common\hbverdsp.c:
source\common\reserved.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
+obj\b32\expropt1.obj &
+obj\b32\expropt2.obj &
+obj\b32\hbarch.obj &
+obj\b32\hbfhnd.obj &
+obj\b32\hbfsapi.obj &
+obj\b32\hbgete.obj &
+obj\b32\hbhash.obj &
+obj\b32\hbdate.obj &
+obj\b32\hbstr.obj &
+obj\b32\hbtrace.obj &
+obj\b32\hbver.obj &
+obj\b32\hbverdsp.obj &
+obj\b32\reserved.obj &
+
source\pp\ppgen.c:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
source\pp\pptable.c:
source\pp\ppcore.c:
source\pp\pplib.c:
source\pp\pplib2.c:
source\pp\pplib3.c:
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
+obj\b32\pptable.obj &
+obj\b32\ppcore.obj &
+obj\b32\pplib.obj &
+obj\b32\pplib2.obj &
+obj\b32\pplib3.obj &
+
source\compiler\hbmain.c:
1 archivos copiados.
1 archivos copiados.
obj\b32\harboury.c:
Warning W8004 harboury.c 3850: 'yymsg' is assigned a value that is never used in function yydestruct
Warning W8008 harboury.c 6962: Condition is always false in function hb_compparse
Warning W8066 harboury.c 6963: Unreachable code in function hb_compparse
Warning W8004 harboury.c 6890: 'hb_compnerrs' is assigned a value that is never used in function hb_compparse
Warning W8004 harboury.c 4048: 'yyptr' is assigned a value that is never used in function hb_compparse
source\compiler\complex.c:
source\compiler\cmdcheck.c:
source\compiler\hbcomp.c:
source\compiler\hbcmplib.c:
source\compiler\hbdbginf.c:
source\compiler\hbdead.c:
source\compiler\hbstripl.c:
source\compiler\hbusage.c:
source\compiler\hbident.c:
source\compiler\hbgenerr.c:
source\compiler\hblbl.c:
source\compiler\hbpcode.c:
source\compiler\hbfunchk.c:
source\compiler\hbfix.c:
source\compiler\hbopt.c:
source\compiler\ppcomp.c:
source\compiler\genc.c:
source\compiler\gencc.c:
source\compiler\gencli.c:
source\compiler\gencobj.c:
source\compiler\genobj32.c:
source\compiler\genjava.c:
source\compiler\genhrb.c:
source\compiler\expropta.c:
Warning W8065 include\hbexpra.c 174: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprLstDealloc
Error E2356 include\hbexpra.c 225: Type mismatch in redeclaration of 'hb_compExprDelete'
Warning W8065 include\hbexpra.c 257: Call to function 'hb_compErrorType' with no prototype in function hb_compExprErrorType
Warning W8065 include\hbexpra.c 332: Call to function 'hb_compErrorDuplVar' with no prototype in function hb_compExprCBVarAdd
Warning W8065 include\hbexpra.c 379: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 380: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 390: Call to function 'hb_compExprReduceList' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 468: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 531: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 534: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 548: Call to function 'hb_compExprDelete' with no prototype in function hb_compExprNewFunCall
Warning W8065 include\hbexpra.c 796: Call to function 'hb_compErrorSyntax' with no prototype in function hb_compExprSetOperand
*** 1 errors in Compile ***

** error 1 ** deleting obj\b32\expropta.obj

Si alguien me puede ayudar
Gracias

Saludos
Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Wilson,

Nosotros lo construimos ayer mismo sin problemas. Usamos este fichero BAT:

SET PATH=%PATH%;c:\bcc55\bin
SET BISON_SIMPLE=bison.simple
SET CFLAGS=-D__EXPORT__ -DHB_GUI -tWM -DHB_FM_STATISTICS_OFF -DHB_INCLUDE_WINEXCHANDLER -DHARBOUR_MAIN_WIN -d -a8 -OS -O2 -5 -6
make_b32.bat %1
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
wilsongamboa
Posts: 439
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador

Post by wilsongamboa »

gracias Antonio
pero siguen los problemas
podrias indicarme donde tiene instalados el Bison ?
que valor tiene tu variable Path ? al ejecutar este .bat

Gracias x Todo
Saludos
Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Wilson,

Nosotros usamos un directorio "util" en donde tenemos todas las herramientas necesarias y esta accesible desde el path. Ahí tambien está el bison.simple, de hecho esta línea queda así:

SET BISON_SIMPLE=c:\util\bison.simple

Que errores te da ? Prueba a borrar todo el directorio Harbour y haz un checkout. Lo que se denomina un "fresh checkout" :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
wilsongamboa
Posts: 439
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador

Post by wilsongamboa »

Gracias Antonio, era eso he vuelto a bajar y me compila hasta con mi antiguo .bat

gracias x todo

Saludos
Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
Post Reply