Bug #10947: socket compile error for apache compiling

From: Date: Fri, 18 May 2001 03:41:35 +0000
Subject: Bug #10947: socket compile error for apache compiling
Groups: php.dev 
Request: Send a blank email to php-dev+get-55689@lists.php.net to get a copy of this message
From: konlo@geonji.co.kr Operating system: SunOS 5.6 PHP version: 4.0.5 PHP Bug Type: Apache related Bug description: socket compile error for apache compiling I compile php with --enable-sockets . The compile is finished successfully, but on compiling apache , this error message is reported in console how do I resolve this problem ? ===> src/modules/php4 gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 -I/user1/konlo/install_apache/php-4.0.5 -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5 -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED ../../apaci mod_php4.c cp libmodphp4.a libphp4.a ar r libphp4.a mod_php4.o ranlib libphp4.a <=== src/modules/php4 <=== src/modules gcc -c -I./os/unix -I./include -DSOLARIS2=260 -I/user1/konlo/install_apache/php-4.0.5 -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci modules.c gcc -c -I./os/unix -I./include -DSOLARIS2=260 -I/user1/konlo/install_apache/php-4.0.5 -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci buildmark.c gcc -DSOLARIS2=260 -I/user1/konlo/install_apache/php-4.0.5 -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/main -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/Zend -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5/TSRM -I/user1/konlo/install_apache/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-sunos5.6/2.95.2 -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-sunos5.6/2.95.2 -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lgcc -lsocket -lnsl Undefined first referenced symbol in file hstrerror modules/php4/libphp4.a(sockets.o) ld: Ä¡¸íÀû: ±âÈ£ ÂüÁ¶ ¿À·ù. httpd¿¡ Ãâ·ÂÀÌ ±â·ÏµÇÁö ¾ÊÀ½ collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `target_static' Current working directory /user1/konlo/install_apache/apache_1.3.19/src *** Error code 1 make: Fatal error: Command failed for target `build-std' Current working directory /user1/konlo/install_apache/apache_1.3.19 *** Error code 1 make: Fatal error: Command failed for target `build' -- Edit Bug report at: http://bugs.php.net/?id=10947&edit=1

« previous php.dev (#55689) next »