ID:               31790
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jace dot freeman at iinet dot net dot au
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris 2.10
 PHP Version:      5.0.2
 New Comment:

When you set your own LDFLAGS & CFLAGS -> you're on your own.
(don't try outsmarting the configure..)



Previous Comments:
------------------------------------------------------------------------

[2005-02-01 08:25:47] jace dot freeman at iinet dot net dot au

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 this bug report at http://bugs.php.net/?id=31790&edit=1

Reply via email to