PhpC extension ext_skel Error

Source: Internet
Author: User
Run. ext_skel -- extnametest2_module -- prototest2_module.def. Error: awk: Empty _ stubscontex... Run./ext_skel -- extname = test2_module -- proto = test2_module.def
Error:
Awk: syntax error at source line 256 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Context is
If (! Stubs) print ""> extname >>> "/function_warning" <
Awk: illegal statement at source line 257 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Awk: syntax error at source line 267 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Creating basic files: config. m4 config. w32. gitignore test2_module.c php_test2_module.h credits experimental tests/001. phpt test2_module.phprm: function_entries: No such file
Rm: function_declarations: No such file or directory
Rm: function_stubs: No such file or directory
[Done].
What can I do?

Reply content:

Run./ext_skel -- extname = test2_module -- proto = test2_module.def
Error:
Awk: syntax error at source line 256 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Context is
If (! Stubs) print ""> extname >>> "/function_warning" <
Awk: illegal statement at source line 257 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Awk: syntax error at source line 267 source file/Applications/MAMP/bin/php/php5.6.6/include/php/ext/skeleton/create_stubs
Creating basic files: config. m4 config. w32. gitignore test2_module.c php_test2_module.h credits experimental tests/001. phpt test2_module.phprm: function_entries: No such file
Rm: function_declarations: No such file or directory
Rm: function_stubs: No such file or directory
[Done].
What can I do?

Make sure that ext_skel has the permission to write data to the directory during execution.

Are you sure the test2_module.def file exists?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.