SA-MP Forums Archive
Server error...Plugin compilation related. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: Server error...Plugin compilation related. (/showthread.php?tid=69137)



Server error...Plugin compilation related. - XPlatform - 16.03.2009

Hello,

Recently I've installed a new version of a Linux operating system on my pc.

I can compile the code I wrote without any problems, It gives my a .so as I need.

When I go to start the server I get this:

Code:
[00:37:39] Server Plugins
[00:37:39] --------------
[00:37:39] Loading plugin: MyPlugin.so
[00:37:39] Failed (plugins/MyPlugin.so: wrong ELF class: ELFCLASS64)
[00:37:39] Loaded 0 plugins.
I did a little ******-ing, and found that the problem may be my operating system. 64-bit?
So from that I tried compiling with -m64 but It didn't make a difference.

Any help will be greatly appreciated,
Thanks,

Stephen


Re: Server error...Plugin compilation related. - Streetplaya - 15.11.2009

try -m32