what version of swig do you have, and are you needing to use the python interface?

Toby

On 18/02/2008, Paul Osmialowski <newchief@king.net.pl> wrote:
This problem with CVS 2.1 version showed very recently. I have two older
Linux boxes with FC3 on whose I'm running Player. For some recent time I
cannot compile it with libplayerc-py enabled. The error looks like:

make[7]: Entering directory
`/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
if test ! -s ../../../../client_libs/libplayerc/bindings/python/setup.py;
then cp ./setup.py
../../../../client_libs/libplayerc/bindings/python/setup.py; fi
python ../../../../client_libs/libplayerc/bindings/python/setup.py build
running build
running build_py
file playerc.py (for module playerc) not found
file playerc.py (for module playerc) not found
running build_ext
building '_playerc' extension
swigging playerc.i to playerc_wrap.c
swig -python -o playerc_wrap.c playerc.i
creating build
creating build/temp.linux-i686-2.3
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -D_GNU_SOURCE -fPIC -I/root/psg21/include -fPIC -I./../..
-I../../../.. -I../../../.. -I../../../../libplayercore
-I../../../../client_libs -I/usr/include/python2.3 -c playerc_wrap.c -o
build/temp.linux-i686-2.3/playerc_wrap.o
playerc_wrap.c: In function `playerc_laser_get_range':
playerc_wrap.c:1321: error: `$self' undeclared (first use in this
function)
playerc_wrap.c:1321: error: (Each undeclared identifier is reported only
once
playerc_wrap.c:1321: error: for each function it appears in.)
playerc_wrap.c: In function `_wrap_playerc_mclient_addclient':
playerc_wrap.c:4986: warning: passing arg 2 of `playerc_mclient_addclient'
from incompatible pointer type
error: command 'gcc' failed with exit status 1
make[7]: *** [pythonbuild] error 1
make[7]: Leaving directory
`/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
make[6]: *** [all] error 2
make[6]: Leaving directory
`/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
make[5]: *** [all-recursive] error 1
make[5]: Leaving directory
`/root/psg21/src/player-20080217/client_libs/libplayerc/bindings'
make[4]: *** [all-recursive] error 1
make[4]: Leaving directory
`/root/psg21/src/player-20080217/client_libs/libplayerc'
make[3]: *** [all] error 2
make[3]: Leaving directory
`/root/psg21/src/player-20080217/client_libs/libplayerc'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/root/psg21/src/player-20080217/client_libs'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/root/psg21/src/player-20080217'
make: *** [all] error 2

Cheers,
Paul


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers



--
This email is intended for the addressee only and may contain privileged and/or confidential information