3 messages in com.mysql.lists.perlRe: Problems compiling the module| From | Sent On | Attachments |
|---|---|---|
| Don Hayward | 30 Jun 1999 12:50 | |
| Michael Widenius | 30 Jun 1999 12:51 | |
| Andreas Gietl | 01 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.
Don Hayward do...@mote.org Mote Marine Laboratory Voice: 941.388.4441 1600 Ken Thompson Parkway Fax: 941.388.4312 Sarasota, FL 34236 See: http://www.mote.org Independent, non-profit, marine and estuarine research and education facility. For PGP public key do: finger do...@ajaia.mote.org or http://www.mote.org/~don use "DISCLAIMER"; # We run Linux,Apache/mod_perl/mod_ssl/eperl,Mysql,DBI/DBD Taxes feed the starving and clothe the naked.
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
andreas gietl
-- andreas gietl dedicated server systems fon +49 9402 2551 fax +49 9402 2604 mobile +49 171 60 70 008 gie...@gietl.com
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail
msql...@lists.mysql.com
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.




