List:MySQL and Perl« Previous MessageNext Message »
From:Michael Widenius Date:June 30 1999 7:52pm
Subject:Problems compiling the module
View as plain text  
>>>>> "Andreas" == Andreas Gietl <gietl@stripped> writes:

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

<cut>

Fix:

Upgrade MySQL 3.22. or downgrade  msql-mysql-modules.

Regards,
Monty
Thread
Problems compiling the moduleAndreas Gietl30 Jun
  • Re: Problems compiling the moduleDon Hayward30 Jun
  • Problems compiling the moduleMichael Widenius30 Jun