From: [EMAIL PROTECTED]
Operating system: SuSE Linux 8.0
PHP version: 4.3.0RC1
PHP Bug Type: Compile Failure
Bug description: linking fails if -lexpat is added twice to the EXTRA_LIBS
./configure --with-apxs=/usr/local/bin/apxs \
--with-mysql=/usr/local \
--disable-shared \
--enable-bcmath \
--enable-ftp \
--enable-mbstring \
--enable-wddx \
--enable-xslt \
--with-expat-dir=/usr/local \
--with-gettext=/usr/local \
--with-openssl=/usr/local \
--with-imap=/usr/local \
--with-imap-ssl=/usr/local \
--with-xslt-sablot=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-gd=/usr/local \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
make fails with lots of
/home/cbleek/Sources/XML/expat/lib/xmlrole.c(.text+0x15d0): multiple
definition of `XmlPrologStateInitExternalEntity'
/usr/local/lib/libexpat.a(xmlrole.o)(.text+0x15d0):/home/cbleek/Sources/XML/expat/lib/xmlrole.c:
first defined here
After removing one "-lexpat" from the $EXTRA_LIBS in the
main Makefile, compilation works fine.
This error existed in the 4.2.3 too, There the config_vars.mk (or so) had
to be modified.
\carsten
--
Edit bug report at http://bugs.php.net/?id=20498&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20498&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20498&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20498&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20498&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20498&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20498&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20498&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20498&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20498&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20498&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20498&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20498&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20498&r=isapi