PHP a Sablotron - chyba pri make

Michal Bayer m.bayer na vlp.cz
Středa Květen 28 08:54:35 CEST 2003


Dobry den,

pokousim se kompilovat s podporou XSLT. Prridal jsem tedy do fungujiciho
./configure parametry --enable-xslt --with-xslt-sablot=/usr/local

configure probehne bez chyb, ale pri make mi hodi tuto chybu:
--- CUT---
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.te
xt+0xa4d7): In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/local/lib/libsablot.so: undefined reference to `operator
new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator
delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
---CUT---

Cele configure vypada takto:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr -with
-gd -with-jpeg-dir=/usr --with-png --with-zlib --with-freetype --enable-gd-n
ative-ttf --with-openssl --with-imap-ssl --with-imap --with-kerberos=/usr/ke
rberos --with-gdbm --enable-bcmath --enable-exif --enable-ftp --enable-yp --
enable-dbase --with-expat=/usr/local --with-iconv=/usr/local --enable-xslt -
-with-xslt-sablot=/usr/local

Redhat 9.0
php-4.3.2RC4
Sablot-0.98
libiconv-1.8
expat-1.95.6

Nasel jsem tento problem popsany v ruznych konferencich, ale bez reseni. :-(

Nesetkal jste se s tim, prosim, nekdo? Nemate nejaky napad co s tim?

Dekuji.

Michal Bayer
E-mail: bayer na vlp.cz




Další informace o konferenci Linux