error compiling mq2-20031203

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

deda
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 24, 2003 3:40 pm

error compiling mq2-20031203

Post by deda » Wed Dec 03, 2003 10:58 am

Getting this error trying to compile latest zip:

EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Dec 03, 2003 12:51 pm

I compiled with VS6 and VS.NET just fine, try doing a clean compile
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Wed Dec 03, 2003 1:25 pm

Same compile error

Linking...
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions

VS .net 2003

I compiled the MQ2-20031128a.zip 28-Nov-2003 00:12 643k
without any issues.

Let me make sure though.

Unzip file MQ2-Latest.zip
Copy my mq2auth1.h and mq2auth2.h into mq2main directory
Open the macroquest2.dsw (I tried the macroquest2.sln also)
Verify I am set for Release
Then build
- Even tried doing Batch Build
Try this.. before doing the MQ2Main build, hit Build->Clean
Build Clean Solution
Then Build Mq2main
- Error
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions

Build Clean Solution
Then Batch Build Release
- Error
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions



Thanks in advance,

Bob
Last edited by bob_the_builder on Wed Dec 03, 2003 1:49 pm, edited 1 time in total.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Dec 03, 2003 1:37 pm

Try this.. before doing the MQ2Main build, hit Build->Clean
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
Schark
orc pawn
orc pawn
Posts: 28
Joined: Sat Nov 29, 2003 5:37 am

Post by Schark » Wed Dec 03, 2003 2:04 pm

I get the same error in VS .NET 2003 while linking MQ2Main.dll:

EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions

Tried clean, and tried getting a fresh checkout from CVS. No luck :(

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Dec 03, 2003 3:19 pm

Confirmed. This is a problem.

Linker Tools Error LNK1279

invalid or corrupt file: file contains invalid .sxdata contributions

One of the input files to the linker had a .sxdata section, which contains exception handler information, but the content of the .sxdata section was invalid.

Try recompiling the module. If it still produces a file with invalid .sxdata section, then contact Microsoft Product Support Services.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Dec 03, 2003 3:50 pm

Code: Select all

[color=red]#if 0[/color]
#ifdef CXMLSOMDocumentBase__XMLRead
REVERSE_DETOUR(bool  CXMLSOMDocumentBase::XMLRead(class CXStr,class CXStr,class
CXStr),CXMLSOMDocumentBase__XMLRead);
#endif
[color=red]#endif[/color]
Add the lines in red. I have no idea why it fails...

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Wed Dec 03, 2003 4:33 pm

Downloaded
December 03 2003 18:57:05.
MQ2-20031203a.zip

Compiled correctly with no errors. Will try EXE tonight.

Bob