[Compiler-sig] /bin/sh: ./python: cannot execute binary file

cvncvbnvbn vbnvbnbn priyank.patel21 at yahoo.com
Tue May 15 09:44:03 CEST 2007


I am very newbie to PYTHON,


and cross-compiling python 2.4 with arm-linux.

I am getting following error,,

 CC='/usr/local/openrg/openrg/pkg/build/rg_gcc' LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*)  CC='/usr/local/openrg/openrg/pkg/build/rg_gcc' LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
/bin/sh: ./python: cannot execute binary file
make: *** [sharedmods] Error 126



can anybody help me,  how to run this python binaryfile within MAKEFILE..


suggestion will be really appriciated.


Regars,,
Priyank
       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/compiler-sig/attachments/20070515/16f41860/attachment.htm 


More information about the Compiler-sig mailing list