Raised This Month: $51 Target: $400
 12% 

building of 1.9-dev failed


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 04-27-2018 , 03:45   building of 1.9-dev failed
#1

Code:
git clone --recursive https://github.com/alliedmodders/sourcemod -b 1.9-dev
... then fixed to branch=1.9-dev in checkout-deps from branch=1.10-dev
when try to compile sources, errors
Code:
[15016] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-unused -Wno-switch -Wno-array-bounds -msse -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -mfpmath=sse -Wno-maybe-uninitialized -O3 -std=c++11 -fno-exceptions -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -fvisibility-inlines-hidden -Wno-delete-non-virtual-dtor -Wno-invalid-offsetof -DHAVE_STDINT_H -DGNUC -DNDEBUG -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DSOURCEMOD_BUILD -DSM_USE_VERSIONLIB -DSM_GENERATED_BUILD -DSE_DODS=8 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_EYE=5 -DSE_NUCLEARDAWN=13 -DSE_INSURGENCY=19 -DSE_LEFT4DEAD2=15 -DSE_BLADE=18 -DSE_ORANGEBOX=3 -DSE_CSGO=21 -DSE_BMS=10 -DSE_CONTAGION=14 -DSE_EPISODEONE=1 -DSE_SDK2013=9 -DSE_DOI=20 -DSE_DARKMESSIAH=2 -DSE_LEFT4DEAD=12 -DSE_BLOODYGOODTIME=4 -DSE_ALIENSWARM=16 -DSE_CSS=6 -DSE_TF2=11 -DSOURCE_ENGINE=9 -DCOMPILER_GCC -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -DHOOKING_ENABLED -I /home/kgb1st/alliedmodders/sourcemod/public -I /home/kgb1st/alliedmodders/sourcemod/build/includes -I /home/kgb1st/alliedmodders/sourcemod/versionlib -I /home/kgb1st/alliedmodders/sourcemod/extensions/sdktools -I /home/kgb1st/alliedmodders/sourcemod/extensions/sdktools/sdk -I /home/kgb1st/alliedmodders/sourcemod/public/extensions -I /home/kgb1st/alliedmodders/sourcemod/sourcepawn/include -I /home/kgb1st/alliedmodders/sourcemod/public/amtl/amtl -I /home/kgb1st/alliedmodders/sourcemod/public/amtl -I /home/kgb1st/alliedmodders/mmsource-1.10/core -I /home/kgb1st/alliedmodders/mmsource-1.10/core/sourcehook -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/engine -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/mathlib -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/vstdlib -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/tier0 -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/tier1 -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/game/server -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/public/toolframework -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/game/shared -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/common -I /home/kgb1st/alliedmodders/hl2sdk-sdk2013/game/shared -I /home/kgb1st/alliedmodders/sourcemod/public/jit -I /home/kgb1st/alliedmodders/sourcemod/public/jit/x86 -H -c /home/kgb1st/alliedmodders/sourcemod/public/smsdk_ext.cpp -o _public_smsdk_ext.o
/home/kgb1st/alliedmodders/sourcemod/public/smsdk_ext.cpp: In function ‘void* CreateInterface(const char*, int*)’:
/home/kgb1st/alliedmodders/sourcemod/public/smsdk_ext.cpp:320:12: error: ‘META_IFACE_OK’ was not declared in this scope
    *code = META_IFACE_OK;
            ^
/home/kgb1st/alliedmodders/sourcemod/public/smsdk_ext.cpp:327:11: error: ‘META_IFACE_FAILED’ was not declared in this scope
   *code = META_IFACE_FAILED;
           ^
Build failed.

Last edited by ZASTRELIS; 04-27-2018 at 03:50.
ZASTRELIS is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-27-2018 , 06:46   Re: building of 1.9-dev failed
#2

Quote:
Originally Posted by ZASTRELIS View Post
... then fixed to branch=1.9-dev in checkout-deps from branch=1.10-dev
This is your problem, MM:S and SM version numbers are unrelated.

SourceMod 1.9 requires at least Metamod:Source 1.10, it will not compile against MM:S 1.9 (which is over 5 years old).
__________________

