C++ Builder IDE >> LME#351 linker error

by Larry Griffiths » Thu, 24 Nov 2005 01:53:18 GMT

I am using BCB 5.

I am getting a LME351 Linker Error, Cannot reserve virtual memory.

Report# 2992 suggests that linker update from 7/13/04 might resolve the
problem.

I went to the following website...

http://bdn.borland.com/article/0,1410,32448,00.html

and click on ...

Borland C++Builder 6 customers can download the update from here

which takes me to ...

http://www.borland.com/products/downloads/download_cbuilder.html

but alas, no linker update is listed on this web page.

Help !




C++ Builder IDE >> LME#351 linker error

by Larry Griffiths » Thu, 24 Nov 2005 02:55:42 GMT


I found the download for 5.66 on another web page under the Updates.

http://www.borland.com/downloads/registered/download_cbuilder.html

I have another question, though. Is it safe/ok to use ilink32 pro version
5.66
with builder version 5 professional?





C++ Builder IDE >> LME#351 linker error

by Michel Leunen » Thu, 24 Nov 2005 03:06:03 GMT



I don't think Borland guarantees that obj files created with one
compiler version is compatible with the others. That being said, I
sometimes use ilink 5.66 to link obj files created with BCB5 with no
problem so far.

Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------


LME#351 linker error

by Ed Mulroy » Thu, 24 Nov 2005 06:04:27 GMT

> Is it safe/ok to use ilink32 pro version 5.66 with builder version 5

Yes.

. Ed







Similar Threads

1. LME 351 - C++ Builder IDE

2. Stuck on a linker error for 2 weeks LME1482 LME 1707

go to tamarack and use their search engine....basically its a matter of 
setting your env, eg, don't have anything else in memory, set linker to no 
rtl, no state files,no packages....try that & see what you find...also make 
sure all latest patches are installed....finally upgrade to BDS2006...no 
such problems [ at least for me]
"E B" < XXXX@XXXXX.COM > wrote in message 
news: XXXX@XXXXX.COM ...
> Hi,
>
> I'm stuck for 2 weeks on a linker error LME 1482 and LME 1707 occur when 
> linking my exe.
>
> I have tried to rebuild everything after having cleaned every possible 
> .obj, .lib, .bpi ... because I already noticed that doing this sometimes 
> helps.
>
> But nothing works. Does anybody have any information that might help me ?
>
> thank you 


3. YALE (Yet another linker error) [Linker Error] Fatal: Error detected (ILI4482) - C++ Builder IDE

4. British Airways risks 351 lives to avoid European fines

5. [Linker Error] Error: Error processing module C:\PROGRAM FILES\BORLAND\BDS\4.0\LIB\VCL100.#0A - Borland C++ Builder VCL Components

6. Bizarre [Linker Warning] followed by Linker error

I've been Borlanding for 6 years...what is causing this??? and out of the 
blue I get an unresolved for something that is clearly defined in 
comdef...any ideas. Thanks in advance.

[Linker Warning] Warning: LINN32: Last line 22468 (57C4h) is less than first 
line 22468 (57C4h) for symbol "Dates::getNrd(RetireClass&, DateClass&)" in 
module M:\Bcb\Src\employee.cpp
[Linker Warning] Warning: LINN32: Last line 19372 (4BACh) is less than first 
line 19372 (4BACh) for symbol "Dates::getErd(RetireClass&, DateClass&)" in 
module M:\Bcb\Src\employee.cpp
[Linker Warning] Warning: LINN32: Last line 16372 (3FF4h) is less than first 
line 16372 (3FF4h) for symbol "PlnClass::getAccruedBenefitService(int&)" in 
module M:\Bcb\Src\getAccruedAndBenefitService.cpp
[Linker Warning] Warning: LINN32: Last line 18492 (483Ch) is less than first 
line 18492 (483Ch) for symbol "PlnClass::calculatePlanYearService(int&, 
DateClass&, DateClass&, kHoursCalculationCode&, kYearCalculationCode&, 
double&, double&, double&, DateClass&, DateClass&)" in module 
M:\Bcb\Src\planrpts.cpp
[Linker Error] Error: Unresolved external '__stdcall _com_issue_error(long)' 
referenced from C:\BORLAND\AMSLIB.LIB|plan 


7. Linker Problems -- [Linker Fatal Error] Fatal: Unable to open file 'EXTCTRLS.OBJ' - C++ Builder IDE

8. Linker error LME 1564. Any ideas?

Russell Hind wrote:

> i) Split the project in to 2 (a dll about 3/4 size of the original
> exe, ~140 units and the exe which is now ~100 units).

IIRC, the 5.66 linker patch was addressing projects with a large number
of files.

If it helps, we break all our projects into static libs.  Most have ~10
cpp files, but even the largest will not break 30.

We don't seem to have a lot of the linker problems I hear about
elsewhere, and there seems to be a suggestion that this is helping our
build times (in the IDE) too.

I does mean we now have a lot of projects to manage, as well as a lot
of source, but everything has a tradeoff somewhere.


AlisdairM(TeamB)