[Pyrex] 0.9.6.4 lvalue compilation errors

vinilios vinilios at gmail.com
Tue Feb 26 20:15:25 CET 2008


I'm trying to compile python-efl libraries and getting the following
warnings/errors

vinilios at desktop:~/Desktop/python-efl/python-evas-0.2.0$ sudo ./build.sh
/usr
running develop
running egg_info
writing python_evas.egg-info/PKG-INFO
writing top-level names to python_evas.egg-info/top_level.txt
writing dependency_links to python_evas.egg-info/dependency_links.txt
reading manifest file 'python_evas.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'evas/evas.c_evas.pxi'
writing manifest file 'python_evas.egg-info/SOURCES.txt'
running build_ext
cythoning evas/evas.c_evas.pyx to evas/evas.c_evas.c
building 'evas.c_evas' extension
creating build
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/evas
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -Iinclude -I/usr/include/python2.4 -c
evas/evas.c_evas.c -o build/temp.linux-i686-2.4/evas/evas.c_evas.o
evas/evas.c_evas.c: In function
‘__pyx_f_4evas_6c_evas_Object_from_instance’:
evas/evas.c_evas.c:2041: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function
‘__pyx_pf_4evas_6c_evas_6Canvas_font_path_list’:
evas/evas.c_evas.c:12901: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function ‘__pyx_pf_4evas_6c_evas_6Object_type_get’:
evas/evas.c_evas.c:19732: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function
‘__pyx_pf_4evas_6c_evas_6Object_clipees_get’:
evas/evas.c_evas.c:23887: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function ‘__pyx_pf_4evas_6c_evas_6Object_name_get’:
evas/evas.c_evas.c:24034: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function ‘__pyx_pf_4evas_6c_evas_5Image_file_get’:
evas/evas.c_evas.c:34705: warning: passing argument 2 of
‘evas_object_image_file_get’ from incompatible pointer type
evas/evas.c_evas.c:34705: warning: passing argument 3 of
‘evas_object_image_file_get’ from incompatible pointer type
evas/evas.c_evas.c: In function
‘__pyx_pf_4evas_6c_evas_5Image_image_data_set’:
evas/evas.c_evas.c:37591: warning: passing argument 2 of
‘PyObject_AsReadBuffer’ from incompatible pointer type
evas/evas.c_evas.c: In function
‘__pyx_pf_4evas_6c_evas_4Text_font_source_get’:
evas/evas.c_evas.c:40256: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function ‘__pyx_pf_4evas_6c_evas_4Text_font_get’:
evas/evas.c_evas.c:40450: warning: passing argument 2 of
‘evas_object_text_font_get’ from incompatible pointer type
evas/evas.c_evas.c: In function ‘__pyx_pf_4evas_6c_evas_4Text_text_get’:
evas/evas.c_evas.c:40699: warning: assignment discards qualifiers from
pointer target type
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_EventPosition’:
evas/evas.c_evas.c:43705: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c:43708: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function ‘__pyx_tp_clear_4evas_6c_evas_EventMouseIn’:
evas/evas.c_evas.c:43873: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_EventMouseOut’:
evas/evas.c_evas.c:44039: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_EventMouseDown’:
evas/evas.c_evas.c:44205: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function ‘__pyx_tp_clear_4evas_6c_evas_EventMouseUp’:
evas/evas.c_evas.c:44371: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_EventMouseMove’:
evas/evas.c_evas.c:44542: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c:44545: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_EventMouseWheel’:
evas/evas.c_evas.c:44712: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: In function ‘__pyx_tp_clear_4evas_6c_evas_Object’:
evas/evas.c_evas.c:45635: error: lvalue required as left operand of
assignment
evas/evas.c_evas.c: At top level:
evas/evas.c_evas.c:47116: warning: initialization from incompatible
pointer type
evas/evas.c_evas.c: In function
‘__pyx_tp_clear_4evas_6c_evas_ClippedSmartObject’:
evas/evas.c_evas.c:48053: error: lvalue required as left operand of
assignment
error: command 'gcc' failed with exit status 1

the build.sh just uses setup.py (using it directly the same errors get
reported)
im on Debian testing

gcc-4.2 (also tried 3.3 and 4.1)
python 2.5 (also tried setup.py with 2.4)
my pyrex version is 0.9.6.4




More information about the Pyrex mailing list