[Zope-DB] ZMySQLDA compile error

Stephan Goeldi stephan.goeldi@datacomm.ch
Thu, 20 Dec 2001 13:44:42

I installed and compiled MySQL-Python successfully in my Zope 2.4.3 tree. 
Afterwards I start compiling ZMySQLDA with "make -f Makefile.pre.in boot" 
which runs without error. Then I start "make" and get this output:

gcc -fPIC  -I/usr/local/mysql/include -I/usr/include/mysql -g -O2 
/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./MySQLmodule.c
./MySQLmodule.c: In function `pythonify_row':
./MySQLmodule.c:238: warning: assignment from incompatible pointer type
./MySQLmodule.c: In function `pythonify_res_fields':
./MySQLmodule.c:384: invalid lvalue in unary `&'
./MySQLmodule.c: In function `STH_fetchdict':
./MySQLmodule.c:1125: invalid lvalue in unary `&'
./MySQLmodule.c:1147: invalid lvalue in unary `&'
make: *** [MySQLmodule.o] Error 1

MSN Photos is the easiest way to share and print your photos: