-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Description
After installing php-cpp, I run make test. It has fault:
mkdir -p tests/include/zts/phpcpp
cd tests && ./test.sh -p "/usr/bin/php"
Compile the test extension
make[1]: Entering directory `/home/ionas/make/PHP-CPP/tests/cpp'
rm -f extfortest.so main.o
make[1]: Leaving directory `/home/ionas/make/PHP-CPP/tests/cpp'
make[1]: Entering directory `/home/ionas/make/PHP-CPP/tests/cpp'
g++ -Wall -c -O2 -std=c++11 -fpic -I"/home/ionas/make/PHP-CPP/tests/include/lib" -I"/home/ionas/make/PHP-CPP/tests/include/zts" -o main.o main.cpp
In file included from /home/ionas/make/PHP-CPP/tests/include/lib/phpcpp.h:39:0,
from main.cpp:8:
/home/ionas/make/PHP-CPP/tests/include/lib/phpcpp/type.h:32:1: warning: type attributes ignored after type is already defined [-Wattributes]
};
^
In file included from /home/ionas/make/PHP-CPP/tests/include/lib/phpcpp.h:60:0,
from main.cpp:8:
/home/ionas/make/PHP-CPP/tests/include/lib/phpcpp/classtype.h:31:1: warning: type attributes ignored after type is already defined [-Wattributes]
};
^
g++ -shared -L"/home/ionas/make/PHP-CPP" -o extfortest.so main.o -lphpcpp
make[1]: Leaving directory `/home/ionas/make/PHP-CPP/tests/cpp'
/home/ionas/make/PHP-CPP:
PHP Warning: PHP Startup: Unable to load dynamic library '/home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so' - /home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so: undefined symbol: _ZN3PhplsERSoRKNS_8IniValueE in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so' - /home/ionas/make/PHP-CPP/tests/ext_dir/extfortest.so: undefined symbol: _ZN3PhplsERSoRKNS_8IniValueE in Unknown on line 0
=====================================================================
After that, every test has been skiped.
Metadata
Metadata
Assignees
Labels
No labels