RE: PHP 4.0 Bug #8351 Updated: Undefined symbol

From: Date: Thu, 21 Dec 2000 14:30:57 +0000
Subject: RE: PHP 4.0 Bug #8351 Updated: Undefined symbol
Groups: php.dev 
Request: Send a blank email to php-dev+get-42043@lists.php.net to get a copy of this message
as the "instructions" suggested... first apache: ./configure --prefix=/usr/local/apache then php ./configure --with-mysql --with-apache=../apache_1.3.14 make; make install finally apache (again) ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a and it stops in make... _______________________________________________________________________________ >From: Bug Database on Thu, Dec 21, 2000 8:26 AM >Subject: PHP 4.0 Bug #8351 Updated: Undefined symbol >To: Gregory Kaczmarczyk > >ID: 8351 >Updated by: sniper >Reported By: gkaczmarczyk@monoexpress.com >Old-Status: Open >Status: Feedback >Bug Type: Compile Failure >Assigned To: >Comments: > >What is the configure line you have used? > >--Jani > >Previous Comments: >--------------------------------------------------------------------------- > >[2000-12-21 09:17:50] gkaczmarczyk@monoexpress.com >Software: Solaris 7 SPARC, PHP 4.0.4, Apache 1.3.14, >gcc 2.95-2 >(Although I've also tried PHP 4.0.3pl1& Apache 1.3.9 - >with same results) > >I get "Undefined symbol getaddrinfo & freeaddrinfo first >referenced in file modules/php4/libphp4.a(network.o)" >when compiling Apache. I get the SAME error when I >start Apache after compiling PHP as a DSO module. > >Here is the exact error: > > -o httpd buildmark.o modules.o >modules/php4/libphp4.a modules/standard/lib >standard.a main/libmain.a ./os/unix/libos.a ap/libap.a >lib/expat-lite/libexpat. >a -R/usr/ucblib -L/usr/ucblib -Lmodules/php4 >-L../modules/php4 -L../../modules >/php4 -lmodphp4 -lpam -ldl -lresolv -lresolv -lm -ldl >-lcrypt -lnsl -lsocket >-lsocket -lsocket -lnsl >Undefined first referenced > symbol in file >getaddrinfo >modules/php4/libphp4.a(network.o) >freeaddrinfo >modules/php4/libphp4.a(network.o) >ld: fatal: Symbol referencing errors. No output written to >httpd >collect2: ld returned 1 exit status > > > > >--------------------------------------------------------------------------- > > >Full Bug description available at: http://bugs.php.net/?id=8351 > > >------------------ RFC822 Header Follows ------------------ >Received: by monoexpress.com with ADMIN;21 Dec 2000 08:26:27 -0600 >Received: from php2.chek.com (IDENT:qmailr@106-187.chek.choiceoneonline.com >[208.247.106.187] (may be forged)) > by monoexpress.COM (8.9.3/8.9.3) with SMTP id IAA14315 > for <gkaczmarczyk@monoexpress.com>; Thu, 21 Dec 2000 08:25:11 -0600 (CST) >Received: (qmail 23360 invoked by uid 99); 21 Dec 2000 14:24:21 -0000 >Date: 21 Dec 2000 14:24:21 -0000 >Message-ID: <20001221142421.23359.qmail@php2.chek.com> >To: gkaczmarczyk@monoexpress.com >Subject: PHP 4.0 Bug #8351 Updated: Undefined symbol >From: Bug Database <php-dev@lists.php.net>

« previous php.dev (#42043) next »