3 messages in com.mysql.lists.perlRe: Problems compiling the module
FromSent OnAttachments
Don Hayward30 Jun 1999 12:50 
Michael Widenius30 Jun 1999 12:51 
Andreas Gietl01 Jul 1999 12:27 
Subject:Re: Problems compiling the module
From:Don Hayward (do@mote.org)
Date:06/30/1999 12:50:37 PM
List:com.mysql.lists.perl

Had this problem yesterday. Upgrading mysql to 3.22.23b made it go away.

On Thu, 1 Jul 1999, Andreas Gietl wrote:

on doin' make i get:

make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2200/mysql' gcc -c -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI -I/usr/lib/perl5/5.00503/i686-linux -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"2.0400\" -DXS_VERSION=\"2.0400\" -fpic -I/usr/lib/ perl5/5.00503/i686-linux/CORE -DDBD_MYSQL dbdimp.c dbdimp.c: In function `mysql_dr_connect': dbdimp.c:488: `MYSQL_OPT_COMPRESS' undeclared (first use this function) dbdimp.c:488: (Each undeclared identifier is reported only once dbdimp.c:488: for each function it appears in.) dbdimp.c:493: `MYSQL_READ_DEFAULT_FILE' undeclared (first use this function) dbdimp.c:499: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use this function) dbdimp.c:505: warning: passing arg 5 of `mysql_real_connect' makes integer from pointer without a cast dbdimp.c:505: warning: passing arg 6 of `mysql_real_connect' makes pointer from integer without a cast dbdimp.c:505: warning: passing arg 7 of `mysql_real_connect' makes integer from pointer without a cast dbdimp.c:505: too many arguments to function `mysql_real_connect' make[1]: *** [dbdimp.o] Error 1 make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2200/mysql' make: *** [subdirs] Error 2

This is the beginning of my Makefile:

AR = ar CC = gcc CCCDLFLAGS = -fpic CCDLFLAGS = -rdynamic DLEXT = so DLSRC = dl_dlopen.xs LD = gcc LDDLFLAGS = -shared -L/usr/local/lib LDFLAGS = -L/usr/local/lib LIBC = LIB_EXT = .a OBJ_EXT = .o OSNAME = linux OSVERS = 2.2.1 RANLIB = : SO = so EXE_EXT =

Perhaps you know what might be the reason.....

thank you for your help

To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail msql@lists.mysql.com instead.