multiple definition of 'get_module' when installing
| From: | Sarah Kerr | Date: | Tue, 20 Mar 2001 18:14:41 +0000 |
| Subject: | multiple definition of 'get_module' when installing | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2528@lists.php.net to get a copy of this message | ||
Hello,
I'm getting the following error when installing php with mysql & xml
support. I had previously installed without xml support and it was all
good.
ext/xml/.libs/libxml.al(xml.lo): In function `get_module':
/usr/src/php-4.0.4pl1/ext/xml/xml.c:60: multiple definition of
`get_module'
ext/mysql/.libs/libmysql.al(php_mysql.lo):/usr/src/php-4.0.4pl1/ext/mysql/php_mysql.c:159:
first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1
On line 60 of xml.c is the following:
ZEND_GET_MODULE(xml)
On line 159 of php_mysql is the following:
ZEND_GET_MODULE(mysql)
Has anyone encountered a similar problem or has any idea how to fix this? Thanks in advance!
Sarah
__________
Sarah Kerr
BlueNexus Software Corporation
sarah@bluenexus.com