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

There is an error in the compilation(make) #183

Open
magicento opened this issue Apr 26, 2023 · 3 comments
Open

There is an error in the compilation(make) #183

magicento opened this issue Apr 26, 2023 · 3 comments

Comments

@magicento
Copy link

❯ ./configure --with-php-config=/usr/local/Cellar/php/8.1.12/bin/php-config
........

❯ make
─╯
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd.cc -o yasd.lo -MMD -MF yasd.dep -MT yasd.lo
mkdir .libs
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd.cc -MMD -MF yasd.dep -MT yasd.lo -fno-common -DPIC -o .libs/yasd.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd_api.cc -o yasd_api.lo -MMD -MF yasd_api.dep -MT yasd_api.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd_api.cc -MMD -MF yasd_api.dep -MT yasd_api.lo -fno-common -DPIC -o .libs/yasd_api.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/php_yasd_cxx.cc -o php_yasd_cxx.lo -MMD -MF php_yasd_cxx.dep -MT php_yasd_cxx.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/php_yasd_cxx.cc -MMD -MF php_yasd_cxx.dep -MT php_yasd_cxx.lo -fno-common -DPIC -o .libs/php_yasd_cxx.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd_function_status.cc -o yasd_function_status.lo -MMD -MF yasd_function_status.dep -MT yasd_function_status.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/yasd_function_status.cc -MMD -MF yasd_function_status.dep -MT yasd_function_status.lo -fno-common -DPIC -o .libs/yasd_function_status.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/common.cc -o src/common.lo -MMD -MF src/common.dep -MT src/common.lo
mkdir src/.libs
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/common.cc -MMD -MF src/common.dep -MT src/common.lo -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/util.cc -o src/util.lo -MMD -MF src/util.dep -MT src/util.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/util.cc -MMD -MF src/util.dep -MT src/util.lo -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/base.cc -o src/base.lo -MMD -MF src/base.dep -MT src/base.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/base.cc -MMD -MF src/base.dep -MT src/base.lo -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/buffer.cc -o src/buffer.lo -MMD -MF src/buffer.dep -MT src/buffer.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/buffer.cc -MMD -MF src/buffer.dep -MT src/buffer.lo -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/logger.cc -o src/logger.lo -MMD -MF src/logger.dep -MT src/logger.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/logger.cc -MMD -MF src/logger.dep -MT src/logger.lo -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/context.cc -o src/context.lo -MMD -MF src/context.dep -MT src/context.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/context.cc -MMD -MF src/context.dep -MT src/context.lo -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/global.cc -o src/global.lo -MMD -MF src/global.dep -MT src/global.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/global.cc -MMD -MF src/global.dep -MT src/global.lo -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/source_reader.cc -o src/source_reader.lo -MMD -MF src/source_reader.dep -MT src/source_reader.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/source_reader.cc -MMD -MF src/source_reader.dep -MT src/source_reader.lo -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/dbgp.cc -o src/dbgp.lo -MMD -MF src/dbgp.dep -MT src/dbgp.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/dbgp.cc -MMD -MF src/dbgp.dep -MT src/dbgp.lo -fno-common -DPIC -o src/.libs/dbgp.o
/Users/superman/Desktop/yasd/src/dbgp.cc:232:16: warning: variable 'num' set but not used [-Wunused-but-set-variable]
zend_ulong num;
^
1 warning generated.
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/debuger_mode_base.cc -o src/debuger_mode_base.lo -MMD -MF src/debuger_mode_base.dep -MT src/debuger_mode_base.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/debuger_mode_base.cc -MMD -MF src/debuger_mode_base.dep -MT src/debuger_mode_base.lo -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/cmder_debugger.cc -o src/cmder_debugger.lo -MMD -MF src/cmder_debugger.dep -MT src/cmder_debugger.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/cmder_debugger.cc -MMD -MF src/cmder_debugger.dep -MT src/cmder_debugger.lo -fno-common -DPIC -o src/.libs/cmder_debugger.o
/bin/sh /Users/superman/Desktop/yasd/libtool --mode=compile g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/remote_debugger.cc -o src/remote_debugger.lo -MMD -MF src/remote_debugger.dep -MT src/remote_debugger.lo
g++ -I. -I/Users/superman/Desktop/yasd -I/Users/superman/Desktop/yasd/include -I/Users/superman/Desktop/yasd/main -I/Users/superman/Desktop/yasd -I/usr/local/Cellar/php/8.1.12/include/php -I/usr/local/Cellar/php/8.1.12/include/php/main -I/usr/local/Cellar/php/8.1.12/include/php/TSRM -I/usr/local/Cellar/php/8.1.12/include/php/Zend -I/usr/local/Cellar/php/8.1.12/include/php/ext -I/usr/local/Cellar/php/8.1.12/include/php/ext/date/lib -I/include -I/Users/superman/Desktop/yasd/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -DZEND_COMPILE_DL_EXT=1 -c /Users/superman/Desktop/yasd/src/remote_debugger.cc -MMD -MF src/remote_debugger.dep -MT src/remote_debugger.lo -fno-common -DPIC -o src/.libs/remote_debugger.o
In file included from /Users/superman/Desktop/yasd/src/remote_debugger.cc:33:
In file included from /usr/local/include/boost/algorithm/string.hpp:23:
In file included from /usr/local/include/boost/algorithm/string/split.hpp:16:
In file included from /usr/local/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /usr/local/include/boost/function.hpp:30:
In file included from /usr/local/include/boost/function/detail/prologue.hpp:15:
In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:97:9: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", ln );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/php/8.1.12/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
In file included from /Users/superman/Desktop/yasd/src/remote_debugger.cc:33:
In file included from /usr/local/include/boost/algorithm/string.hpp:23:
In file included from /usr/local/include/boost/algorithm/string/split.hpp:16:
In file included from /usr/local/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /usr/local/include/boost/function.hpp:30:
In file included from /usr/local/include/boost/function/detail/prologue.hpp:15:
In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:104:13: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", co );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/php/8.1.12/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
2 errors generated.
make: *** [src/remote_debugger.lo] Error 1

