Mysql plugin
#1

Hello,

i have a little problem... my mysql plugin doesn't work.
i have putt it in the plugins ordner but it doesn't work.

Server start errors:
....
[23:42:54] Loading plugin: mysql.so
[23:42:54] SA:MP MySQL Plugin v2.1.1 Loaded.
[23:42:54] Loaded.
[23:42:54] Loaded 1 plugins.
.....
Script[gamemodes/xxx.xxx.amx]: Run time error 19: "File or function is not found"
Reply
#2

man mysql plugin has loaded correctly maybe you haven't loaded any other plugins like streamer or something anyway it is not the problem with the mysql plugin
Reply
#3

gcc -c -O3 -w -DLINUX -Wall -I../SDK/amx/ ../SDK/amx/*.c
g++ -c -O3 -w -DLINUX -Wall -I../SDK/amx/ ../SDK/*.cpp
g++ -c -O3 -w -DLINUX -Wall -I../SDK/amx/ main.cpp
g++ -c -O3 -w -DLINUX -Wall -I../SDK/amx/ source/*.cpp
g++ -O2 -fshort-wchar -shared -o "../mysql.so" *.o -L/usr/lib/mysql -lmysqlclient_r -lpthread
/usr/bin/ld: CAmxString.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
CAmxString.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [all] Error 1

When i compile the mysql files then coms this errrors... why?
Reply
#4

this you got it from server_log.txt ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)