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

no builtin shared memory supported #46

Open
chaosue opened this issue Jan 28, 2015 · 1 comment
Open

no builtin shared memory supported #46

chaosue opened this issue Jan 28, 2015 · 1 comment

Comments

@chaosue
Copy link

chaosue commented Jan 28, 2015

cannot be built statically, but built as a "so" is ok.

@huruihang
Copy link

php-7.2.1 静态编译报错

In file included from /root/huruihang-php-src/tmp/ext/php-ext-yac/storage/allocator/allocators/shm.c:20:0:
ext/php-ext-yac/storage/allocator/yac_allocator.h:46:2: 错误:#error (no builtin shared memory supported)
#error(no builtin shared memory supported)
^~~~~
make: *** [Makefile:1303:ext/php-ext-yac/storage/allocator/allocators/shm.lo] 错误 1

./configure
--disable-cgi --disable-phpdbg --disable-phar --disable-short-tags
--without-pear --without-sqlite3 --without-pdo-sqlite --without-iconv
--with-curl --with-openssl --with-pdo-mysql --with-libzip --with-zlib --with-swoole --with-jemalloc-dir=jemalloc
--enable-bcmath --enable-sockets --enable-openssl --enable-mbstring --enable-mysqlnd --enable-zip
--enable-redis --enable-phpiredis --enable-hprose --enable-thrift_protocol --enable-yac --enable-yaconf
--enable-swoole-static --enable-async-redis --enable-coroutine

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

2 participants