PDA

View Full Version : 2 Linking Errors, prs help


gredesh
03-04-2011, 09:08 PM
Got 2 linking errors that I don't really know how to fix, someone halp pls!

net.obj : error LNK2019: unresolved external symbol "public: __thiscall debug::debug(char *,int)" (??0debug@@QAE@PADH@Z) referenced in function "void __cdecl `dynamic initializer for 'dbg''(void)" (??__Edbg@@YAXXZ)
net.obj : error LNK2019: unresolved external symbol "public: __thiscall debug::~debug(void)" (??1debug@@QAE@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'dbg''(void)" (??__Fdbg@@YAXXZ)


Also, in the latest version of the source I don't seem to be able to compile as releaseperl, what gives?

gredesh
03-04-2011, 10:28 PM
Nevermind about the linking errors, was just a dbg i forgot to comment out.

Secrets
03-04-2011, 10:33 PM
Nevermind about the linking errors, was just a dbg i forgot to comment out.

ReleasePerl? What version are you compiling?

The latest version only has debug and release.

gredesh
03-05-2011, 01:39 AM
Oh ok, so they got rid of releaseperl?

One other problem i'm having is my perl plugins aren't working. Quests work, just the plugins don't. I have them in my quests/plugins/ folder, is there any other requirement? I've tried #questreload and #repop, as well as restarting the server.

blackdragonsdg
03-05-2011, 04:02 AM
One other problem i'm having is my perl plugins aren't working. Quests work, just the plugins don't. I have them in my quests/plugins/ folder, is there any other requirement? I've tried #questreload and #repop, as well as restarting the server.

You have to move the plugins from quests\plugins to your emulatordirectory\plugins folder. If the emulator is running when you do this then you will likely have to restart the emulator for the plugins to work.

gredesh
03-05-2011, 04:19 AM
Hrmm, still no good, restarted and all.

lerxst2112
03-05-2011, 04:42 AM
Windows or Linux? Linux is case sensitive for filenames, so you need to make sure you match what your config file says.

Have you looked in your logs? If there's a problem it most likely says so in there.

gredesh
03-05-2011, 05:14 AM
Windows, cool there does some to be some action in the logs now:

[03.05. - 01:08:07] Starting Log: logs/eqemu_quest_zone_0440.log
[03.05. - 01:08:07] Tying perl output to eqemu logs
[03.05. - 01:08:07] Creating EQEmuIO=HASH(0x2e34cd4)
[03.05. - 01:08:07] Creating EQEmuIO=HASH(0x2e26774)
[03.05. - 01:08:07] Loading perlemb plugins.
[03.05. - 01:08:07] "my" variable $Item1 masks earlier declaration in same scope at plugins/quest_handin.pl line 19.
[03.05. - 01:08:07] "my" variable $Item2 masks earlier declaration in same scope at plugins/quest_handin.pl line 21.
[03.05. - 01:08:07] "my" variable $Item3 masks earlier declaration in same scope at plugins/quest_handin.pl line 23.
[03.05. - 01:08:07] "my" variable $Item4 masks earlier declaration in same scope at plugins/quest_handin.pl line 25.
[03.05. - 01:08:07] Loading perl commands...
[03.05. - 01:08:09] Unquoted string "salute" may clash with future reserved word at quests/firiona/Gianv_Tasmar.pl line 5.
[03.05. - 01:08:15] Unable to read perl file 'quests/spells/312.pl'
[03.05. - 01:08:15] Unable to read perl file 'quests/spells/11.pl'
[03.05. - 01:08:16] Unable to read perl file 'quests/spells/288.pl'
[03.05. - 01:08:16] Unable to read perl file 'quests/spells/226.pl'
[03.05. - 01:08:16] Unable to read perl file 'quests/spells/225.pl'
[03.05. - 01:08:17] Unable to read perl file 'quests/spells/314.pl'
[03.05. - 01:08:17] Unable to read perl file 'quests/spells/481.pl'
[03.05. - 01:08:17] Unable to read perl file 'quests/spells/246.pl'
[03.05. - 01:08:17] Unable to read perl file 'quests/spells/219.pl'
[03.05. - 01:08:18] Unable to read perl file 'quests/spells/269.pl'
[03.05. - 01:08:18] Unable to read perl file 'quests/spells/263.pl'
[03.05. - 01:08:18] Unable to read perl file 'quests/spells/228.pl'
[03.05. - 01:08:19] Unable to read perl file 'quests/spells/491.pl'
[03.05. - 01:08:20] Unable to read perl file 'quests/spells/351.pl'
[03.05. - 01:08:20] Unable to read perl file 'quests/spells/654.pl'
[03.05. - 01:08:20] Unable to read perl file 'quests/spells/89.pl'
[03.05. - 01:08:22] Unable to read perl file 'quests/spells/227.pl'
[03.05. - 01:08:22] Unable to read perl file 'quests/spells/39.pl'
[03.05. - 01:08:23] Unable to read perl file 'quests/spells/274.pl'
[03.05. - 01:08:24] Unable to read perl file 'quests/spells/683.pl'
[03.05. - 01:08:25] Unable to read perl file 'quests/spells/19.pl'
[03.05. - 01:08:25] Unable to read perl file 'quests/spells/67.pl'
[03.05. - 01:08:25] Unable to read perl file 'quests/spells/176.pl'
[03.05. - 01:08:26] Unable to read perl file 'quests/spells/268.pl'
[03.05. - 01:08:27] Unable to read perl file 'quests/spells/40.pl'
[03.05. - 01:08:27] Unable to read perl file 'quests/spells/362.pl'
[03.05. - 01:08:28] Unable to read perl file 'quests/firiona/player.pl'
[03.05. - 01:08:29] Unable to read perl file 'quests/spells/309.pl'
[03.05. - 01:08:31] Unable to read perl file 'quests/spells/215.pl'
[03.05. - 01:08:31] Unable to read perl file 'quests/spells/1445.pl'
[03.05. - 01:08:31] Unable to read perl file 'quests/spells/254.pl'
[03.05. - 01:08:32] Unable to read perl file 'quests/spells/484.pl'
[03.05. - 01:08:34] Unable to read perl file 'quests/spells/697.pl'
[03.05. - 01:08:36] Unable to read perl file 'quests/spells/172.pl'
[03.05. - 01:08:39] Unable to read perl file 'quests/spells/64.pl'
[03.05. - 01:08:39] Unable to read perl file 'quests/spells/650.pl'
[03.05. - 01:08:44] Unable to read perl file 'quests/spells/648.pl'
[03.05. - 01:08:50] Unable to read perl file 'quests/spells/690.pl'
[03.05. - 01:08:55] Unable to read perl file 'quests/spells/171.pl'
[03.05. - 01:09:08] Unable to read perl file 'quests/spells/689.pl'
[03.05. - 01:09:16] Unable to read perl file 'quests/spells/653.pl'
[03.05. - 01:09:23] Unable to read perl file 'quests/spells/1408.pl'
[03.05. - 01:09:30] Unable to read perl file 'quests/spells/191.pl'
[03.05. - 01:09:35] Unable to read perl file 'quests/spells/174.pl'
[03.05. - 01:10:27] Destroying EQEmuIO=HASH(0x2e26774)
[03.05. - 01:10:27] Destroying EQEmuIO=HASH(0x2e34cd4)

gredesh
03-05-2011, 05:33 AM
Ahah! Got it working! I didn't know the plugins I was trying were dependent on other plugins :). So i guess I was doing 2 things wrong... Thanks for your help!

Secrets
03-08-2011, 01:37 AM
Oh ok, so they got rid of releaseperl?

One other problem i'm having is my perl plugins aren't working. Quests work, just the plugins don't. I have them in my quests/plugins/ folder, is there any other requirement? I've tried #questreload and #repop, as well as restarting the server.

Yes they got rid of releaseperl, perl is included by default. Don't depend on perl for everything; it's got horrid memleaks in it.

gredesh
03-08-2011, 07:35 PM
Yes they got rid of releaseperl, perl is included by default. Don't depend on perl for everything; it's got horrid memleaks in it.

Ok thanks, good to know about perl.