Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第一章的扩展生成出来正常 引用报错 #3

Open
12gameRensheng opened this issue Aug 3, 2021 · 0 comments
Open

第一章的扩展生成出来正常 引用报错 #3

12gameRensheng opened this issue Aug 3, 2021 · 0 comments

Comments

@12gameRensheng
Copy link

大佬 你好
这是我的环境:
linux
php 7.3.29
配置文件 config.m4 因为你的目录和代码没有提供 所以我自己百度了一份最简单的配置config.m4

PHP_ARG_WITH(myext, for mytest support,
Make sure that the comment is aligned:
[  --with-myext             Include myext support])

if test "$PHP_myext" != "no"; then
    PHP_NEW_EXTENSION(myext, myext.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
fi

这个扩展是生成出来了 但是 php -m 后就这样
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant