Help request.
#1

First of all Happy new year to all of you, here's my problem: I was using an old mysql plugin for my server, i installed a new mysql version on my CentOS, the old mysql plugin doesn't load due to ELF Header error which i have no idea how to fix it, I updated the mysql to a new version and i have got these errors while compiling:
Код:
E:\Official Server\gamemodes\ggrpv1a.pwn(10554) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(10559) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(19933) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(19941) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(19941) : warning 213: tag mismatch
E:\Official Server\gamemodes\ggrpv1a.pwn(19949) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(19957) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(19957) : warning 213: tag mismatch
E:\Official Server\gamemodes\ggrpv1a.pwn(28845) : warning 206: redundant test: constant expression is non-zero
E:\Official Server\gamemodes\ggrpv1a.pwn(28845) : warning 215: expression has no effect
E:\Official Server\gamemodes\ggrpv1a.pwn(88021) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(88022) : error 017: undefined symbol "mysql_insert_id"
E:\Official Server\gamemodes\ggrpv1a.pwn(88060) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92163) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92182) : error 017: undefined symbol "mysql_insert_id"
E:\Official Server\gamemodes\ggrpv1a.pwn(92290) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92313) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92441) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92471) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92496) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92533) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92555) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92564) : error 017: undefined symbol "mysql_insert_id"
E:\Official Server\gamemodes\ggrpv1a.pwn(92593) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(92637) : error 035: argument type mismatch (argument 1)
E:\Official Server\gamemodes\ggrpv1a.pwn(122703) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
E:\Official Server\gamemodes\ggrpv1a.pwn(122710) : error 017: undefined symbol "mysql_store_result"
E:\Official Server\gamemodes\ggrpv1a.pwn(122711) : error 017: undefined symbol "mysql_num_rows"
E:\Official Server\gamemodes\ggrpv1a.pwn(122713) : error 017: undefined symbol "mysql_retrieve_row"
E:\Official Server\gamemodes\ggrpv1a.pwn(122716) : error 017: undefined symbol "mysql_fetch_field_row"
E:\Official Server\gamemodes\ggrpv1a.pwn(122719) : error 017: undefined symbol "mysql_fetch_field_row"
That all happened due to the new mysql plugin, is there any possible way to fix this?, +REP For help, thank you.
Reply
#2

Make sure you updated the mysql plugin and include.

Also make sure you're using the correct mysql version.
Reply
#3

Checking plugin makes no sense since its a compilation errors.

For example, first error means "you have passed wrong first argument to the funcion on line 10554 in file ggrpv1a.pwn". You should open your updated mysql.inc and look which arguments must be passed to that function. And then, of course, correct your code so it'll match the right syntax.

Other errors (for example, undefined symbol "mysql_insert_id") may appear if that function is deprecated and was removed in the new plugin version.

Read the mysql plugin topic to get more info about version differences.
Reply
#4

[1] Update Mysql Plug-in's
[2] WHERE IS THE CODE? lot's of argument mismatches..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)