#31790 [NEW]: Getting resolve error on make

From: Date: Tue, 01 Feb 2005 07:25:48 +0000
Subject: #31790 [NEW]: Getting resolve error on make
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73172@lists.php.net to get a copy of this message
From:             jace dot freeman at iinet dot net dot au
Operating system: Solaris 2.10
PHP version:      5.0.2
PHP Bug Type:     Compile Failure
Bug description:  Getting resolve error on make

Description:
------------
Regardless of library settings ensuring that lresolv is 
available this will not make, no errors raised during 
config.  Could this be an incorrect bind procedure call 
problem?

Reproduce code:
---------------
CC=gcc CFLAGS=”-mcpu=v9 -m64 -fno-omit-frame-pointer” LDFLAGS=”-lsocket
-lresolv -lnsl” \
 ./configure \
 --prefix=/usr/local/php \
 --bindir=/usr/local/bin \                                                
                                    
 --sbindir=/usr/local/sbin \
 --with-apxs2=/usr/local/sbin/apxs \                                      
                                    
 --disable-cgi \
 --with-openssl=/usr/local/ssl \
 --with-mysql=/usr/local/mysql \
 --with-pear  

Expected result:
----------------
Clean compile of php

Actual result:
--------------
Zend/zend_default_classes.lo Zend/zend_reflection_api.lo 
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/
getopt.lo main/internal_functions_cli.lo -lm -lgcc 
-lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket 
-lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm 
-lsocket -lnsl  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
dn_skipname                         ext/standard/dns.lo
res_nmkquery                        ext/standard/dns.lo
dn_expand                           ext/standard/dns.lo
res_nclose                          ext/standard/dns.lo
res_search                          ext/standard/dns.lo
res_ninit                           ext/standard/dns.lo
res_nsend                           ext/standard/dns.lo
inet_aton                           main/network.lo
ld: fatal: Symbol referencing errors. No output written 
to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=31790&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31790&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31790&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31790&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31790&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31790&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31790&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31790&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31790&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31790&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31790&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=31790&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=31790&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31790&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31790&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31790&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31790&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31790&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31790&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31790&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31790&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#73172) next »