php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73009 dns.c error: storage size of 'state' isn't known
Submitted: 2016-09-03 20:34 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: subins2000 at gmail dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 7.0.10 OS: Ubuntu 16.04 Xenial Xerus
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-09-03 20:34 UTC] subins2000 at gmail dot com
Description:
------------
I'm trying to cross compile PHP for Android using android-ndk-r12b toolchain with API platform 21.

I configure PHP with :

export PATH="/path-to-toolchain/bin:$PATH"
./configure --host=arm-linux-androideabi --disable-all

Then did make

But when ext/standard/dns.c is compiled, an error is produced : http://pastebin.com/HXJ20sAK

Is there any workaround to get past this error ?

Expected result:
----------------
PHP should compile

Actual result:
--------------
http://php.net/mailing-lists.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-03 20:39 UTC] subins2000 at gmail dot com
More details : http://unix.stackexchange.com/questions/307678/cross-compiling-php-for-android-arm
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 22:01:26 2019 UTC