ID: 26258
User updated by: [email]nathanphp.net[/email]
Reported By: [email]nathanphp.net[/email]
Status: Open
Bug Type: XSLT related
Operating System: Linux 2.4.20
-PHP Version: 4.3.4
+PHP Version: 4.3.5-dev (Latest Snap)
New Comment:

Checked the CVS version as well. Same error.


Previous Comments:
------------------------------------------------------------------------

[2003-11-14 23:15:40] [email]nathanphp.net[/email]

Description:
------------
Build fails. This is against Apache with CLI Build as well by default.
After adjusting, and making --enable-cli become --disable-cli
--disable-pear the build is fine. And using a CLI Build only fails as
expected from previous results.

This configure line was perfect, until adding --enable-xslt
--with-xslt-sablot=... --with-expat-dir=...

The previous build was this exact line with 4.3.4RC3, and this failure
occured during an upgrade to 4.3.4 with xslt.

Reproduce code:
---------------
../configure --prefix=/usr/local/php434rc3
--with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-cli
--disable-cgi --with-zlib --with-bz2 --enable-calendar --enable-exif
--enable-ftp --with-gd --with-jpeg-dir=/usr/local/libjpeg
--with-freetype-dir=/usr/local/freetype2 --with-iconv --enable-sockets
--with-curl=/usr --with-mcrypt=/usr --with-cpdflib
--with-srm=/usr/local/srm --enable-xslt
--with-xslt-sablot=/usr/local/sablot --with-expat-dir=/usr/local/expat

Expected result:
----------------
Successful Build.

Actual result:
--------------
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/home/src/php-4.3.4/ext/mysql/libmysql/my_tempnam.c:115: the use of
`tempnam' is dangerous, better use `mkstemp'
/usr/local/sablot/lib/libsablot.so: undefined reference to `operator
new[](unsigned)'
/usr/local/sablot/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
/usr/local/sablot/lib/libsablot.so: undefined reference to `operator
delete(void*)'
/usr/local/sablot/lib/libsablot.so: undefined reference to
`__gxx_personality_v0'
/usr/local/sablot/lib/libsablot.so: undefined reference to
`__cxa_pure_virtual'
/usr/local/sablot/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
/usr/local/sablot/lib/libsablot.so: undefined reference to `operator
delete[](void*)'
/usr/local/sablot/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info'
/usr/local/sablot/lib/libsablot.so: undefined reference to `operator
new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=26258&edit=1[/url]