Undefined Symbol Error
#1

Hello,

I keep getting this error, when i try to compile my script. Does anybody know how to fix it? :

PHP код:
C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(430) : error 017undefined symbol "enable_mutex"
C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(480) : error 035argument type mismatch (argument 1)
C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(497) : error 017undefined symbol "mysql_ping" 
Reply
#2

Show us code 480.
And, what MySQL version are you using ?
Reply
#3

What version of MySQL do you use ? I think you should upload it to r6 or r5
Reply
#4

Lines 480 :

PHP код:
     mysql_query("USE xxxxx"); 
(( I used xxxxx to protect the actual details )).

P.S: May i have the link where i can download the R5 or R6 version of MySQL?
Reply
#5

Quote:
Originally Posted by Jigsaw123
Посмотреть сообщение
P.S: May i have the link where i can download the R5 or R6 version of MySQL?
Click
Reply
#6

I've installed the default mySQL which i had.. and i got one error left :

PHP код:
C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(480) : error 017undefined symbol "mysql_query" 
Reply
#7

last Error must be fixed by you
Reply
#8

Idk how to.. Im crap at scripting :[
Reply
#9

pawn Код:
#define mysql_query(%1,%2) \
mysql_function_query(gConnectionhandle, %1, false, "OnQueryFinish", "siii", %1, %2, -1, 1)
Change this in your .inc
I didn't test it.
Reply


Forum Jump:


Users browsing this thread: