Hi,
How do you uploaded an attachment, to a post? I have some screen prints, but can't figure out how to attach them.
I'm setting up the most recent Fivewin environment for the first time in years. Also, I switched from BC5.1 TO BC582, and therefore changed a few environment settings. Attached is the current relevant environment settings, and the result of running go.bat in the test sample.
The main problem is that some very basic INCLUDEs are not being found, even though they do exist in the C:\BCC582\INCLUDE folder, and the INCLUDE environment variable is set to there.
The first PATH entry, is set to c:\Harbour\bin.
/* Make Session */
[C:\fwh\makes\Borland]TYPE GO.BAT
if not exist obj md obj
c:\bcc582\bin\make -ftest.mak
[C:\fwh\makes\Borland]c:\bcc582\bin\make -ftest.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
c:\harbour\bin\harbour .\alert.PRG /L /N /W /Oobj\ /Ic:\fwh\include;c:\harbour\include
Harbour 3.2.0dev (r2008190002)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling '.\alert.PRG'...
Lines 4966, Functions/Procedures 2
Generating C source output to 'obj\alert.c'... Done.
c:\bcc582\bin\bcc32 -c -tWM -Ic:\harbour\include -oobj\alert obj\alert.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
obj\alert.c:
Error E2209 c:\harbour\include\hbdefs.h 50: Unable to open include file 'stdarg.h'
Error E2209 c:\harbour\include\hbdefs.h 51: Unable to open include file 'stdio.h'
Error E2209 c:\harbour\include\hbdefs.h 52: Unable to open include file 'stdlib.h'
Error E2209 c:\harbour\include\hbdefs.h 53: Unable to open include file 'string.h'
Error E2209 c:\harbour\include\hbdefs.h 54: Unable to open include file 'limits.h'
Error E2209 c:\harbour\include\hbdefs.h 73: Unable to open include file 'stdint.h'
Error E2257 c:\harbour\include\hbdefs.h 469: , expected
Warning W8017 c:\harbour\include\hbdefs.h 541: Redefinition of 'HB_LONG_LENGTH' is not identical
Error E2257 c:\harbour\include\hbdefs.h 636: , expected
Error E2451 obj\alert.c 23: Undefined symbol 'NULL'
Error E2141 obj\alert.c 23: Declaration syntax error
Error E2190 obj\alert.c 23: Unexpected }
Error E2040 obj\alert.c 23: Declaration terminated incorrectly
Error E2190 obj\alert.c 32: Unexpected }
Error E2109 obj\alert.c 32: Not an allowed type in function hb_vm_SymbolInit_ALERT
*** 14 errors in Compile ***
** error 1 ** deleting .\obj\alert.OBJ
[C:\fwh\makes\Borland]@ECHO %INCLUDE%
c:\bcc582\include
[C:\fwh\makes\Borland]DIR %INCLUDE%\stdarg.h
Volume in drive C is unlabeled Serial number is c6ea:9093
Directory of C:\bcc582\include\stdarg.h
9/08/2006 11:50 1,373 stdarg.h
1,373 bytes in 1 file and 0 dirs 4,096 bytes allocated
120,397,197,312 bytes free
[C:\fwh\makes\Borland]dir c:\harbour\bin\harbour.exe
Volume in drive C is unlabeled Serial number is c6ea:9093
Directory of C:\harbour\bin\harbour.exe
10/19/2020 17:36 599,040 harbour.exe
599,040 bytes in 1 file and 0 dirs 602,112 bytes allocated
120,397,004,800 bytes free
Errors with test.mak, FW 32 bit, bcc582
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Errors with test.mak, FW 32 bit, bcc582
I updated ilink32.cfg and BCC32.CFG, but am still receiving the same error, when borland tries to compile alert.c and can't locate the INCLUDE files.
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Errors with test.mak, FW 32 bit, bcc582
Got it. Typo in the config files.
Now there's a ton of unresolved externals, but I should be able to figure that out.
Error: Unresolved external '_HB_FUN_HB_FUNCPTR' referenced from C:\FWH\LIB\FIVEH.LIB|CHECKRES
Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HCLONE' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HEVAL' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HSET' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HHASKEY' referenced from C:\FWH\LIB\FIVEH.LIB|FWDECODE
Error: Unresolved external 'GdipFree' referenced from C:\FWH\LIB\FIVEHC.LIB|GDIPFWH
Error: Unresolved external 'GdipCloneBrush' referenced from C:\FWH\LIB\FIVEHC.LIB|GDIPFWH
...
...
...
Now there's a ton of unresolved externals, but I should be able to figure that out.
Error: Unresolved external '_HB_FUN_HB_FUNCPTR' referenced from C:\FWH\LIB\FIVEH.LIB|CHECKRES
Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HCLONE' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HEVAL' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HSET' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HHASKEY' referenced from C:\FWH\LIB\FIVEH.LIB|FWDECODE
Error: Unresolved external 'GdipFree' referenced from C:\FWH\LIB\FIVEHC.LIB|GDIPFWH
Error: Unresolved external 'GdipCloneBrush' referenced from C:\FWH\LIB\FIVEHC.LIB|GDIPFWH
...
...
...
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Errors with test.mak, FW 32 bit, bcc582
D.
> How do you uploaded an attachment, to a post? I have some screen prints, but can't figure out how to attach them.
We do recommend to use github to keep and share your screenshots, images and any other files, as it is free and it belongs to Microsoft.
Just create a new repo in GitHub, upload your files and share them.
You need to use Borland 7 or higher.
> How do you uploaded an attachment, to a post? I have some screen prints, but can't figure out how to attach them.
We do recommend to use github to keep and share your screenshots, images and any other files, as it is free and it belongs to Microsoft.
Just create a new repo in GitHub, upload your files and share them.
You need to use Borland 7 or higher.
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Errors with test.mak, FW 32 bit, bcc582
Ah, BC7. That's the missing element, ok thanks.
Roger on Github, thanks. I'll open a new github account, solely for harbour development, and keep the current one separate.
T & R,
Roger on Github, thanks. I'll open a new github account, solely for harbour development, and keep the current one separate.
T & R,
Antonio Linares wrote:D.
> How do you uploaded an attachment, to a post? I have some screen prints, but can't figure out how to attach them.
We do recommend to use github to keep and share your screenshots, images and any other files, as it is free and it belongs to Microsoft.
Just create a new repo in GitHub, upload your files and share them.
You need to use Borland 7 or higher.