01.12.2011, 11:23
Quote:
i get the following error when i try to compile the plugin (OS: Debian 6, MySQL Version: 5.1.49-3):
samp@Debian-60-squeeze-64-minimal:~/gsql/mysql_rel$ make 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 |