Last edited by asherkin; 04-27-2018 at 06:47.
asherkin is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 04-27-2018 , 10:30   Re: building of 1.9-dev failed
#3

I can't compile it on 1.10v too
ZASTRELIS is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-27-2018 , 10:56   Re: building of 1.9-dev failed
#4

Ok.
__________________
asherkin is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 04-27-2018 , 20:39   Re: building of 1.9-dev failed
#5

Quote:
Originally Posted by asherkin View Post
Ok.
Today I will be try again to compile, then correct information.

Last edited by ZASTRELIS; 04-27-2018 at 20:39.
ZASTRELIS is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 04-27-2018 , 22:18   Re: building of 1.9-dev failed
#6

If you're on windows and building with Windows x86 native build tools, then this might help you. It clones my fork (which is basically even w/ sm master at all times), so if you want sm's 1.9-dev you'll have to change the sm clone cmd

Code:
rmdir /S /Q alliedmodders
mkdir alliedmodders
cd alliedmodders

:: If you want YOUR sourcemod fork, change this url
git clone --recursive http://github.com/headline/sourcemod

git clone --recursive https://github.com/alliedmodders/metamod-source
git clone --recursive -b csgo http://github.com/alliedmodders/hl2sdk hl2sdk-csgo

:: Make sure this path exists, and you have Visual Studio 2017 C++ build tools. You may have to find vcvars32.bat in ur filesystem urself
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
cd sourcemod
mkdir build
cd build

python ../configure.py --no-mysql -s csgo
ambuild
I use it if I want to get up and running quickly, but usage may vary.

Last edited by headline; 04-27-2018 at 22:21.
headline is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 04-28-2018 , 02:14   Re: building of 1.9-dev failed
#7

Code:
git clone --recursive http://github.com/headline/sourcemod -b 1.9-dev
clone, builded, but not loaded

meta alias
Alias      File
 ---
sourcemod  addons/sourcemod/bin/sourcemod_mm
 ---
1 aliases total.

meta list
Listing 1 plugin:
  [01] <FAILED>

meta version
Metamod:Source version 1.10.7-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/f255fa5
Build ID: 961:f255fa5
Loaded As: Valve Server Plugin
Compiled on: Nov  5 2017
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
P.S. nope, I'm build it for unix x64 Ubuntu

Last edited by ZASTRELIS; 04-28-2018 at 02:26.
ZASTRELIS is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-28-2018 , 04:40   Re: building of 1.9-dev failed
#8

meta info 1
__________________
asherkin is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 05-03-2018 , 22:02   Re: building of 1.9-dev failed
#9

Quote:
Plugin 1 is running.
Name: "SourceMod" by AlliedModders LLC
Version: 1.10.0.6266
Description: Extensible administration and scripting system
License: See LICENSE.txt
URL: http://www.sourcemod.net/
Details: API 015, Date: Apr 28 2018
File: /home/~/CLASSIC/csgo/addons/sourcemod/bin/sourcemod_mm_i486.so
Installed as in git, not as 1.9-dev (sorry, not enought time)
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 05-10-2018 , 20:21   Re: building of 1.9-dev failed
#10

Quote:
Originally Posted by asherkin View Post
meta info 1
meta version
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1105
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: May 3 2018 047:53
Built from: https://github.com/alliedmodders/met...commit/3eb261a
Build ID: 1105eb261a
http://www.metamodsource.net/
meta list
Listing 1 plugin:
[03] <FAILED>
meta info
Usage: meta info <id>
meta info 1
Plugin 1 not found.

P.S. 1.9-dev compiled :\ not works, 1.10 strike ext not loaded :\
P.S.S. on 1.10 MM can't load too :\

Ubuntu x64


SM 1.10-dev
[01] <FAILED> file "game.cstrike.ext.2.csgo.so": /home/kgb1st/CLASSIC/csgo/addons/sourcemod/extensions/game.cstrike.ext.2.csgo.so: undefined symbol: Warning

But other part of this loads. Only that ext can't to do this.
tested on game.cstrike.ext.2.csgo.so from 1.9-dev, not works too..

Last edited by ZASTRELIS; 05-10-2018 at 20:27.
ZASTRELIS is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode