Hi,

I'm trying to compile the Midgard lib under RedHat 5.2 (i386), with the
binary (not RPM) release of MySQL 3.21.33c-pc-linux-gnu-i686.

It configures without any errors, but when I try to compile it, I get:

midgard.c: In function `mgd_connect':
midgard.c:65: warning: assignment makes pointer from integer without a cast
midgard.c:75: warning: passing arg 5 of `mysql_real_connect' makes integer
from pointer without a cast
midgard.c:75: warning: passing arg 7 of `mysql_real_connect' makes integer
from pointer without a cast
midgard.c:75: too many arguments to function `mysql_real_connect'
make: *** [midgard.lo] Error 1

The list archives don't appear to have anyone with the same problem,
although I've tried using the
LDFLAGS="-L/usr/lib/mysql -lmidgard -lmysqlclient" trick, but nothing
changes.

Is this a MySQL version problem? Any help much appreciated!

JJ






--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to