Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Error trying to compile in Centos6. Problem with 32bit library compiled with 64bit system #5

Open
Emialcaraz opened this issue Sep 24, 2019 · 0 comments

Comments

@Emialcaraz
Copy link

Hello, I'm tryng to compile the plugin because when I run the release version on my samp server I have this error: Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/GPS.so))
//////////////////////////////////////////////////// make ///////////////
root: make
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin.cpp
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin2.cpp
gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./src/*.cpp
In file included from /usr/local/include/c++/9.2.0/random:49,
from ./src/natives.cpp:4:
/usr/local/include/c++/9.2.0/bits/random.h:103:26: error: expected unqualified-id before ‘__int128’
103 | { typedef unsigned __int128 type; };
| ^~~~~~~~
make: *** [all] Error 1

//////////////////////////////////////////////////////////////////
samp-gps-plugin-master]# gcc --version: gcc (GCC) 9.2.0
//////////////////////////////////////////////////////////////////

What can be the problem? thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant