|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2021-02-06 13:21 UTC] mhei at heimpold dot de
Description:
------------
Cross-compiling php against arc700 architecture unveiled a syntax error:
/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_glibc/php-8.0.1/ext/standard/dl.c: In function 'php_load_shlib':
/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_glibc/php-8.0.1/ext/standard/dl.c:250:18: error: 'filename' undeclared (first use in this function); did you mean 'fileno'?
php_dl_error(filename);
^~~~~~~~
fileno
filename is indeed not defined in this function. I'm not so familar with the code and the design goal, maybe it's just enough to drop the entire line?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jan 05 04:00:02 2026 UTC |
From a quick look, I think this line[1] is supposed to be php_dl_error(path); [1] <https://github.com/php/php-src/blob/e2c30c6a2ee4968b546e08eb19cb5f483c4c8088/ext/standard/dl.c#L250>