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: 2021-08-11 15:13 UTC
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: cmb (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.0.10 OS: Ubuntu 16.04 Xenial Xerus
Private report: No CVE-ID: None
 [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

Pull Requests

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
 [2021-08-11 10:17 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-11 10:17 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-08-11 15:02 UTC] subins2000 at gmail dot com
-Status: Feedback +Status: Assigned
 [2021-08-11 15:02 UTC] subins2000 at gmail dot com
Hi cmb,

It's been a while. If I remember correctly, I was able to compile PHP by doing some hacks. Don't remembers what that was.

Anyhow this bug report can be closed. I don't know whether this issue still come up in new version.
 [2021-08-11 15:13 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2021-08-11 15:13 UTC] cmb@php.net
> It's been a while.

Yeah, right, we're bad at that.  Sorry!

> Anyhow this bug report can be closed.

Okay, will do.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 09:01:29 2024 UTC