Hi, I am trying to set this up, following install instructions from zope.org/Members/Mike/ZMySQLDA .... make -f Makefile.... command works fine, but 'make' afterwards produces the following error:

can some one please help me! I have followed all instructions around, and none of them cover this problem (problem is pro'lly me!)


mike.

output follows:

---------------------------- snip -------------------------------
[EMAIL PROTECTED] src]# make
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.4 -I/usr/local/include/python2.4 @DEFS@ -I/usr/local/mysql/include -I/usr/include/mysql -c ././MySQLmodule.c -o ./MySQLmodule.o
gcc: @DEFS@: No such file or directory
././MySQLmodule.c:199: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âclear_channelâ:
././MySQLmodule.c:204: warning: suggest parentheses around assignment used as truth value
././MySQLmodule.c: At top level:
././MySQLmodule.c:217: warning: function declaration isnât a prototype
././MySQLmodule.c:229: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âpythonify_rowâ:
././MySQLmodule.c:238: warning: assignment from incompatible pointer type
././MySQLmodule.c: At top level:
././MySQLmodule.c:339: warning: function declaration isnât a prototype
././MySQLmodule.c:373: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âpythonify_res_fieldsâ:
././MySQLmodule.c:384: error: invalid lvalue in unary â&â
././MySQLmodule.c: At top level:
././MySQLmodule.c:483: warning: function declaration isnât a prototype
././MySQLmodule.c:502: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âMySQL_connectâ:
././MySQLmodule.c:515: warning: implicit declaration of function âmysql_connectâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:530: warning: function declaration isnât a prototype
././MySQLmodule.c:562: warning: function declaration isnât a prototype
././MySQLmodule.c:580: warning: function declaration isnât a prototype
././MySQLmodule.c:607: warning: function declaration isnât a prototype
././MySQLmodule.c:634: warning: function declaration isnât a prototype
././MySQLmodule.c:662: warning: function declaration isnât a prototype
././MySQLmodule.c:688: warning: function declaration isnât a prototype
././MySQLmodule.c:722: warning: function declaration isnât a prototype
././MySQLmodule.c:734: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_createâ:
././MySQLmodule.c:743: warning: implicit declaration of function âmysql_create_dbâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:753: warning: function declaration isnât a prototype
././MySQLmodule.c:767: warning: function declaration isnât a prototype
././MySQLmodule.c:779: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_statâ:
././MySQLmodule.c:787: warning: assignment discards qualifiers from pointer target type
././MySQLmodule.c: At top level:
././MySQLmodule.c:796: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_clientinfoâ:
././MySQLmodule.c:799: warning: unused variable âinfoâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:815: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_hostinfoâ:
././MySQLmodule.c:823: warning: assignment discards qualifiers from pointer target type
././MySQLmodule.c: At top level:
././MySQLmodule.c:832: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_serverinfoâ:
././MySQLmodule.c:840: warning: assignment discards qualifiers from pointer target type
././MySQLmodule.c: At top level:
././MySQLmodule.c:849: warning: function declaration isnât a prototype
././MySQLmodule.c:866: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_dropâ:
././MySQLmodule.c:875: warning: implicit declaration of function âmysql_drop_dbâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:885: warning: function declaration isnât a prototype
././MySQLmodule.c:902: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_shutdownâ:
././MySQLmodule.c:909: error: too few arguments to function âmysql_shutdownâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:920: warning: function declaration isnât a prototype
././MySQLmodule.c:973: warning: function declaration isnât a prototype
././MySQLmodule.c:986: warning: function declaration isnât a prototype
././MySQLmodule.c:994: warning: function declaration isnât a prototype
././MySQLmodule.c:1032: warning: function declaration isnât a prototype
././MySQLmodule.c:1040: warning: function declaration isnât a prototype
././MySQLmodule.c:1070: warning: function declaration isnât a prototype
././MySQLmodule.c:1085: warning: function declaration isnât a prototype
././MySQLmodule.c:1102: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âSTH_fetchdictâ:
././MySQLmodule.c:1125: error: invalid lvalue in unary â&â
././MySQLmodule.c:1147: error: invalid lvalue in unary â&â
././MySQLmodule.c: At top level:
././MySQLmodule.c:1176: warning: function declaration isnât a prototype
././MySQLmodule.c:1192: warning: function declaration isnât a prototype
././MySQLmodule.c:1201: warning: function declaration isnât a prototype
././MySQLmodule.c:1210: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âSTH_eofâ:
././MySQLmodule.c:1215: warning: dereferencing type-punned pointer will break strict-aliasing rules ././MySQLmodule.c:1216: warning: dereferencing type-punned pointer will break strict-aliasing rules ././MySQLmodule.c:1218: warning: dereferencing type-punned pointer will break strict-aliasing rules ././MySQLmodule.c:1219: warning: dereferencing type-punned pointer will break strict-aliasing rules
././MySQLmodule.c: At top level:
././MySQLmodule.c:1225: warning: function declaration isnât a prototype
././MySQLmodule.c:1234: warning: function declaration isnât a prototype
././MySQLmodule.c:1257: warning: function declaration isnât a prototype
././MySQLmodule.c:1265: warning: function declaration isnât a prototype
././MySQLmodule.c:1296: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âinitMySQLâ:
././MySQLmodule.c:1305: warning: dereferencing type-punned pointer will break strict-aliasing rules ././MySQLmodule.c:1307: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [MySQLmodule.o] Error 1
---------------------------- end snip -------------------------------



_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to