@bingxinti
Copy link

In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:97:9: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", ln );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/[email protected]/8.1.18_1/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
In file included from /usr/local/Cellar/[email protected]/8.1.18_1/lib/php/yasd/src/remote_debugger.cc:33:
In file included from /usr/local/include/boost/algorithm/string.hpp:23:
In file included from /usr/local/include/boost/algorithm/string/split.hpp:16:
In file included from /usr/local/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /usr/local/include/boost/function.hpp:30:
In file included from /usr/local/include/boost/function/detail/prologue.hpp:15:
In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:104:13: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", co );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/[email protected]/8.1.18_1/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
2 errors generated.
make: *** [src/remote_debugger.lo] Error 1
bingxin@bingxindeMini yasd % gcc -v
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

1 similar comment
@bingxinti
Copy link

In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:97:9: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", ln );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/[email protected]/8.1.18_1/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
In file included from /usr/local/Cellar/[email protected]/8.1.18_1/lib/php/yasd/src/remote_debugger.cc:33:
In file included from /usr/local/include/boost/algorithm/string.hpp:23:
In file included from /usr/local/include/boost/algorithm/string/split.hpp:16:
In file included from /usr/local/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /usr/local/include/boost/function.hpp:30:
In file included from /usr/local/include/boost/function/detail/prologue.hpp:15:
In file included from /usr/local/include/boost/throw_exception.hpp:21:
In file included from /usr/local/include/boost/exception/exception.hpp:9:
/usr/local/include/boost/assert/source_location.hpp:104:13: error: no member named 'ap_php_snprintf' in namespace 'std'; did you mean simply 'ap_php_snprintf'?
BOOST_ASSERT_SNPRINTF( buffer, ":%lu", co );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/assert/source_location.hpp:81:53: note: expanded from macro 'BOOST_ASSERT_SNPRINTF'

define BOOST_ASSERT_SNPRINTF(buffer, format, arg) std::snprintf(buffer, sizeof(buffer)/sizeof(buffer[0]), format, arg)

                                                ^~~~~

/usr/local/Cellar/[email protected]/8.1.18_1/include/php/main/snprintf.h:74:12: note: 'ap_php_snprintf' declared here
PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
^
2 errors generated.
make: *** [src/remote_debugger.lo] Error 1
bingxin@bingxindeMini yasd % gcc -v
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@huanghantao
Copy link
Member

升级到最新的swoole版本可以直接使用xdebug

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

3 participants