|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-06-24 07:53 UTC] anzenews at volja dot net
Description:
------------
Hi!
When I try to create my extension skelet using ext_skel like this:
/home/tmp/php/ext$ ./ext_skel --extname=myext --proto=myext.proto
I get this output:
------------
Creating directory myext
awk: run time error: regular expression compile failed (missing '(')
^(\]* *))
FILENAME="-" FNR=1 NR=1
Creating basic files: config.m4 .cvsignore myext.c php_myext.h CREDITS EXPERIMENTAL tests/001.phpt
myext.phprm: cannot remove `function_entries': No such file or directory
rm: cannot remove `function_declarations': No such file or directory
rm: cannot remove `function_stubs': No such file or directory
[done].
To use your new extension, you...
...
------------
Extension is created, but not the function I specified in myext.proto.
It worked in 4.0.3.pl1, it didn't work in 4.3.2 and it doesn't work in current CVS version.
Reproduce code:
---------------
myext.phproto (taken from README.EXT_SKEL):
bool my_drawtext(resource image, string text, resource font, int x, int y [, int color])
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 11:00:01 2025 UTC |
please try to change ext/skeleton/create_stubs line 156 from gobble("\\]* *)") to gobble("\\]* *\\)")