Hello
I am having a problem compiling a fairly large
program consisting of approximately 13000 statements.
This program is too large to compile in the IDE. I am using
the latest version of PBC 3.50 (12-19-97). My problem is
as follows
********* Error 515 Fixup overflow ***************************
Each time I attempt to compile after updating or
modification I run into this problem. I am not linking
any objects or PBU's. Sometimes I get past the problem by
re-positioning some function or adding a dummy label or
inserting some dummy code. However recently this has not worked
********* Sometimes PBC will hang. ****************************
In most cases when this happens it can be interrupted
by pressing the <enter> key a few times. In this case PBC often
fills the screen with what appears to be random memory.
Other times the hanging can only be interrupted
by restarting the computer.
********* Illegal operation errors.*****************************
Sometimes while PBC is compiling Windows will interrupt with
the message "This program has performed an illegal operation"
Fault location in two instances were 2D94:ED5F and 2D95:ED51 but
this is inconsistent.
********* 611 Internal error. **********************************
Occasionally PBC will report 611 Internal error.
I have also seen bogus compile-time errors such as
(481 Parameter Mismatch), (477 Syntax Error) or (455 End If expected)
in code which previously compiled without error.
********** Source Layout **********************************
The program uses UDTs extensively. There are no pointers used.
The program is multi-user networked based using plenty of file I/O
and file locking. The program layout is as follows
$Compile EXE
$CPU 80386
$DIM ALL
$String 8
$LIB GRAPH OFF
$Error All On
$Option CNTLBREAK ON
$Stack &H2000
$Com 1024
Equates
Type Definitions
Sub/Function Declarations
DIM Shared Variables and UDT
$Include 43 Program Source Files
END PBMAIN
************* An example of a successful compile **********
PowerBASIC Compiler Version 3.50
13524 statements, 15779 lines
Compile time: 00:01.3 Compilation speed: 727800 lines/minute
196064 bytes code, 10928 bytes data, 8192 bytes stack
Segments(4): 54k/50k/55k/34k
************************************************************
Although my usual working computer is an HP8570C, I
experience similar problems on other computers and operating
systems and across networks. I also encounter similar compile
problems with other large programs.
******************** HP8570C details ***********************
Windows 98 [Version 4.10.2222]
Modules using memory below 1 MB:
Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 43,520 (43K) 30,512 (30K) 13,008 (13K)
HIMEM 1,168 (1K) 1,168 (1K) 0 (0K)
EMM386 4,320 (4K) 4,320 (4K) 0 (0K)
OAKCDROM 36,064 (35K) 36,064 (35K) 0 (0K)
DBLBUFF 2,976 (3K) 2,976 (3K) 0 (0K)
WIN 3,920 (4K) 3,920 (4K) 0 (0K)
vmm32 22,512 (22K) 7,120 (7K) 15,392 (15K)
COMMAND 7,776 (8K) 7,776 (8K) 0 (0K)
IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K)
Free 556,960 (544K) 556,960 (544K) 0 (0K)
Memory Summary:
Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 651,264 94,304 556,960
Upper 31,264 31,264 0
Reserved 0 0 0
Extended (XMS) 67,007,968 ? 99,233,792
---------------- ----------- ----------- -----------
Total memory 67,690,496 ? 99,790,752
Total under 1 MB 682,528 125,568 556,960
Total Expanded (EMS) 67,108,864 (64M)
Free Expanded (EMS) 16,777,216 (16M)
Largest executable program size 556,944 (544K)
Largest free upper memory block 0 (0K)
MS-DOS is resident in the high memory area.
******************************************************************
I have exhausted all my ideas to solve this problem.
Has anyone else experienced similar problems?
Any suggestions would be appreciated.
Thanks for reading this

