The 'Pawn Language' Forum

An embedded scripting language

 

Reply To This Topic    Back To Forum Index
 
Kenney
Posted On 2010-01-27 21:42 -- Subject: Ubuntu 9.10 - compile error.

I'm having issues with getting pawn to compile on my new computer... here's the error I'm getting at compile time... I'm wondering what is needed to fix this.

just a quick software spec details:
gcc version 4.4.1
kernel version: 2.6.31-17-generic

the error:

ken@kendesktop:~/projects/Pawn/pawn-3.3.4127/source/amx$ make
Scanning dependencies of target amxArgs
[ 3%] Building C object CMakeFiles/amxArgs.dir/amxargs.o
[ 6%] Building C object CMakeFiles/amxArgs.dir/amx.o
/Pawn/pawn-3.3.4127/source/amx/amx.c: In function ‘amx_Callback’:
/Pawn/pawn-3.3.4127/source/amx/amx.c:537: warning: cast to pointer from integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c:560: warning: division by zero
/Pawn/pawn-3.3.4127/source/amx/amx.c:560: error: enumerator value for ‘assert_static__’ is not an integer constant
/Pawn/pawn-3.3.4127/source/amx/amx.c:571: warning: cast from pointer to integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c: In function ‘amx_Init’:
/Pawn/pawn-3.3.4127/source/amx/amx.c:1416: warning: cast from pointer to integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c: In function ‘amx_Cleanup’:
/Pawn/pawn-3.3.4127/source/amx/amx.c:1545: warning: cast to pointer from integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c:1552: warning: cast to pointer from integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c: In function ‘amx_Register’:
/Pawn/pawn-3.3.4127/source/amx/amx.c:1977: warning: cast from pointer to integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c: In function ‘amx_Exec’:
/Pawn/pawn-3.3.4127/source/amx/amx.c:3591: warning: cast to pointer from integer of different size
/Pawn/pawn-3.3.4127/source/amx/amx.c:3614: warning: cast to pointer from integer of different size
make[2]: *** [CMakeFiles/amxArgs.dir/amx.o] Error 1
make[1]: *** [CMakeFiles/amxArgs.dir/all] Error 2
make: *** [all] Error 2


You Are On Page: 1/1 <<   <   1   >   >>




- BiTBOARD version 2.5 by the BiTSHiFTERS SDC -