Board index » cppbuilder » Incremental linker problem

Incremental linker problem


2005-06-14 08:21:43 AM
cppbuilder6
I have added BDE to an existing application. When I link in the idapi32.lib
I get the error:
Info :Making...
Info :Linking E:\RSNetDev\rsnet.exe
Fatal: Fatal: Assertion failed: prev->size <= vHeap->maxSize at "LMEM.C",
line 1630
Fatal: Fatal: Assertion failed: free->size <= vHeap->maxSize at "LMEM.C",
line 1221
Fatal: Fatal: Assertion failed: memHndl->size <= vHeap->maxSize at
"LMEM.C", line 1156
Fatal: Fatal: 't4n\idapi32.ASM': ILINK32 does not support segmentation -
use TLINK32
If I turn off the incremental linker, I then get the error:
Info :Making...
Info :Linking E:\RSNetDev\rsnet.exe
Fatal: Fatal: Block overflow for block 'BrowserCache'
Any ideas?
Alan
 
 

Re:Incremental linker problem

Quote
Fatal: Fatal: Block overflow for block 'BrowserCache'
When you get that error it creates a file. I want to say it is a *.cfg file
but I'm going from memory and could be wrong about the name. Do a dir /od
on the project directory and if you don't find it then in the compiler's BIN
directory.
In the file is a set of statements of the sort
something = value
and the browser cache is one of the statements. The current values used by
the linker are in there. Increase the size of the browser cache and,
assuming that the new size doesn't exceed some absolute limit, the new value
will be used in the next build.
I am speaking of tlink32.exe. I do not know if the incremental linker,
ilink32.exe, does this.
. Ed
Quote
Alan Jones wrote in message
news:42ae2316$ XXXX@XXXXX.COM ...

I have added BDE to an existing application. When I link in
the idapi32.lib I get the error:

Info :Making...
Info :Linking E:\RSNetDev\rsnet.exe
Fatal: Fatal: Assertion failed: prev->size <= vHeap->maxSize at "LMEM.C",
line 1630
Fatal: Fatal: Assertion failed: free->size <= vHeap->maxSize at "LMEM.C",
line 1221
Fatal: Fatal: Assertion failed: memHndl->size <= vHeap->maxSize at
"LMEM.C", line 1156
Fatal: Fatal: 't4n\idapi32.ASM': ILINK32 does not support segmentation -
use TLINK32

If I turn off the incremental linker, I then get the error:

Info :Making...
Info :Linking E:\RSNetDev\rsnet.exe
Fatal: Fatal: Block overflow for block 'BrowserCache'

Any ideas?
 

Re:Incremental linker problem

"Ed Mulroy" < XXXX@XXXXX.COM >wrote in message
Quote
In the file is a set of statements of the sort

something = value

and the browser cache is one of the statements. The current values used
by
the linker are in there. Increase the size of the browser cache and,
assuming that the new size doesn't exceed some absolute limit, the new
value
will be used in the next build.

I am speaking of tlink32.exe. I do not know if the incremental linker,
ilink32.exe, does this.
Ed, thanks. But I can't find the file. I looked at all new files in both
the project directory and the compiler's BIN directory. At one time I had
found a "tlink32.ini" with references to the "BrowserCache" with a size of
0x200. But that file seems to have disappeared. Also, I can't find where
to change the size of browser cache. Can you point me to this? Thanks.
Alan
 

{smallsort}

Re:Incremental linker problem

Yes, tlink.ini is the file I was speaing about. It is created when there is
an overflow of an internal table and by altering the setting the table size
can be changed.
That file is the only way I know to change the browser cache size.
If I remember correctly there is some setting related to browser info in
object files. Maybe changing it will help. Look around in the IDE for that
option.
. Ed
Quote
Alan Jones wrote in message
news:42ae341a$ XXXX@XXXXX.COM ...

Ed, thanks. But I can't find the file. I looked at all new files
in both the project directory and the compiler's BIN
directory. At one time I had found a "tlink32.ini" with
references to the "BrowserCache" with a size of
0x200. But that file seems to have disappeared. Also,
I can't find where to change the size of browser cache.
Can you point me to this? Thanks.