EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   Compile problems over the past couple days (https://www.eqemulator.org/forums/showthread.php?t=16736)

Elkay 11-01-2004 02:55 PM

Compile problems over the past couple days
 
For the past 2-3 days I've been having compile issues from CVS, and they still exist with the massive update as of a couple hours ago. I've tried with both VS 2002 and VS 2003 and get the exact same errors.

c:\Projects\temp\EQEmuCVS\Source\EMuShareMem\MMF.c pp(302): warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4661): error C2039: 'door_param' : is not a member of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4664): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\common\../zone\zonedump.h(176) : see declaration of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4661): error C2039: 'door_param' : is not a member of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4664): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\zonedump.h(1 76) : see declaration of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\doors.cpp(53 ): error C2039: 'door_param' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\doors.cpp(54 ): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\zonedump.h(1 76) : see declaration of 'Door'

Just a heads up that something on the CVS is probably out of sync from your local copies. I've also tried a clean download from SF with the same results.

Speedz 11-01-2004 04:38 PM

I'm glad I'm not the only one heh....been beating my compilers up over this :-(

Edgar1898 11-01-2004 07:21 PM

Re: Compile problems over the past couple days
 
Quote:

Originally Posted by Elkay
For the past 2-3 days I've been having compile issues from CVS, and they still exist with the massive update as of a couple hours ago. I've tried with both VS 2002 and VS 2003 and get the exact same errors.

c:\Projects\temp\EQEmuCVS\Source\EMuShareMem\MMF.c pp(302): warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4661): error C2039: 'door_param' : is not a member of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4664): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\common\../zone\zonedump.h(176) : see declaration of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4661): error C2039: 'door_param' : is not a member of 'Door'
C:\Projects\temp\EQEmuCVS\Source\common\database.c pp(4664): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\zonedump.h(1 76) : see declaration of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\doors.cpp(53 ): error C2039: 'door_param' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\doors.cpp(54 ): error C2039: 'size' : is not a member of 'Door'
c:\Projects\temp\EQEmuCVS\Source\zone\zonedump.h(1 76) : see declaration of 'Door'

Just a heads up that something on the CVS is probably out of sync from your local copies. I've also tried a clean download from SF with the same results.

That problem has been fixed since this afternoon, its already on SF, in fact here is the link:
http://cvs.sourceforge.net/viewcvs.p....h?view=markup

Cisyouc 11-02-2004 03:17 AM

Edgar,
I'm still having problems with latest CVS.
Code:

--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
AA.cpp
aggro.cpp
attack.cpp
beacon.cpp
bonuses.cpp
client.cpp
client_mods.cpp
client_process.cpp
command.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
doors.cpp
effects.cpp
entity.cpp
EQEMuError.cpp
faction.cpp
forage.cpp
groups.cpp
guilds.cpp
hate_list.cpp
inventory.cpp
loottables.cpp
Map.cpp
mob.cpp
MobAI.cpp
net.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
npc.cpp
Object.cpp
parser.cpp
petitions.cpp
pets.cpp
PlayerCorpse.cpp
ptimer.cpp
spawn2.cpp
spawngroup.cpp
spdat.cpp
spell_effects.cpp
spells.cpp
tradeskills.cpp
trading.cpp
trap.cpp
waypoints.cpp
worldserver.cpp
zone.cpp
zonedbasync.cpp
classes.cpp
crc32.cpp
database.cpp
dbasync.cpp
dbcore.cpp
DBMemLeak.cpp
debug.cpp
EMuShareMem.cpp
EQNetwork.cpp
eqtime.cpp
Item.cpp
md5.cpp
misc.cpp
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
Error executing cl.exe.

Zone.exe - 2 error(s), 1 warning(s)


Elkay 11-02-2004 03:25 AM

Kind of odd thing happened here.. I downloaded from CVS about 30 minutes ago, it failed the same as it had been. Re-downloaded from scratch again about 10 minutes ago and it just successfully compiled. I think SF is WAY lagging right now. Give it another shot.

Cisyouc 11-02-2004 03:56 AM

Quote:

Originally Posted by Elkay
Kind of odd thing happened here.. I downloaded from CVS about 30 minutes ago, it failed the same as it had been. Re-downloaded from scratch again about 10 minutes ago and it just successfully compiled. I think SF is WAY lagging right now. Give it another shot.

Code:

--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
command.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
net.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894: templates cannot be declared to have 'C' linkage
Error executing cl.exe.

