[Zope] Trouble compiling ZMySQLDA

Ewald Wasscher ewald.wasscher@pobox.com
Mon, 10 Jul 2000 01:54:11 +0200


Hello all,

When I try to compile ZMySQLDA I get the following error messages after
typing make:

[root@catv6216 src]# make
gcc -fPIC  -I/usr/local/mysql/include -I/usr/include/mysql -g -O2
-I/usr/include/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
[root@catv6216 src]# 

I can't even read a single line of c so I have no idea what's wrong
exactly.

FYI:

OS: Immunix 6.2 (= RedHat 6.2 + stackguard)
Zope: 2.1.6 (compiled from Jeff Rush's source rpm, 2.2b3 doesn't work
either)
MySQL: 3.22.32 and 3.23.21
Python MySQLdb: 2.0 2.1

Ewald Wasscher