PHP C Extension Ext_skel error

Source: Internet
Author: User
Execution./ext_skel--extname=test2_module--proto=test2_module.def
Error:
Awk:syntax error at source line, 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 or directory
Rm:function_declarations:No such file or directory
Rm:function_stubs:No such file or directory
[Done].
How do I deal with

Reply content:

Execution./ext_skel--extname=test2_module--proto=test2_module.def
Error:
Awk:syntax error at source line, 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 or directory
Rm:function_declarations:No such file or directory
Rm:function_stubs:No such file or directory
[Done].
How do I deal with

Make sure that you Ext_skel have permission to write to the directory when you execute it.

Confirm that 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.