Zone.exe - 2 error(s), 1 warning(s)

Still not working.

Edgar1898 11-02-2004 04:25 AM

Your using VC 6.0?

Cisyouc 11-02-2004 04:26 AM

Yessir.

Elkay 11-02-2004 05:00 AM

I was using VS 2003 when mine finally successfully compiled. I'm at work right now though so I can't test it out yet.

Speedz 11-02-2004 07:36 AM

I'm useing VS 2003 and this time round got more errors than at my previous post...but I'ma programming noob so *shrug*

Elkay 11-02-2004 07:59 AM

Try it from a fresh CVS download into a new directory, don't try merging changes. I've noticed as of recent that CVS hasn't worked so well for merging and detecting changed files.

Cisyouc 11-02-2004 08:23 AM

Quote:

Originally Posted by Elkay
Try it from a fresh CVS download into a new directory, don't try merging changes. I've noticed as of recent that CVS hasn't worked so well for merging and detecting changed files.

I've been clearing it and redownloading...still, math.h error.

Xentar 11-02-2004 12:13 PM

Can any of you guys who are compiling the newest CVS post a compiled version of zone.exe and world.exe which fixes the latest black screen issue facing many of us who have switched to the Kunark DB?
Currently I can't get into my server nor can any of the other players who usually get on the server. Everyone is getting the black screen after char selection.

hypershadow66 11-02-2004 12:52 PM

With the new CVS i am getting 83 errors when it is linking. It is clearly all due to the new quest system and i dont know how to fix it. some of the errors are

Code:

Linking...
client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Client::DBAWComplete(unsigned char,class DBAsyncWork *)" (?DBAWComplete@Client@@UAEXEPAVDBAsyncWork@@@Z)
client.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClientLogs::unsubscribeAll(class Client *)" (?unsubscribeAll@ClientLogs@@QAEXPAVClient@@@Z)
command.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClientLogs::unsubscribeAll(class Client *)" (?unsubscribeAll@ClientLogs@@QAEXPAVClient@@@Z)
client.obj : error LNK2001: unresolved external symbol "class ClientLogs client_logs" (?client_logs@@3VClientLogs@@A)
command.obj : error LNK2001: unresolved external symbol "class ClientLogs client_logs" (?client_logs@@3VClientLogs@@A)
zone.obj : error LNK2001: unresolved external symbol "class ClientLogs client_logs" (?client_logs@@3VClientLogs@@A)


killspree 11-02-2004 01:15 PM

You need to add all the new quest files to your project.

hypershadow66 11-02-2004 02:02 PM

the embperl_XS.cpp files?

hypershadow66 11-02-2004 02:50 PM

I added the files, and did combinations of the files, and commented out some lines that fathernitwit said to do. Nothing has worked and im still getting the same 83 errors.

killspree 11-02-2004 02:58 PM

Oh I see what your problem is, you need to add client_logs.cpp/.h to the project...and maybe client_packet.cpp, haven't checked to see if it's required as well.

hypershadow66 11-02-2004 03:00 PM

kk thanks, should i remove the perlXS files?

killspree 11-02-2004 04:02 PM

It looks like it's not compiling with vs 6.0, i fthat's what you're using. I can't get perl to compile wit hit, but then again when I compile it without perl it goes nuts starting world/zone, and spams the screen forcing me to close the process.[/list]

hypershadow66 11-02-2004 04:22 PM

yeah it wont compile no matter what im adding. Do you happen to have the 31'st source?

killspree 11-02-2004 04:25 PM

Don't think I have it.

hypershadow66 11-02-2004 04:39 PM

Do you know who would?

Elkay 11-02-2004 04:56 PM

Just upgraded to VS in the past couple days.. probably not a great time to do so but I needed to due to work.. it compiles 100% fine, unfortunately I absolutely cannot get it to execute right.. it starts to run then beeps and throws all kinds of nice ASCII characters until I end process.. on my laptop where I do all my compiles it tries using db.ini which it can't find obviously and keeps looping without a blatant crash.. Maybe going to try to concurrently reinstalling 2002 just to compile and see what happens.. will let you know. All I know at this point is.. current CVS + VS 2003 = No.

hypershadow66 11-02-2004 05:14 PM

I guess I'll just wait a couple days and hope the CVS gets back on track

Edgar1898 11-02-2004 05:16 PM

I'm working on getting the compile issues fixed.

