PDA

View Full Version : Errors when i complie


l1lwayn3
11/08/2013, 08:06 AM
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"

NinjahZ
11/08/2013, 08:32 AM
Add this into your script anywhere and you should be fine :)
https://gist.github.com/anonymous/020d6e1c6d2b4f978808

l1lwayn3
11/08/2013, 08:39 AM
thanks, it works, but now i got another error:

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


line 211: #pragma unused ret_memcpy

NinjahZ
11/08/2013, 08:47 AM
Hmmm I dont know about that error,cause #pragma unused ret_memcpy defines it XD I think

BullseyeHawk
11/08/2013, 10:45 AM
Just remove line 211, you don't even have ret_memcpy in your fs/gamemode..