Recompiling Error
#1

I've been recompiling my script .pwn wrong the whole time.
I open the .pwn directly without opening the pawno.exe first and when I recompile, it says success.

So when I tried opening pawno.exe first then open the .pwn file script then recompile, the error shows up.

Код:
./includes/timers.pwn(153) : error 017: undefined symbol "mysql_function_query"
./includes/timers.pwn(164) : error 017: undefined symbol "mysql_function_query"
./includes/timers.pwn(2239) : error 017: undefined symbol "mysql_function_query"
./includes/timers.pwn(2243) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(3825) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(3829) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(3857) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(4062) : error 017: undefined symbol "cache_get_data"
./includes/functions.pwn(4063) : error 017: undefined symbol "cache_get_field_content"
./includes/functions.pwn(4058) : warning 203: symbol is never used: "iRows"
./includes/functions.pwn(4057) : warning 203: symbol is never used: "iFields"
./includes/functions.pwn(7376) : error 017: undefined symbol "cache_get_data"
./includes/functions.pwn(7375) : warning 203: symbol is never used: "fields"
./includes/functions.pwn(12000) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(12025) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(12221) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(12246) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(13674) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(16717) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(16833) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(17968) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(18959) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(19254) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(19271) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(21012) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(21008) : warning 203: symbol is never used: "playerid"
./includes/functions.pwn(21190) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(21771) : error 017: undefined symbol "mysql_function_query"
./includes/functions.pwn(21767) : warning 203: symbol is never used: "playerid"
./includes/functions.pwn(21778) : error 017: undefined symbol "cache_get_data"
./includes/functions.pwn(21777) : warning 203: symbol is never used: "fields"
./includes/functions.pwn(25065) : error 017: undefined symbol "mysql_function_query"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

Update your MYSQL (include & plugin)
Reply
#3

What it actually is, is that you've got 2 versions of Pawno on the machine... One that's associated and has all the right plugins, another that's another version, that doesn't have all the right stuff.



Blindly suggesting to update plugins without looking at what the issue is, is terrible.
Reply
#4

Код:
./includes/functions.pwn(3128) : error 017: undefined symbol "mysql_escape_string"
./includes/mysql.pwn(194) : error 017: undefined symbol "mysql_log"
./includes/mysql.pwn(304) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(305) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(306) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(307) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(308) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(310) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(312) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(331) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(339) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(340) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(341) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(343) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(458) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(459) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(489) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(490) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(507) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(573) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(666) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(692) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(698) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(874) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(1093) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3409) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3435) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3436) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3437) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3503) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3504) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3505) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3526) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3527) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3528) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3544) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3545) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3546) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3570) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3571) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3572) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3736) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3737) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3773) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3822) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3823) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(3909) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4273) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4274) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4302) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4303) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4304) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4309) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4379) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4459) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4461) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4490) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4507) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4509) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4538) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4559) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4561) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4622) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4624) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4756) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(4778) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5114) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5144) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5169) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5178) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5231) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5276) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5927) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(5928) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6014) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6091) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6092) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6095) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6096) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6120) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6141) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6142) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6145) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6146) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6178) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6289) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6349) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6377) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6379) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6380) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6417) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6422) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6424) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6464) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6466) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6551) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6561) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6650) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6711) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6715) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6717) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6757) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6834) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6856) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6861) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6915) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6917) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6941) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(6944) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(7440) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(7441) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(7442) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(7445) : warning 202: number of arguments does not match definition
./includes/mysql.pwn(7486) : warning 202: number of arguments does not match definition
./includes/OnDialogResponse.pwn(138) : error 017: undefined symbol "mysql_escape_string"
./includes/OnDialogResponse.pwn(1164) : error 017: undefined symbol "mysql_escape_string"
./includes/OnDialogResponse.pwn(1300) : error 017: undefined symbol "mysql_escape_string"
./includes/OnDialogResponse.pwn(2454) : error 017: undefined symbol "mysql_escape_string"
./includes/OnDialogResponse.pwn(6778) : error 017: undefined symbol "mysql_escape_string"
./includes/OnDialogResponse.pwn(12266) : error 017: undefined symbol "mysql_escape_string"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Reply
#5

Did you even read what I said?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)