Hi,

I have problems compiling perl-DBD for MSQL 4.1, after looking around for this issue haven't found anything yet, here is the problem:

I have two machines, one with redhat 9, and the other with FC2, in both machines I have the following packages installed:

MySQL-shared-4.1.10-0
MySQL-client-4.1.10-0
MySQL-devel-4.1.10-0
MySQL-server-4.1.10-0

I have downloaded and installed the source:
perl-DBD-MySQL-2.9003-4.src.rpm

When doing rpmbuild -bb perl-DBD-MySQL.spec, I got the following error in both machines:

/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 192
Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
gcc -c -I/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -DDBD_MYSQL_WITH_SSL -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:100: error: too few arguments to function `mysql_shutdown'
make: *** [mysql.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.63335 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.63335 (%build)
Any ideas of what's going wrong?

Caste