The errors:
MAKE Version 5.43Â Copyright (c) 1987, 2019 Embarcadero Technologies, Inc. Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 238: Expression syntax error in !if statement
Error winmake\makefile.bc 247: Expression syntax error in !if statement
Error winmake\makefile.bc 253: Expression syntax error in !if statement
Error winmake\makefile.bc 266: Expression syntax error in !if statement
*** 6 errors during make ***
here is the functions.log:
*** START [C:\Users\rhfsy\xharbour\make_bc.bat](all)
  *** started [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
     *** started(bcc32) [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
 *** Raw Arguments: (strLen CC_DIR _CC_DIR_LEN)
 *** Raw Arguments: [strLen] [CC_DIR] [_CC_DIR_LEN] [] []
 *** Parsed [2] :strLen( CC_DIR=c:\borland\BCC770 _CC_DIR_LEN= )
 +++ Entry point: strLen('CC_DIR' '_CC_DIR_LEN')(2)
  :strLen(CC_DIR _CC_DIR_LEN)
  :isValidVarName(_CC_DIR_LEN)
  :value(CC_DIR str)
  :isValidVarName(str)
 --- Exit point: strLen CC_DIR _CC_DIR_LEN
 *** Ret: 0 0
     *** ended[0] [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
EXIT BCC_LIB: "c:\borland\bcc770\lib\win32\release";"c:\borland\bcc770\lib\win32\release\psdk"
  *** finished[0] [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** END[0] [C:\Users\rhfsy\xharbour\make_bc.bat]
Can I see the exact commands are you using, please?
Il 07/01/2024 13:16, Reynaldo Henrique ha scritto:
Can I see the exact commands are you using, please?
The exact command I am typing is:
set path=%path%;c:\borland\bcc770\bin
git pull
make_bc clean
make_bc all
I get:
Creating System Files (ST) ...
In file included from utils\misc\hblib.c:61: e:\fw\temp\bcc77\bin\..\include\windows\sdk\windows.h:42:9: warning:
unknown pragma ignored [-Wunknown-pragmas]
[...]
Can I see your bcc32c.cfg, please?
Can I see the exact commands are you using, please?
The exact command I am typing is:
set path=%path%;c:\borland\bcc770\bin
git pull
make_bc clean
make_bc all
Creating System Files (ST) ...
In file included from utils\misc\hblib.c:61:
e:\fw\temp\bcc77\bin\..\include\windows\sdk\windows.h:42:9: warning:
unknown pragma ignored [-Wunknown-pragmas]
[...]
Can I see your bcc32c.cfg, please?
here is: bcc32c.cfg
-isystem @\..\include\windows\crtl
-isystem @\..\include\windows\sdk
-L@\..\lib\win32c\debug
-L@\..\lib\win32c\release
-L@\..\lib\win32c\release\psdk
Reynaldo Henrique
Can I see your bcc32c.cfg, please?
here is: bcc32c.cfg
-isystem @\..\include\windows\crtl
-isystem @\..\include\windows\sdk
-L@\..\lib\win32c\debug
-L@\..\lib\win32c\release
-L@\..\lib\win32c\release\psdk
Il 07/01/2024 13:16, Reynaldo Henrique ha scritto:
Can I see the exact commands are you using, please?
The exact command I am typing is:
set path=%path%;c:\borland\bcc770\bin
git pull
make_bc clean
make_bc all
I get:
Creating System Files (ST) ...
In file included from utils\misc\hblib.c:61:
e:\fw\temp\bcc77\bin\..\include\windows\sdk\windows.h:42:9: warning:
unknown pragma ignored [-Wunknown-pragmas]
[...]
Can I see your bcc32c.cfg, please?
here is: bcc32c.cfg
-isystem @\..\include\windows\crtl
-isystem @\..\include\windows\sdk
-L@\..\lib\win32c\debug
-L@\..\lib\win32c\release
-L@\..\lib\win32c\release\psdk
Reynaldo Henrique
Can I see the exact commands are you using, please?
The exact command I am typing is:
set path=%path%;c:\borland\bcc770\bin
git pull
make_bc clean
make_bc all
thanks,
Reynaldo Henrique
--
O software antivírus AVG realizou uma checagem de vírus neste e-mail. www.avg.com
From the errors it seem you have HB_ARCH=w64 is that correct?My HB_ARCH is disabled with REM
The errors:
MAKE Version 5.43 Copyright (c) 1987, 2019 Embarcadero Technologies, Inc. Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 238: Expression syntax error in !if statement
Error winmake\makefile.bc 247: Expression syntax error in !if statement
Error winmake\makefile.bc 253: Expression syntax error in !if statement
Error winmake\makefile.bc 266: Expression syntax error in !if statement
*** 6 errors during make ***
here is the functions.log:
*** START [C:\Users\rhfsy\xharbour\make_bc.bat](all)
*** started [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** started(bcc32) [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
*** Raw Arguments: (strLen CC_DIR _CC_DIR_LEN)
*** Raw Arguments: [strLen] [CC_DIR] [_CC_DIR_LEN] [] []
*** Parsed [2] :strLen( CC_DIR=c:\borland\BCC770 _CC_DIR_LEN= )
+++ Entry point: strLen('CC_DIR' '_CC_DIR_LEN')(2)
:strLen(CC_DIR _CC_DIR_LEN)
:isValidVarName(_CC_DIR_LEN)
:value(CC_DIR str)
:isValidVarName(str)
--- Exit point: strLen CC_DIR _CC_DIR_LEN
*** Ret: 0 0
*** ended[0] [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
EXIT BCC_LIB: "c:\borland\bcc770\lib\win32\release";"c:\borland\bcc770\lib\win32\release\psdk"
*** finished[0] [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** END[0] [C:\Users\rhfsy\xharbour\make_bc.bat]
Thanks,
Reynaldo Henrique
--
O software antivírus AVG realizou uma checagem de vírus neste e-mail. www.avg.com
Reynaldo Henrique wrote:
The errors:
MAKE Version 5.43 Copyright (c) 1987, 2019 Embarcadero Technologies, Inc. Error winmake\makefile.bc 234: Expression syntax error in !if statement Error winmake\makefile.bc 234: Expression syntax error in !if statement Error winmake\makefile.bc 238: Expression syntax error in !if statement Error winmake\makefile.bc 247: Expression syntax error in !if statement Error winmake\makefile.bc 253: Expression syntax error in !if statement Error winmake\makefile.bc 266: Expression syntax error in !if statement
*** 6 errors during make ***
here is the functions.log:
*** START [C:\Users\rhfsy\xharbour\make_bc.bat](all)
*** started [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** started(bcc32) [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
*** Raw Arguments: (strLen CC_DIR _CC_DIR_LEN)
*** Raw Arguments: [strLen] [CC_DIR] [_CC_DIR_LEN] [] []
*** Parsed [2] :strLen( CC_DIR=c:\borland\BCC770 _CC_DIR_LEN= )
+++ Entry point: strLen('CC_DIR' '_CC_DIR_LEN')(2)
:strLen(CC_DIR _CC_DIR_LEN)
:isValidVarName(_CC_DIR_LEN)
:value(CC_DIR str)
:isValidVarName(str)
--- Exit point: strLen CC_DIR _CC_DIR_LEN
*** Ret: 0 0
*** ended[0] [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
EXIT BCC_LIB: "c:\borland\bcc770\lib\win32\release";"c:\borland\bcc770\lib\win32\release\psdk"
*** finished[0] [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** END[0] [C:\Users\rhfsy\xharbour\make_bc.bat]
Thanks,
Reynaldo Henrique
--
O software antivírus AVG realizou uma checagem de vírus neste e-mail. www.avg.com
Reynaldo,
1. The functions.log clearly show that BCC_LIB is listed only
ONCE: 'EXIT BCC_LIB' this means that it was SET ***BEFORE*** find_bc.bat
was called by make_bc.bat or else we would have the log for the
generation too.
2. It shows that BCC_LIB has an CR/LF character which BREAKS it into 2
lines - this is what IMO causes the syntax error on a line number
greater than the !if lines by 1!!
Ron
The errors:
MAKE Version 5.43 Copyright (c) 1987, 2019 Embarcadero Technologies, Inc. >>> Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 234: Expression syntax error in !if statement
Error winmake\makefile.bc 238: Expression syntax error in !if statement
Error winmake\makefile.bc 247: Expression syntax error in !if statement
Error winmake\makefile.bc 253: Expression syntax error in !if statement
Error winmake\makefile.bc 266: Expression syntax error in !if statement
*** 6 errors during make ***
here is the functions.log:
*** START [C:\Users\rhfsy\xharbour\make_bc.bat](all)
*** started [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** started(bcc32) [C:\Users\rhfsy\xharbour\winmake\found_cc.bat] >>> *** Raw Arguments: (strLen CC_DIR _CC_DIR_LEN)
*** Raw Arguments: [strLen] [CC_DIR] [_CC_DIR_LEN] [] []
*** Parsed [2] :strLen( CC_DIR=c:\borland\BCC770 _CC_DIR_LEN= )
+++ Entry point: strLen('CC_DIR' '_CC_DIR_LEN')(2)
:strLen(CC_DIR _CC_DIR_LEN)
:isValidVarName(_CC_DIR_LEN)
:value(CC_DIR str)
:isValidVarName(str)
--- Exit point: strLen CC_DIR _CC_DIR_LEN
*** Ret: 0 0
*** ended[0] [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
EXIT BCC_LIB:
"c:\borland\bcc770\lib\win32\release";"c:\borland\bcc770\lib\win32\release\psdk"
*** finished[0] [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** END[0] [C:\Users\rhfsy\xharbour\make_bc.bat]
Thanks,
Reynaldo Henrique
--
O software antivÃrus AVG realizou uma checagem de vÃrus neste e-mail.
www.avg.com
Reynaldo,
1. The functions.log clearly show that BCC_LIB is listed only
ONCE: 'EXIT BCC_LIB' this means that it was SET ***BEFORE*** find_bc.bat
was called by make_bc.bat or else we would have the log for the
generation too.
2. It shows that BCC_LIB has an CR/LF character which BREAKS it into 2
lines - this is what IMO causes the syntax error on a line number
greater than the !if lines by 1!!
Ron
Reynaaldo?
The errors:
MAKE Version 5.43 Copyright (c) 1987, 2019 Embarcadero Technologies, Inc.
Error winmake\makefile.bc 234: Expression syntax error in !if statement Error winmake\makefile.bc 234: Expression syntax error in !if statement Error winmake\makefile.bc 238: Expression syntax error in !if statement Error winmake\makefile.bc 247: Expression syntax error in !if statement Error winmake\makefile.bc 253: Expression syntax error in !if statement Error winmake\makefile.bc 266: Expression syntax error in !if statement *** 6 errors during make ***
here is the functions.log:
*** START [C:\Users\rhfsy\xharbour\make_bc.bat](all)
*** started [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** started(bcc32) [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
*** Raw Arguments: (strLen CC_DIR _CC_DIR_LEN)
*** Raw Arguments: [strLen] [CC_DIR] [_CC_DIR_LEN] [] []
*** Parsed [2] :strLen( CC_DIR=c:\borland\BCC770 _CC_DIR_LEN= )
+++ Entry point: strLen('CC_DIR' '_CC_DIR_LEN')(2)
:strLen(CC_DIR _CC_DIR_LEN)
:isValidVarName(_CC_DIR_LEN)
:value(CC_DIR str)
:isValidVarName(str)
--- Exit point: strLen CC_DIR _CC_DIR_LEN
*** Ret: 0 0
*** ended[0] [C:\Users\rhfsy\xharbour\winmake\found_cc.bat]
EXIT BCC_LIB: "c:\borland\bcc770\lib\win32\release";"c:\borland\bcc770\lib\win32\release\psdk"
*** finished[0] [C:\Users\rhfsy\xharbour\winmake\find_bc.bat]
*** END[0] [C:\Users\rhfsy\xharbour\make_bc.bat]
Thanks,
Reynaldo Henrique
--
O software antivírus AVG realizou uma checagem de vírus neste e-mail. www.avg.com
Reynaldo,
1. The functions.log clearly show that BCC_LIB is listed only
ONCE: 'EXIT BCC_LIB' this means that it was SET ***BEFORE*** find_bc.bat was called by make_bc.bat or else we would have the log for the generation too.
2. It shows that BCC_LIB has an CR/LF character which BREAKS it into 2 lines - this is what IMO causes the syntax error on a line number
greater than the !if lines by 1!!
Ron
Reynaaldo?
Hi Ron,
I am still compiling xHarbour by setting the BCC_LIB manually.
Thanks,
Reynaldo Henrique
Ryenaldo,
Please make sure to use make_bc on a FRESH terminal withOUT setting
BCC_LIB, and let me see build log and functions.log
The error you posted last suggest yoiu had a BCC_LIB set manually with
an ENTER breaking it to TWO lines.
Ryenaldo,
Please make sure to use make_bc on a FRESH terminal withOUT setting BCC_LIB, and let me see build log and functions.log
The error you posted last suggest yoiu had a BCC_LIB set manually with
an ENTER breaking it to TWO lines.
Ron, now I can build xHarbour without setting BCC_LIB manually!
Thanks,
Reynaldo Henrique
--
O software antivírus AVG realizou uma checagem de vírus neste e-mail. www.avg.com
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 66:42:57 |
Calls: | 8,355 |
Calls today: | 15 |
Files: | 13,159 |
Messages: | 5,894,218 |
Posted today: | 1 |