Edit report at http://bugs.php.net/bug.php?id=51706&edit=1

 ID:               51706
 Updated by:       scott...@php.net
 Reported by:      keith at take88 dot com
-Summary:          Make fails dns.c:305: error: expected
                   specifier-qualifier-list before ‘HEADERï
+Summary:          Make fails dns.c:305: error: expected
                   specifier-qualifier-list before ‘HEADER�
 Status:           Assigned
 Type:             Bug
 Package:          Compile Failure
 Operating System: Mac OS X 10.6.3
 PHP Version:      5.3.2
-Assigned To:      scottmac
+Assigned To:      jani

 New Comment:

Jani made the last changes to these :)


Previous Comments:
------------------------------------------------------------------------
[2010-05-01 22:36:40] ka...@php.net

Scott, I remember you fixed some portability issues for the DNS
functions, namely on MAC could you look into this?

------------------------------------------------------------------------
[2010-04-30 15:47:53] keith at take88 dot com

Description:
------------
Here's the error when running 'make'

/Users/keith/php/php-5.3.2/ext/standard/dns.c:305: error: expected
specifier-qualifier-list before ‘HEADER’

/Users/keith/php/php-5.3.2/ext/standard/dns.c: In function
‘zif_dns_check_record’:

/Users/keith/php/php-5.3.2/ext/standard/dns.c:340: error: ‘T_MX’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:340: error: (Each
undeclared identifier is reported only once

/Users/keith/php/php-5.3.2/ext/standard/dns.c:340: error: for each
function it appears in.)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:360: error: ‘T_A’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:393: error: ‘C_IN’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c: In function
‘php_parserr’:

/Users/keith/php/php-5.3.2/ext/standard/dns.c:418: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:418: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:428: error: ‘T_ANY’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:468: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:468: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:513: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:513: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:519: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:519: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:636: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:636: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:652: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:652: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:674: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:674: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c: In function
‘zif_dns_get_record’:

/Users/keith/php/php-5.3.2/ext/standard/dns.c:710: error: ‘HEADER’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:710: error: ‘hp’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:810: error: ‘C_IN’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:810: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:817: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:818: error: ‘querybuf’
has no member named ‘qb2’

/Users/keith/php/php-5.3.2/ext/standard/dns.c:819: error: expected
expression before ‘)’ token

/Users/keith/php/php-5.3.2/ext/standard/dns.c: In function
‘zif_dns_get_mx’:

/Users/keith/php/php-5.3.2/ext/standard/dns.c:889: error: ‘HEADER’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:889: error: ‘hp’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:927: error: ‘C_IN’
undeclared (first use in this function)

/Users/keith/php/php-5.3.2/ext/standard/dns.c:934: error: expected
expression before ‘)’ token

make: *** [ext/standard/dns.lo] Error 1

Test script:
---------------
Here's my configure commands ...



http://66.180.173.53/install-sh

Expected result:
----------------
I expect PHP 5.3.2 to compile.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51706&edit=1

Reply via email to