Bernie Lazette
mailto:[email protected][email protected]</A>
------------------
[This message has been edited by Bernie Lazette (edited August 31, 2001).]
I am having a problem compiling a fairly large
program consisting of approximately 13000 statements.
This program is too large to compile in the IDE. I am using
the latest version of PBC 3.50 (12-19-97). My problem is
as follows
********* Error 515 Fixup overflow ***************************
Each time I attempt to compile after updating or
modification I run into this problem. I am not linking
any objects or PBU's. Sometimes I get past the problem by
re-positioning some function or adding a dummy label or
inserting some dummy code. However recently this has not worked
********* Sometimes PBC will hang. ****************************
In most cases when this happens it can be interrupted
by pressing the <enter> key a few times. In this case PBC often
fills the screen with what appears to be random memory.
Other times the hanging can only be interrupted
by restarting the computer.
********* Illegal operation errors.*****************************
Sometimes while PBC is compiling Windows will interrupt with
the message "This program has performed an illegal operation"
Fault location in two instances were 2D94:ED5F and 2D95:ED51 but
this is inconsistent.
********* 611 Internal error. **********************************
Occasionally PBC will report 611 Internal error.
I have also seen bogus compile-time errors such as
(481 Parameter Mismatch), (477 Syntax Error) or (455 End If expected)
in code which previously compiled without error.
********** Source Layout **********************************
The program uses UDTs extensively. There are no pointers used.
The program is multi-user networked based using plenty of file I/O
and file locking. The program layout is as follows
$Compile EXE
$CPU 80386
$DIM ALL
$String 8
$LIB GRAPH OFF
$Error All On
$Option CNTLBREAK ON
$Stack &H2000
$Com 1024
Equates
Type Definitions
Sub/Function Declarations
DIM Shared Variables and UDT
$Include 43 Program Source Files
END PBMAIN
************* An example of a successful compile **********
PowerBASIC Compiler Version 3.50
13524 statements, 15779 lines
Compile time: 00:01.3 Compilation speed: 727800 lines/minute
196064 bytes code, 10928 bytes data, 8192 bytes stack
Segments(4): 54k/50k/55k/34k
************************************************************
Although my usual working computer is an HP8570C, I
experience similar problems on other computers and operating
systems and across networks. I also encounter similar compile
problems with other large programs.
******************** HP8570C details ***********************
Windows 98 [Version 4.10.2222]
Modules using memory below 1 MB:
Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
SYSTEM 43,520 (43K) 30,512 (30K) 13,008 (13K)
HIMEM 1,168 (1K) 1,168 (1K) 0 (0K)
EMM386 4,320 (4K) 4,320 (4K) 0 (0K)
OAKCDROM 36,064 (35K) 36,064 (35K) 0 (0K)
DBLBUFF 2,976 (3K) 2,976 (3K) 0 (0K)
WIN 3,920 (4K) 3,920 (4K) 0 (0K)
vmm32 22,512 (22K) 7,120 (7K) 15,392 (15K)
COMMAND 7,776 (8K) 7,776 (8K) 0 (0K)
IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K)
Free 556,960 (544K) 556,960 (544K) 0 (0K)
Memory Summary:
Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 651,264 94,304 556,960
Upper 31,264 31,264 0
Reserved 0 0 0
Extended (XMS) 67,007,968 ? 99,233,792
---------------- ----------- ----------- -----------
Total memory 67,690,496 ? 99,790,752
Total under 1 MB 682,528 125,568 556,960
Total Expanded (EMS) 67,108,864 (64M)
Free Expanded (EMS) 16,777,216 (16M)
Largest executable program size 556,944 (544K)
Largest free upper memory block 0 (0K)
MS-DOS is resident in the high memory area.
******************************************************************
I have exhausted all my ideas to solve this problem.
Has anyone else experienced similar problems?
Any suggestions would be appreciated.
Thanks for reading this

Bernie Lazette
mailto:[email protected][email protected]</A>
------------------
[This message has been edited by Bernie Lazette (edited August 31, 2001).]
Comment