SA-MP Forums Archive
Errors when i complie - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors when i complie (/showthread.php?tid=457350)



Errors when i complie - l1lwayn3 - 11.08.2013

When i try to complie, i get those errors

Код:
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(211) : error 017: undefined symbol "ret_memcpy"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22077) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22077) : error 033: array must be indexed (variable "cmd")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22127) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22127) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22193) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22193) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22334) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22334) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22368) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22368) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22504) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22504) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22576) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22576) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22601) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22601) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22608) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22608) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22634) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22634) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22643) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22643) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22700) : error 017: undefined symbol "strtok"
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22700) : error 033: array must be indexed (variable "tmp")
C:\Users\Liviuss\Desktop\jocuri\samp\GM ProGaming v4.8.4 by EmiNEm\RP-FRZ mode1\gamemodes\PG.pwn(22724) : error 017: undefined symbol "strtok"



Re: Errors when i complie - NinjahZ - 11.08.2013

Add this into your script anywhere and you should be fine
https://gist.github.com/anonymous/020d6e1c6d2b4f978808


Re: Errors when i complie - l1lwayn3 - 11.08.2013

thanks, it works, but now i got another error:

PG.pwn(211) : error 017: undefined symbol "ret_memcpy"


line 211: #pragma unused ret_memcpy


Re: Errors when i complie - NinjahZ - 11.08.2013

Hmmm I dont know about that error,cause #pragma unused ret_memcpy defines it XD I think


Re: Errors when i complie - BullseyeHawk - 11.08.2013

Just remove line 211, you don't even have ret_memcpy in your fs/gamemode..