From:             [EMAIL PROTECTED]
Operating system: Solaris 8
PHP version:      4.3.0
PHP Bug Type:     Compile Failure
Bug description:  GCC 3.2.1 needs stdc++ linked

With GCC 3.2.1 these symbols can be found in libstdc++. When php 4.3.0 is
linked with -lsablot, there is no easy way to link it to stdc++, to
account for the changes of the locations of these functions in the new GCC
API. I would recommend a configure option like --enable-stdc++ to allow
the user to link this manually like --enable-libgcc. 

excerpt from compile :

.lo main/internal_functions_cli.lo -lsablot -liconv -lexpat -liconv -lcurl
-lcrypt -lresolv -lm -ldl -lnsl -lsocket -lgcc -lcrypt -lcurl -lz -lssl
-lcrypto -ldl -lsocket -lnsl -lz  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
__cxa_pure_virtual                  /usr/local/lib/libsablot.so
vtable for __cxxabiv1::__si_class_type_info/usr/local/lib/libsablot.so
vtable for __cxxabiv1::__vmi_class_type_info/usr/local/lib/libsablot.so
operator new[](unsigned)            /usr/local/lib/libsablot.so
vtable for __cxxabiv1::__class_type_info/usr/local/lib/libsablot.so
operator delete(void*)              /usr/local/lib/libsablot.so
operator new(unsigned)              /usr/local/lib/libsablot.so
__gxx_personality_v0                /usr/local/lib/libsablot.so
operator delete[](void*)            /usr/local/lib/libsablot.so
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
bash-2.03# gcc --version
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

bash-2.03# 


-- 
Edit bug report at http://bugs.php.net/?id=21789&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21789&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21789&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21789&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21789&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21789&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21789&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21789&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21789&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21789&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21789&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21789&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21789&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21789&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21789&r=gnused

Reply via email to