Copiled Plugin server full in Centos 6
#1

Error copiled server full plugin

Reply
#2

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
Reply
#3

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
Reply
#4

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

Edit: Update your Gcc compiler and try again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)