SA-MP Forums Archive
Copiled Plugin server full in Centos 6 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Copiled Plugin server full in Centos 6 (/showthread.php?tid=571820)



Copiled Plugin server full in Centos 6 - JessyChaos - 22.04.2015

Error copiled server full plugin




Re: Copiled Plugin server full in Centos 6 - Jake187 - 22.04.2015

You're not showing the complete error, please copy and paste.

But I will suggest to you right away is install toolkit 2.0 http://people.centos.org/tru/devtools-2/readme


Respuesta: Copiled Plugin server full in Centos 6 - JessyChaos - 22.04.2015

error complete:

[root@evertzone AntiServerFullAttackFix-master]# make AntiServerFullFix rm -f *~ *.o *.so
c++ -c -I./ -DLINUX -DNDEBUG -DRELEASE -D_LINUX -DAntiServerFullFix_EXPORTS -DSAMPGDK_AMALGAMATION -DSAMPGDK_LINUX -DSAMPGDK_STATIC -D__LINUX__ -O3 -finput-charset=windows-1252 -fshort-wchar -mfpmath=sse -msse2 -m32 -std=c++0x ./amxplugin.cpp
cc -c -I./ -DLINUX -DNDEBUG -DRELEASE -D_LINUX -DAntiServerFullFix_EXPORTS -DSAMPGDK_AMALGAMATION -DSAMPGDK_LINUX -DSAMPGDK_STATIC -D__LINUX__ -O3 -m32 ./sampgdk.c
In file included from ./sampgdk.c:3:
./sampgdk.h:157: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ./sampgdk.c:3:
./sampgdk.h:169: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
c++ -c -I./ -DLINUX -DNDEBUG -DRELEASE -D_LINUX -DAntiServerFullFix_EXPORTS -DSAMPGDK_AMALGAMATION -DSAMPGDK_LINUX -DSAMPGDK_STATIC -D__LINUX__ -O3 -finput-charset=windows-1252 -fshort-wchar -mfpmath=sse -msse2 -m32 -std=c++0x ./AntiServerFullAttack.cxx
In file included from ./AntiServerFullAttack.cxx:41:
./sampgdk.h:157: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ./AntiServerFullAttack.cxx:41:
./sampgdk.h:169: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
./AntiServerFullAttack.cxx: In function ‘void CleanupUnusedWhitelistSlots(int, void*)’:
./AntiServerFullAttack.cxx:379: error: no match for ‘operator=’ in ‘i = ip_whitelist.std:et<_Key, _Compare, _Alloc>::erase [with _Key = long long unsigned int, _Compare = std::less<long long unsigned int>, _Alloc = std::allocator<long long unsigned int>](i)’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_tree.h:224: note: candidates are: std::_Rb_tree_const_iterator<long long unsigned int>& std::_Rb_tree_const_iterator<long long unsigned int>:perator=(const std::_Rb_tree_const_iterator<long long unsigned int>&)
make: *** [AntiServerFullFix] Error 1


Re: Copiled Plugin server full in Centos 6 - AberKane - 23.04.2015

Please use those tags for codes
[ code] [/code]

Edit: Update your Gcc compiler and try again.