AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Unable to load plugin, selfcompiled MM:S (https://forums.alliedmods.net/showthread.php?t=305943)

Sen66 03-10-2018 13:38

Unable to load plugin, selfcompiled MM:S
 
Hey there,
I want to compile MM:S myself and run it on my servers. It compiles without problems but when I want to load it on my server it creates a "metamod-fatal.log" file with the following content:
Detected engine 11 but could not find GetVspBridge callback
I tried googling and searching what causes this error but I give up...

I appreciate any help,
Sen66

EDIT:
It have been editing the plugin myself to get an error message why exactly it does not load. it seems it can't find something:
metamod.2.csgo.so: undefined symbol: GetVspBridge
I compiled everything with the instructions on the wiki and my plugin I compiled has 1771KB and the official one from metamod has only 351 KB.

Fyren 03-10-2018 22:52

Re: Unable to load plugin, selfcompiled MM:S
 
What did you do to build MM:S?

Sen66 03-11-2018 08:39

Re: Unable to load plugin, selfcompiled MM:S
 
Quote:

Originally Posted by Fyren (Post 2582391)
What did you do to build MM:S?

I followed these instructions for sourcemod:
https://wiki.alliedmods.net/Building_SourceMod
But instead of compiling sourcemod I compiled mmsource-1.10 (I think that was the name). I used the same commands basically, made a build folder, used python ../configure.py, and did ambuild. I also tried only producing a csgo library by speciyfing -s csgo but doesnt work either.

Fyren 03-11-2018 12:21

Re: Unable to load plugin, selfcompiled MM:S
 
I built from freshly cloned repos and it loaded for me without issue. Are you using master? Can you clean out your build directory and attach the output from configure and ambuild?

Sen66 03-11-2018 15:29

Re: Unable to load plugin, selfcompiled MM:S
 
1 Attachment(s)
Quote:

Originally Posted by Fyren (Post 2582510)
I built from freshly cloned repos and it loaded for me without issue. Are you using master? Can you clean out your build directory and attach the output from configure and ambuild?

"Are you using master?"
I have gotten the repositories via git clone --recursive https://github.com/alliedmodders/sourcemod
I dont think thats the master one.
I looked through the build directory for some build log but couldnt find any so I attached a log of what I typed into the console and what the server outputed. If you want any log file, please tell me where it is located.

Regards,
Sen66

WildCard65 03-11-2018 16:51

Re: Unable to load plugin, selfcompiled MM:S
 
Quote:

Originally Posted by Sen66 (Post 2582539)
"Are you using master?"
I have gotten the repositories via git clone --recursive https://github.com/alliedmodders/sourcemod
I dont think thats the master one.
I looked through the build directory for some build log but couldnt find any so I attached a log of what I typed into the console and what the server outputed. If you want any log file, please tell me where it is located.

Regards,
Sen66

AMBuild only outputs to the console, if you want a build log, you need to redirect both stdout and stderr to a file.

Fyren 03-12-2018 03:35

Re: Unable to load plugin, selfcompiled MM:S
 
"master" is the default branch name for git. Doing "git clone --recursive https://github.com/alliedmodders/sourcemod" isn't going to get you the MM:S repo at all. SM's checkout-deps script will clone the 1.10 branch (which I tried just to check and it loaded fine for me).

Since it appears to be building fine, off the top of my head, I don't know what's wrong. Assuming our builds load on your server, you'll have to provide more info on what's different with your build environment.

asherkin 03-12-2018 08:52

Re: Unable to load plugin, selfcompiled MM:S
 
There are some known issues with AMBuild, GCC, and shared libraries - try a build with Clang:
CC=clang CXX=clang++ python ../configure.py -s csgo

Fyren 03-12-2018 19:04

Re: Unable to load plugin, selfcompiled MM:S
 
With gcc 6.4 and 7.2, master works for me. The 1.10 branch is missing some changes that would be required for gcc.


All times are GMT -4. The time now is 17:32.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.