Hi, Thursday, November 7, 2002, 6:30:17 PM, you wrote: EN> -----BEGIN PGP SIGNED MESSAGE----- EN> Hash: SHA1
EN> Apache fails sanity check. Same with and without the LDFLAGS thing. EN> ======== Error Output for sanity check ======== EN> cd ..; gcc -DLINUX=22 -I/usr/src/php-4.2.3 -I/usr/src/php-4.2.3/main EN> - -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/Zend -I/usr/src/php-4.2.3/Zend EN> - -I/usr/src/php-4.2.3/TSRM -I/usr/src/php-4.2.3/TSRM -I/usr/src/php-4.2.3 EN> - -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c EN> - -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4 EN> - -L../modules/php4 -L../../modules/php4 -lmodphp4 -lsablot -lexpat -lcrypt EN> - -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lcrypt -lexpat EN> /usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)' EN> /usr/local/lib/libsablot.so: undefined reference to `vtable for EN> __cxxabiv1::__si_class_type_info' EN> /usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)' EN> /usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0' EN> /usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' EN> /usr/local/lib/libsablot.so: undefined reference to `vtable for EN> __cxxabiv1::__class_type_info' EN> /usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)' EN> /usr/local/lib/libsablot.so: undefined reference to `vtable for EN> __cxxabiv1::__vmi_class_type_info' EN> /usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)' EN> collect2: ld returned 1 exit status EN> make: *** [dummy] Error 1 EN> ============= End of Error Report ============= EN> On Wednesday 06 November 2002 09:49 pm, Tom Rogers wrote: >> Hi, >> >> Thursday, November 7, 2002, 1:11:43 PM, you wrote: >> EN> Same error. >> >> >> >> As a test try compiling statically into apache... That is the way I >> have php at the moment. EN> -----BEGIN PGP SIGNATURE----- EN> Version: GnuPG v1.0.7 (GNU/Linux) EN> iD8DBQE9yiSn/rncFku1MdIRAgzAAJ98rCLh9jWATOF96Liv3Lwo8SUq2gCbBci3 EN> CngocpcfDF0Oo6+UP5B1Wcc= EN> =qcnu EN> -----END PGP SIGNATURE----- looks like you also have to do: LDFLAGS=' -lstdc++' ./configure for apache as well (although I did not have to do any of this stuff except for the patch) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php