Doc #72953 [Asn->Csd]: src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER'
| From: | cmb@php.net | Date: | Wed, 14 Sep 2016 12:24:30 +0000 |
| Subject: | Doc #72953 [Asn->Csd]: src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER' | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13907@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72953&edit=1
ID: 72953
Updated by: cmb@php.net
Reported by: subins2000 at gmail dot com
Summary: src/ext/standard/dns.c:328:2: error: unknown type
name 'HEADER'
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Compile Failure
Operating System: Ubuntu 16.04 Xenial Xerus
PHP Version: 7.0.10
Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-09-14 12:24:12] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=340035
Log: Fix #72953: src/ext/standard/dns.c:328:2: error: unknown type name 'HEADER'
------------------------------------------------------------------------
[2016-09-01 14:40:52] cmb@php.net
> I have successfully compiled PHP on arm with arm-linux-gnueabi.
Fine! So I'm marking this as documentation issue.
> Should I make a new bug report ?
Yes, please.
------------------------------------------------------------------------
[2016-09-01 14:19:20] subins2000 at gmail dot com
Hey,
I have decided to not compile using Android toolchain. I have successfully compiled PHP on arm
with arm-linux-gnueabi.
One thing, while compiling with it I got an error :
sapi/phpdbg/phpdbg_prompt.o: In function
phpdbg_load_module_or_extension':
sapi/phpdbg/phpdbg_prompt.c:1046: undefined reference to DL_LOAD
It got fixed with this patch : https://patchwork.ozlabs.org/patch/657181/
Should I make a new bug report ?
------------------------------------------------------------------------
[2016-09-01 13:06:50] cmb@php.net
> The Android toolchain doesn't have the nameser_compat.h header
> file
Then, I'm afraid, we can't do much. :-(
------------------------------------------------------------------------
[2016-08-30 14:49:46] subins2000 at gmail dot com
I applied the patch. But the nameser_compat.h file is not found :
ext/standard/dns.c:51:33: fatal error: arpa/nameser_compat.h: No such file or directory
The Android toolchain doesn't have the nameser_compat.h header file[1]
[1] https://android.googlesource.com/platform/prebuilts/ndk/+/6d8fd94e317c06e91e93c161bc7da0ca0ffeffb2/5/platforms/android-3/arch-arm/usr/include/arpa/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72953
--
Edit this bug report at https://bugs.php.net/bug.php?id=72953&edit=1