473,781 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Internal linker error

Len
Hi All,

I intermittently get the following error "fatal error LNK1000: Internal
error during Pass2"
There doesn't appear to be any info on this error, the output window has the
following in it also:

Version 7.00.9466
ExceptionCode = C0000005

ExceptionFlags = 00000000

ExceptionAddres s = 103116D9 (10300000) "C:\Program Files\Microsoft Visual
Studio .NET\Common7\id e\mspdb70.dll"

NumberParameter s = 00000002

ExceptionInform ation[ 0] = 00000000

ExceptionInform ation[ 1] = 0000483B

CONTEXT:

Eax = 00004839 Esp = 0012EAA8

Ebx = 00004839 Ebp = 0012EAA8

Ecx = 08134D38 Esi = 048D1618

Edx = 00000000 Edi = 082E5B4C

Eip = 103116D9 EFlags = 00010246

SegCs = 0000001B SegDs = 00000023

SegSs = 00000023 SegEs = 00000023

SegFs = 00000038 SegGs = 00000000

Dr0 = 0012EAA8 Dr3 = 00004839

Dr1 = 0012EAA8 Dr6 = 08134D38

Dr2 = 00000000 Dr7 = 00000000

Has anyone else seen this one?

Cheers, (Sorry for the font change, straight copy and paste caused this :(

Len

Nov 16 '05 #1
3 1458
>I intermittently get the following error "fatal error LNK1000: Internal
error during Pass2"
...
Has anyone else seen this one?


I don't know if I've seen the exact same issue, but I've certainly
occasionally received the LNK1000 error. It usually disappears the
next time I build and I've never had a way of reproducing it.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 16 '05 #2

--------------------
From: "Len" <le***@immersiv etechnologies.c om>
Subject: Internal linker error
Date: Mon, 4 Aug 2003 10:12:03 +0800
Organization: WA Internet Association

Hi All,

I intermittently get the following error "fatal error LNK1000: Internal
error during Pass2"
There doesn't appear to be any info on this error, the output window has the following in it also:

Version 7.00.9466
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddres s = 103116D9 (10300000) "C:\Program Files\Microsoft Visual
Studio .NET\Common7\id e\mspdb70.dll"
NumberParameter s = 00000002
ExceptionInform ation[ 0] = 00000000
ExceptionInform ation[ 1] = 0000483B

CONTEXT:
Eax = 00004839 Esp = 0012EAA8
Ebx = 00004839 Ebp = 0012EAA8
Ecx = 08134D38 Esi = 048D1618
Edx = 00000000 Edi = 082E5B4C
Eip = 103116D9 EFlags = 00010246
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012EAA8 Dr3 = 00004839
Dr1 = 0012EAA8 Dr6 = 08134D38
Dr2 = 00000000 Dr7 = 00000000

Has anyone else seen this one?

Cheers, (Sorry for the font change, straight copy and paste caused this :(

Len


Len,

If you can reproduce this with a small test case, I would appreciate seeing
it. In the meantime, try turning off incremental linking (/incremental:no)
to see if the problem goes away or not. After taking a look at the address
where this happens, it appears to be a corrupted debug record of some sort,
and I would definitely want to see this.

Thanks

--
Dan Spalding, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.

Nov 16 '05 #3
Len
Thanks for responding to this,

Despite the error coming up on a semi frequent basis, it is difficult for me
to reproduce it as a test case. I am working on a solution that contains
several projects, however, this occurs when it tries to link to the
stdafx.obj file of a particular library that was built in the solution.

I will try and get around to making a test case for this, but I am
absolutely flat out so can't really promise anything soon.

Cheers,

Len
"Dan Spalding [MSFT]" <da**@online.mi crosoft.com> wrote in message
news:NQ******** ******@cpmsftng xa06.phx.gbl...

--------------------
From: "Len" <le***@immersiv etechnologies.c om>
Subject: Internal linker error
Date: Mon, 4 Aug 2003 10:12:03 +0800
Organization: WA Internet Association

Hi All,

I intermittently get the following error "fatal error LNK1000: Internal
error during Pass2"
There doesn't appear to be any info on this error, the output window has the
following in it also:

Version 7.00.9466
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddres s = 103116D9 (10300000) "C:\Program Files\Microsoft Visual Studio .NET\Common7\id e\mspdb70.dll"
NumberParameter s = 00000002
ExceptionInform ation[ 0] = 00000000
ExceptionInform ation[ 1] = 0000483B

CONTEXT:
Eax = 00004839 Esp = 0012EAA8
Ebx = 00004839 Ebp = 0012EAA8
Ecx = 08134D38 Esi = 048D1618
Edx = 00000000 Edi = 082E5B4C
Eip = 103116D9 EFlags = 00010246
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012EAA8 Dr3 = 00004839
Dr1 = 0012EAA8 Dr6 = 08134D38
Dr2 = 00000000 Dr7 = 00000000

Has anyone else seen this one?

Cheers, (Sorry for the font change, straight copy and paste caused this :(
Len


Len,

If you can reproduce this with a small test case, I would appreciate

seeing it. In the meantime, try turning off incremental linking (/incremental:no) to see if the problem goes away or not. After taking a look at the address where this happens, it appears to be a corrupted debug record of some sort, and I would definitely want to see this.

Thanks

--
Dan Spalding, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
12144
by: qazmlp | last post by:
const has internal linkage in C++, but external linkage in C. Am I right ? But, linker reports multiply-defined error if the following header is included in multiple .cpp files. // test_const.h #ifndef HEADER_TEST #define HEADER_TEST
6
8626
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to build my gui and dll projects, whose project, workspace, source files all resided on network drive mapped to H. The H mapping,
12
801
by: Baloff | last post by:
Hello I have this linker error which makes me think that the definition file is not being seen by the linker, this code is taken from "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions Guide" Using Dev-C++ 4.9.9.2, The error is: undefined reference to ‘f(int)’ all the following files are in the same dir. thanks
1
5010
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a simple GUI app to display datas queried from PostgreSQL. I did make the following changes in the project's settings: Project->Properties->Directories->Include path += C:\Program
9
2014
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but not sure how. It compiled just fine. Then I made a simple change and re-compiled, and got the 1215 error. After that I have to bring back in an old version of the code to make it work again (not fun)... This seems like a REAL LINKER error, not...
1
2270
by: Felix | last post by:
After porting a project from VC6 to VC.NET 2003 I have a very strange problem generating link error 1104 for import libraries. I just ported the project and made some small adaptions so it fits the new IDE. The project itself links against some import libraries belonging to dll's I wrote (these dll's have been ported too, of course). To keep things simple I only use one import library here. To tell the linker it should link against
4
29320
by: yOtA | last post by:
I get this Linker Errors while compiling my program: Error: Unresolved external 'vminit()' referenced from C:\TESTE\TESTE.OBJ Error: Unresolved external 'vmalloc(void *, int, unsigned int, unsigned int)' referenced from C:\TESTE\TESTE.OBJ Error: Unresolved external 'vmcomplete(void *)' referenced from C:\TESTE\TESTE.OBJ Error: Unresolved external 'LogError(char *, int, char *, int)' referenced from C:\TESTE\TESTE.OBJ
1
4163
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- Error: Unresolved external 'ImqMgr::~ImqMgr()' referenced from C:\DOCUMENTS AND SETTINGS\228753\MY DOCUMENTS\BORLAND STUDIO PROJECTS\DLLEXERCISE\DEBUG_BUILD\MANI.OBJ Error: Unresolved external 'ImqObj::~ImqObj()' referenced from C:\DOCUMENTS AND...
3
3600
by: Rahul | last post by:
Hi Everyone, I have the following polymorphic classes, class Shape { public : virtual void draw() { } virtual void sample();
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.