Hi,
I am trying to install php4.2.2 on solaris 7 with apache2.0.4 and postgresql7.2.1.
When I gave:
./configure --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bin/apxs
I got the following warning:
Warning: Releases of GCC earlier than version 3.0 cannot reliably
create self contained shared libraries on Solaris systems, without
introducing a dependency on libgcc.a. Therefore, libtool is disabling
-no-undefined support, which will at least allow you to build shared
libraries. However, you may find that when you link such libraries
into an application without using GCC, you have to manually add
gcc --print-libgcc-file-name to the link command. We urge you to
upgrade to a newer version of GCC. Another option is to rebuild your
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer
The version of gcc on my system is 2.95.2.
I am getting following errors when "make" command is given:
var_unserializer.c: In function `php_var_unserialize':
var_unserializer.c:308: warning: comparison is always false due to limited range of data type
sapi_apache2.c: In function php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 ofap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 ofap_register_input_filter' makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory/user3/mukta/php/php-4.2.2/sapi/apache2filter'
make[2]: [all-recursive] Error 1
make[2]: Leaving directory /user3/mukta/php/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/user3/mukta/php/php-4.2.2/sapi'
make: [all-recursive] Error 1
what should I do now?
Install newer version of gcc?
please help ..
phpnewuser