Fatal error U1095

Login to reply to this topic.
Mon, 2003-07-14 16:47
Joined: 2003-06-29
Forum posts: 4
I got this error when compiling using abld build armi:

NMAKE : fatal error U1095: expanded command line 'ld  -s -e _E32Dll -u _E32Dll " <LOTS OF LIBRARIES>  ' too long


My MMP file contains following libraries:

LIBRARY edll.lib euser.lib apparc.lib cone.lib eikcore.lib eikcoctl.lib
LIBRARY egul.lib commonengine.lib efsrv.lib esock.lib insock.lib  eikctl.lib estor.lib
LIBRARY apgrfx.lib cameraserver.lib fbscli.lib
LIBRARY avkon.lib bafl.lib palbview.lib aknnotify.lib

It seems that the compiler can't handle so many libraries. How to get this work?

Mon, 2003-07-14 18:17
Joined: 2003-05-27
Forum posts: 363
Fatal error U1095
Do you have MSVC Service Pack 5 ( or later ) installed ? I have had projects with many more libraries linked to than what you list so I suspect this is a problem with the configuration of your tools.

Cheers,
Pawel
Mon, 2003-07-14 18:30
Joined: 2003-06-29
Forum posts: 4
Fatal error U1095
Intresting..  Are you using Visual C++ 6.0 or .NET? I have .NET. Could that be a problem?
Tue, 2003-07-15 10:50
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2009
Fatal error U1095
I also have several projects with more libraries that compile without any issues (not using the MS Service Pack - problably I should download it one day !) - using Win 2000 or XP and Visual C++.

Could it be an issue with the memory size allocated for the DOS environment (like in the old days of Win9x) ?

Eric

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Tue, 2003-07-15 11:58
Anonymous (not verified)
Forum posts: 2043
Fatal error U1095
Thanks eric! Because of your reply I made some creative thinking and found Microsoft Visual .NET Command Prompt which solves the case. It compiles fine under that.
Wed, 2006-05-31 14:55
Joined: 2006-05-31
Forum posts: 7
Re: Fatal error U1095
Seconded. Using the Visual Studio Command Prompt gave me a successful compilation while the MSDOS prompt failed because the command became too long.

Manu.
  • Login to reply to this topic.