Edgar1898 11-02-2004 05:27 PM

Btw, until I get the compile issues worked out on VC 6, I would suggest running the precompile ones I'm uploading to cvs. I installed perl on my system finally so I will be compiling a perl version on a regular basis as well.

Elkay 11-02-2004 05:49 PM

No problem running pre-compiled at all, if only I could open the zips. Winzip won't open them and hasn't been able to ever, afaik. Any suggestion for a winxp compatible decompressor for the zips in CVS? BTW LE, any plans on shifting to VS 2k3 anytime? I know 2k5 is still beta so no expectation on that.

Edgar1898 11-02-2004 06:27 PM

Heh, I use WinZip to compress them, so I'm not sure why you cant decompress them using it. AFAIK I'm one of the few devs still using Windows to compile (most of them now work exclusively on *nix platforms). I got a legal copy of VS .net for free, so I dont plan on switching anytime soon :P

Edgar1898 11-02-2004 06:38 PM

http://www.eqemulator.net/forums/viewtopic.php?p=105092

Elkay 11-02-2004 06:39 PM

Ok will definitely be reinstalling VS 2002 then.. good thing I have MSDN via work. Not sure whether the problem launching the EXEs at this point is due to the difference in the versions, since I can now compile but when executing I now get problems. At that point I almost have to assume the problem is the version difference, at least to get it executing properly.

killspree 11-02-2004 06:54 PM

Hmm yeah still getting the executing problems here too, lots of ascii spam like before.

Edit: Even having the problems with the pre-compiled versions you linked LE.

Elkay 11-02-2004 06:57 PM

Quote:

Originally Posted by killspree
Hmm yeah still getting the executing problems here too, lots of ascii spam like before.

Are you 2K2 or 2K3? 2K3 would make me feel a little better. Would love to not have to run concurrent versions if I don't have to.

killspree 11-02-2004 06:58 PM

Sorry, just edited my post. Meant about the pre-compiled versions too. I've been using vs 6.0 but will probably be upgrading to .net 2k3 some time soon anyway.

Elkay 11-02-2004 07:01 PM

Quote:

Originally Posted by killspree
Sorry, just edited my post. Meant about the pre-compiled versions too. I've been using vs 6.0 but will probably be upgrading to .net 2k3 some time soon anyway.

So the precompiled versions are giving you the same spam? That would make me feel even better hehe. /rude LE.. haha jk bro ;) Back to my backups! =)

killspree 11-02-2004 07:02 PM

Ya, same spam with pre-compiles.

Edgar1898 11-02-2004 07:47 PM

kk, Yah I just noticed it myself. It was caused by an overloaded function called EQEMuLog::write that FNW added in with his changes. Apparently it worked fine on linux, but it caused all kinds of problems on Windows (as you can tell). I'm uploading some fixed versions now. Give me 5 minutes or so and they will be there. The specific problem was in database.cpp on line 4211. I dont have time to debug it fully, so I just took out the argument that was causing it to use his new function.

Edgar1898 11-02-2004 08:08 PM

They are uploaded, btw to save yuorself some trouble: Apparently if your faction tables arent correct, it just exits the program when it tries to read those tables. Run this query:

Quote:

ALTER TABLE `npc_faction_entries` ADD `npc_value` INT(11) UNSIGNED DEFAULT "0" NOT NULL
Dont ask me why it just exits the program (I didnt write that)

killspree 11-02-2004 08:24 PM

Hmm new error using the new perl compile:

[Error] HandlePacket() Opcode error: Unexpected packet during CLIENT_CONNECTING:
opcode: 0x%04x, size: %i Error message: %s Client error: %s dbasync->Add
Work() returned false, client crash SELECT faction_id,current_value FROM fac
tion_values WHERE char_id = %i SELECT id,profile,zonename,x,y,z,guild,guildrank
FROM character_ WHERE id=%i
Unexpected packet during CLIENT_CONNECTING: OpCode: 0x0355, size: 4
0: 48 1F 73 00 | H.s.

Did I miss a db change I should have sourced in?

killspree 11-02-2004 08:47 PM

For some reason anything after a logfile->write() is being printed to zone.exe. For example the shielding messages are being printed there. I've been commenting out the various logfile->write() in client_packet.cpp to see if I can avoid crashing and each time I can get further along prior to crashing.

Edit: Still locking up shortly after logging in for some reason.


All times are GMT -4. The time now is 09:43 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.