Bug #72953 [NEW]: src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER'
| From: | subins2000 at gmail dot com | Date: | Sat, 27 Aug 2016 15:18:38 +0000 |
| Subject: | Bug #72953 [NEW]: src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-203611@lists.php.net to get a copy of this message | ||
From: subins2000 at gmail dot com
Operating system: Ubuntu 16.04 Xenial Xerus
PHP version: 7.0.10
Package: Unknown/Other Function
Bug Type: Bug
Bug description:src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER'
Description:
------------
This bug is similar to https://bugs.php.net/bug.php?id=51706
But (^) it has been closed. The bug exists for fresh versions of PHP
5.6.25 & PHP 7.0.10
I tried to simply cross compile PHP with this :
./configure --host=arm-linux-androideabi --disable-all
Before doing the above, I set the environment variables :
export ARCH=arm
export TOOLCHAINROOT="/media/simsu/hello/Android/toolchain"
export PATH=$PATH:$TOOLCHAINROOT/bin/
export CC="arm-linux-androideabi-gcc --sysroot=$TOOLCHAINROOT/sysroot"
export CXX="arm-linux-androideabi-g++ --sysroot=$TOOLCHAINROOT/sysroot"
As you can see, I'm using the Android toolchain.
Expected result:
----------------
PHP should compile
Actual result:
--------------
http://pastebin.com/uv7B4tes
--
Edit bug report at https://bugs.php.net/bug.php?id=72953&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72953&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72953&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72953&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72953&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72953&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72953&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72953&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72953&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72953&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72953&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72953&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72953&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72953&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72953&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72953&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72953&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72953&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72953&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72953&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72953&r=mysqlcfg