Bug #51706 [NEW]: Make fails dns.c:305: error: expected specifier-qualifier-list before ‘HEADER’

From: Date: Fri, 30 Apr 2010 13:47:54 +0000
Subject: Bug #51706 [NEW]: Make fails dns.c:305: error: expected specifier-qualifier-list before ‘HEADER’
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150062@lists.php.net to get a copy of this message
From: Operating system: Mac OS X 10.6.3 PHP version: 5.3.2 Package: Compile Failure Bug Type: Bug Bug description:Make fails dns.c:305: error: expected specifier-qualifier-list before ‘HEADER’ 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 bug report at http://bugs.php.net/bug.php?id=51706&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51706&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51706&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51706&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51706&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51706&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51706&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51706&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51706&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51706&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51706&r=support Expected behavior: http://bugs.php.net/fix.php?id=51706&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51706&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51706&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51706&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51706&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51706&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51706&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51706&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51706&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51706&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51706&r=mysqlcfg

« previous php.bugs (#150062) next »