EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   Compile Errors in Rev668 (https://www.eqemulator.org/forums/showthread.php?t=28586)

blackdragonsdg 06-15-2009 04:51 PM

Compile Errors in Rev668
 
I attempted to compile Rev668 twice and got these errors both times.


Error 8 error C2664: 'void Client::Message_StringID(int32,int32,int32)' : cannot convert parameter 2 from 'const char [18]' to 'int32' c:\Program Files (x86)\EQEmu Source\EQEmu Source\zone\client_packet.cpp 2020

Error 9 error C2662: 'Client::GetClientVersion' : cannot convert 'this' pointer from 'const Client' to 'Client &' c:\Program Files (x86)\EQEmu Source\EQEmu Source\zone\client_mods.cpp 44

KLS 06-15-2009 05:06 PM

Should be fixed now.

trevius 06-15-2009 06:22 PM

Sorry about the compile errors I have caused lately lol. I swear I test them on Linux before committing, but apparently Windows seems to be more sensitive about some things than Linux is. I have seen compile errors from a few people lately, but I think it is just due to the big changes that we have all be making lately. There are bound to be mistakes and between testing and compiling the code and editing it before committing, sometimes something small can get missed. I always try to make sure that the very last thing I do before committing is to run one last compile with every change in to be as sure as possible that it is all good.

I guess the good thing is that most of the compile issues aren't too hard to fix, and get resolved really quickly. I have probably fixed 2 revisions from others that had compile issues recently. Not a big deal IMO, though there is always room for improvement :) Just making sure no one is getting too upset over the compile issues lately, lol.

cavedude 06-15-2009 08:06 PM

Minor inconveniences, don't let it bother you. Though, it was a nice change. Usually compile errors only effect Linux boxes around here!

gaeorn 06-15-2009 08:42 PM

Quote:

Originally Posted by cavedude (Post 172227)
Minor inconveniences, don't let it bother you. Though, it was a nice change. Usually compile errors only effect Linux boxes around here!

... or 64bit linux boxes.

Zandig 06-15-2009 09:02 PM

Rev 670 compiles fine, however crashes on ZONE.EXE

Code:



*----> Module List <----*
(0000000000400000 - 00000000008f7000: C:\EQEmu\zone.exe
(0000000010000000 - 0000000010034000: C:\EQEmu\EMuShareMem.dll
(0000000028000000 - 00000000280db000: C:\Perl\bin\perl510.dll
(000000005d090000 - 000000005d12a000: C:\WINDOWS\system32\comctl32.dll
(00000000662b0000 - 0000000066308000: C:\WINDOWS\system32\hnetcfg.dll
(0000000071a50000 - 0000000071a8f000: C:\WINDOWS\System32\mswsock.dll
(0000000071a90000 - 0000000071a98000: C:\WINDOWS\System32\wshtcpip.dll
(0000000071aa0000 - 0000000071aa8000: C:\WINDOWS\system32\WS2HELP.dll
(0000000071ab0000 - 0000000071ac7000: C:\WINDOWS\system32\WS2_32.dll
(0000000071ad0000 - 0000000071ad9000: C:\WINDOWS\system32\WSOCK32.dll
(0000000076390000 - 00000000763ad000: C:\WINDOWS\system32\IMM32.DLL
(0000000076f20000 - 0000000076f47000: C:\WINDOWS\system32\DNSAPI.dll
(0000000076f60000 - 0000000076f8c000: C:\WINDOWS\system32\WLDAP32.dll
(0000000076fb0000 - 0000000076fb8000: C:\WINDOWS\System32\winrnr.dll
(0000000076fc0000 - 0000000076fc6000: C:\WINDOWS\system32\rasadhlp.dll
(00000000773d0000 - 00000000774d3000: C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
(0000000077b40000 - 0000000077b62000: C:\WINDOWS\system32\Apphelp.dll
(0000000077c00000 - 0000000077c08000: C:\WINDOWS\system32\VERSION.dll
(0000000077c10000 - 0000000077c68000: C:\WINDOWS\system32\msvcrt.dll
(0000000077dd0000 - 0000000077e6b000: C:\WINDOWS\system32\ADVAPI32.dll
(0000000077e70000 - 0000000077f02000: C:\WINDOWS\system32\RPCRT4.dll
(0000000077f10000 - 0000000077f59000: C:\WINDOWS\system32\GDI32.dll
(0000000077f60000 - 0000000077fd6000: C:\WINDOWS\system32\SHLWAPI.dll
(0000000077fe0000 - 0000000077ff1000: C:\WINDOWS\system32\Secur32.dll
(000000007c800000 - 000000007c8f6000: C:\WINDOWS\system32\kernel32.dll
(000000007c900000 - 000000007c9b2000: C:\WINDOWS\system32\ntdll.dll
(000000007c9c0000 - 000000007d1d7000: C:\WINDOWS\system32\SHELL32.dll
(000000007e410000 - 000000007e4a1000: C:\WINDOWS\system32\USER32.dll

*----> State Dump for Thread Id 0x6ac <----*

eax=047c000c ebx=7ffdf000 ecx=00000000 edx=7efefeff esi=00000000 edi=04f3a470
eip=006d64a3 esp=0013f9c0 ebp=0013fc08 iopl=0        nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000            efl=00000246

*** ERROR: Module load completed but symbols could not be loaded for C:\EQEmu\zone.exe
function: zone
        006d6486 84d2            test    dl,dl
        006d6488 7466            jz      zone+0x2d64f0 (006d64f0)
        006d648a 8817            mov    [edi],dl
        006d648c 83c701          add    edi,0x1
        006d648f f7c103000000    test    ecx,0x3
        006d6495 75ea            jnz    zone+0x2d6481 (006d6481)
        006d6497 eb05            jmp    zone+0x2d649e (006d649e)
        006d6499 8917            mov    [edi],edx
        006d649b 83c704          add    edi,0x4
        006d649e bafffefe7e      mov    edx,0x7efefeff
FAULT ->006d64a3 8b01            mov    eax,[ecx]        ds:0023:00000000=????????
        006d64a5 03d0            add    edx,eax
        006d64a7 83f0ff          xor    eax,0xffffffff
        006d64aa 33c2            xor    eax,edx
        006d64ac 8b11            mov    edx,[ecx]
        006d64ae 83c104          add    ecx,0x4
        006d64b1 a900010181      test    eax,0x81010100
        006d64b6 74e1            jz      zone+0x2d6499 (006d6499)
        006d64b8 84d2            test    dl,dl
        006d64ba 7434            jz      zone+0x2d64f0 (006d64f0)
        006d64bc 84f6            test    dh,dh

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be wrong.
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\EQEmu\EMuShareMem.dll -
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -
ChildEBP RetAddr  Args to Child             
0013fc08 004f79d0 047c000c 00003e38 0013fc30 zone+0x2d64a3
0013fc18 100080cb 047c000c 00003e38 100014df zone+0xf79d0
0013fc30 10007fa8 004f79c0 008cd588 007879c8 EMuShareMem+0x80cb
0013fc48 004f7a84 004f79c0 008cd588 007879c8 EMuShareMem+0x7fa8
0013fc64 004f6449 00000000 00000000 7ffdf000 zone+0xf7a84
0013ff78 006de93f 00000003 003c3048 003c3080 zone+0xf6449
0013ffc0 7c817077 00000000 00000000 7ffdf000 zone+0x2de93f
0013fff0 00000000 006de996 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49

*----> Raw Stack Dump <----*
000000000013f9c0  00 00 00 00 d2 7c 4f 00 - 70 a4 f3 04 00 00 00 00  .....|O.p.......
000000000013f9d0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 48 42  ..............HB
000000000013f9e0  1c fa 13 00 98 8a 3c 00 - 21 00 00 00 04 00 00 00  ......<.!.......
000000000013f9f0  a4 1f 00 00 75 1d 00 00 - 08 80 eb 00 00 00 00 00  ....u...........
000000000013fa00  00 00 00 00 00 00 00 00 - 28 fa 13 00 c0 b9 80 7c  ........(......|
000000000013fa10  20 07 00 00 02 00 00 00 - 00 50 eb 00 00 00 7c 04  ........P....|.
000000000013fa20  00 00 00 00 2a da 90 7c - c7 24 80 7c fa cf 90 7c  ....*..|.$.|...|
000000000013fa30  2b 9c 80 7c 30 07 00 00 - 18 fc 13 00 b8 3e 00 10  +..|0........>..
000000000013fa40  30 07 00 00 00 00 00 00 - 00 00 00 00 00 f0 fd 7f  0...............
000000000013fa50  00 00 00 00 cc d8 02 10 - 6d 65 6d 66 69 6c 65 6d  ........memfilem
000000000013fa60  61 70 5f 45 51 45 4d 75 - 53 70 65 6c 6c 73 00 00  ap_EQEMuSpells..
000000000013fa70  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fa80  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fa90  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013faa0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fab0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fac0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fad0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013fae0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000013faf0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................

*----> State Dump for Thread Id 0xc04 <----*

eax=006dda4d ebx=00fdfeb8 ecx=00000004 edx=7c9116a6 esi=00000000 edi=7ffdf000
eip=7c90e514 esp=00fdfe90 ebp=00fdff2c iopl=0        nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000            efl=00000246

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll -
function: ntdll!KiFastSystemCallRet
        7c90e4fa e829000000      call    ntdll!RtlRaiseException (7c90e528)
        7c90e4ff 8b0424          mov    eax,[esp]
        7c90e502 8be5            mov    esp,ebp
        7c90e504 5d              pop    ebp
        7c90e505 c3              ret
        7c90e506 8da42400000000  lea    esp,[esp]
        7c90e50d 8d4900          lea    ecx,[ecx]
        ntdll!KiFastSystemCall:
        7c90e510 8bd4            mov    edx,esp
        7c90e512 0f34            sysenter
        ntdll!KiFastSystemCallRet:
        7c90e514 c3              ret
        7c90e515 8da42400000000  lea    esp,[esp]
        7c90e51c 8d642400        lea    esp,[esp]
        ntdll!KiIntSystemCall:
        7c90e520 8d542408        lea    edx,[esp+0x8]
        7c90e524 cd2e            int    2e
        7c90e526 c3              ret
        7c90e527 90              nop
        ntdll!RtlRaiseException:
        7c90e528 55              push    ebp
        7c90e529 8bec            mov    ebp,esp

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be wrong.
ChildEBP RetAddr  Args to Child             
00fdff2c 7c80a115 00000002 003c8f90 00000000 ntdll!KiFastSystemCallRet
00fdff48 0062d9b2 00000002 003c8f90 00000000 kernel32!WaitForMultipleObjects+0x18
00fdff68 0063ba5f 003c8f60 00fdffac 006dda27 zone+0x22d9b2
00fdff74 006dda27 003c8f60 6b3c644d 7c91084c zone+0x23ba5f
00fdffac 006ddac3 00fdffec 7c80b729 003c8cb8 zone+0x2dda27
00fdffb4 7c80b729 003c8cb8 7c91084c 003c7e20 zone+0x2ddac3
00fdffec 00000000 006dda4d 003c8cb8 00000000 kernel32!GetModuleFileNameA+0x1ba

*----> Raw Stack Dump <----*
0000000000fdfe90  4a df 90 7c 90 95 80 7c - 02 00 00 00 b8 fe fd 00  J..|...|........
0000000000fdfea0  01 00 00 00 00 00 00 00 - 00 00 00 00 4c 08 91 7c  ............L..|
0000000000fdfeb0  20 7e 3c 00 b8 8c 3c 00 - 40 07 00 00 3c 07 00 00  ~<...<.@...<...
0000000000fdfec0  ff ff ff ff dc fe fd 00 - dc fe fd 00 00 00 00 00  ................
0000000000fdfed0  19 6d 00 00 c0 1f 26 00 - 14 00 00 00 01 00 00 00  .m....&.........
0000000000fdfee0  00 00 00 00 00 00 00 00 - 10 00 00 00 00 00 44 65  ..............De
0000000000fdfef0  63 6f 64 65 50 6f 69 6e - 00 f0 fd 7f 00 d0 fd 7f  codePoin........
0000000000fdff00  e4 63 c6 81 00 00 00 00 - b8 fe fd 00 1d 22 51 80  .c..........."Q.
0000000000fdff10  02 00 00 00 ac fe fd 00 - 24 fc c6 b3 9c ff fd 00  ........$.......
0000000000fdff20  d8 9a 83 7c 80 96 80 7c - 00 00 00 00 48 ff fd 00  ...|...|....H...
0000000000fdff30  15 a1 80 7c 02 00 00 00 - 90 8f 3c 00 00 00 00 00  ...|......<.....
0000000000fdff40  ff ff ff ff 00 00 00 00 - 68 ff fd 00 b2 d9 62 00  ........h.....b.
0000000000fdff50  02 00 00 00 90 8f 3c 00 - 00 00 00 00 ff ff ff ff  ......<.........
0000000000fdff60  90 8f 3c 00 78 8f 3c 01 - 74 ff fd 00 5f ba 63 00  ..<.x.<.t..._.c.
0000000000fdff70  60 8f 3c 00 ac ff fd 00 - 27 da 6d 00 60 8f 3c 00  `.<.....'.m.`.<.
0000000000fdff80  4d 64 3c 6b 4c 08 91 7c - 20 7e 3c 00 b8 8c 3c 00  Md<kL..| ~<...<.
0000000000fdff90  80 ff fd 00 80 ff fd 00 - dc ff fd 00 dc ff fd 00  ................
0000000000fdffa0  90 6e 6e 00 21 dc b9 6b - 00 00 00 00 b4 ff fd 00  .nn.!..k........
0000000000fdffb0  c3 da 6d 00 ec ff fd 00 - 29 b7 80 7c b8 8c 3c 00  ..m.....)..|..<.
0000000000fdffc0  4c 08 91 7c 20 7e 3c 00 - b8 8c 3c 00 00 d0 fd 7f  L..| ~<...<.....


blackdragonsdg 06-15-2009 09:32 PM

The code changes KLS made fixed the compile problem and it is working fine now. Trevius don't let a few compile errors bother you those can happen to anyone at anytime.

Zandig, I got a crash error with zone.exe as well with revision 669 and it was just a compatibility issue between the database and the emulator. Updating to the newest peq database fixed the problem.

Domel 06-15-2009 09:53 PM

I usually learn something new whenever it happens, so It's all good :cool:

Zandig 06-15-2009 11:12 PM

Quote:

Originally Posted by blackdragonsdg (Post 172253)
The code changes KLS made fixed the compile problem and it is working fine now. Trevius don't let a few compile errors bother you those can happen to anyone at anytime.

Zandig, I got a crash error with zone.exe as well with revision 669 and it was just a compatibility issue between the database and the emulator. Updating to the newest peq database fixed the problem.

Roger that, updated to the newest database (669) and all seems to be well.


All times are GMT -4. The time now is 10:15 PM.

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