#34973 [Asn->Csd]: ext/standard/dns.c won't compile
| From: | tony2001@php.net | Date: | Tue, 25 Oct 2005 14:57:56 +0000 |
| Subject: | #34973 [Asn->Csd]: ext/standard/dns.c won't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87021@lists.php.net to get a copy of this message | ||
ID: 34973
Updated by: tony2001@php.net
Reported By: hip at okstate dot edu
-Status: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 10
PHP Version: 5CVS-2005-10-24 (CVS)
Assigned To: tony2001
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-10-24 23:46:50] tony2001@php.net
I'll take it.
------------------------------------------------------------------------
[2005-10-24 23:35:33] hip at okstate dot edu
Description:
------------
ext/standard/dns.c won't comiple on Solaris 10 which does not have IPv6
support installed. The problem is in the for loop in function
_php_dns_free_res at line 369. Specifically resolv.h has
__res_state_ext define as
struct __res_state_ext;
Which causes "structure has no member" error. Workaround is to comment
out the for loop in _php_dns_free_res.
Sorry I don't have a spare machine to install Solaris 10 with IPv6 on
and report the results.
Actual result:
--------------
/usr/local/src/php5-200510241430/ext/standard/dns.c: In function
`_php_dns_free_
res':
/usr/local/src/php5-200510241430/ext/standard/dns.c:372: error:
structure has no
member named `nsaddrs'
/usr/local/src/php5-200510241430/ext/standard/dns.c:373: error:
structure has no
member named `nsaddrs'
/usr/local/src/php5-200510241430/ext/standard/dns.c:374: error:
structure has no
member named `nsaddrs'
make: *** [ext/standard/dns.lo] Error 1
#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34973&edit=1