Skip to content

Instantly share code, notes, and snippets.

@jacobsantos
Last active December 8, 2016 16:28
Show Gist options
  • Save jacobsantos/0cffaf74d1abc1a9a0afd3c00fbfe23f to your computer and use it in GitHub Desktop.
Save jacobsantos/0cffaf74d1abc1a9a0afd3c00fbfe23f to your computer and use it in GitHub Desktop.
/bin/bash /tmp/php_excel-php7/libtool --mode=compile cc -I. -I/tmp/php_excel-php7 -DPHP_ATOM_INC -I/tmp/php_excel-php7/include -I/tmp/php_excel-php7/main -I/tmp/php_excel-php7 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/opt/libxl/include_c/ -I/usr/include/libxml2 -fstack-protector-strong -fpic -fpie -O2 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -c /tmp/php_excel-php7/excel.c -o excel.lo
mkdir .libs
cc -I. -I/tmp/php_excel-php7 -DPHP_ATOM_INC -I/tmp/php_excel-php7/include -I/tmp/php_excel-php7/main -I/tmp/php_excel-php7 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/opt/libxl/include_c/ -I/usr/include/libxml2 -fstack-protector-strong -fpic -fpie -O2 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -c /tmp/php_excel-php7/excel.c -fPIC -DPIC -o .libs/excel.o
In file included from /usr/local/include/php/main/php.h:39:0,
from /tmp/php_excel-php7/excel.c:26:
/tmp/php_excel-php7/excel.c: In function 'zm_startup_excel':
/tmp/php_excel-php7/excel.c:79:40: error: 'excel_funcs_autofilter' undeclared (first use in this function)
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/usr/local/include/php/Zend/zend_API.h:224:53: note: in definition of macro 'INIT_CLASS_ENTRY_INIT_METHODS'
class_container.info.internal.builtin_functions = functions; \
^
/usr/local/include/php/Zend/zend_API.h:228:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY_EX'
INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, sizeof(class_name)-1, functions, handle_fcall, handle_propget, handle_propset, NULL, NULL)
^
/usr/local/include/php/Zend/zend_API.h:179:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY'
INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, NULL, NULL, NULL)
^
/tmp/php_excel-php7/excel.c:79:3: note: in expansion of macro 'INIT_CLASS_ENTRY'
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
/tmp/php_excel-php7/excel.c:79:40: note: each undeclared identifier is reported only once for each function it appears in
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/usr/local/include/php/Zend/zend_API.h:224:53: note: in definition of macro 'INIT_CLASS_ENTRY_INIT_METHODS'
class_container.info.internal.builtin_functions = functions; \
^
/usr/local/include/php/Zend/zend_API.h:228:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY_EX'
INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, sizeof(class_name)-1, functions, handle_fcall, handle_propget, handle_propset, NULL, NULL)
^
/usr/local/include/php/Zend/zend_API.h:179:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY'
INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, NULL, NULL, NULL)
^
/tmp/php_excel-php7/excel.c:79:3: note: in expansion of macro 'INIT_CLASS_ENTRY'
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
/tmp/php_excel-php7/excel.c:80:22: error: 'excel_object_new_autofilter' undeclared (first use in this function)
ce.create_object = excel_object_new_ ## c_name; \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
/tmp/php_excel-php7/excel.c:81:3: error: 'excel_ce_autofilter' undeclared (first use in this function)
excel_ce_ ## c_name = zend_register_internal_class_ex(&ce, NULL); \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
/tmp/php_excel-php7/excel.c:82:11: error: 'excel_object_handlers_autofilter' undeclared (first use in this function)
memcpy(&excel_object_handlers_ ## c_name, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
In file included from /usr/include/time.h:37:0,
from /usr/local/include/php/main/php_reentrancy.h:30,
from /usr/local/include/php/main/php.h:403,
from /tmp/php_excel-php7/excel.c:26:
/tmp/php_excel-php7/excel.c:83:57: error: unknown type name 'excel_autofilter_object'
excel_object_handlers_ ## c_name .offset = XtOffsetOf(excel_ ## c_name ## _object, std); \
^
/tmp/php_excel-php7/excel.c:83:46: note: in expansion of macro 'XtOffsetOf'
excel_object_handlers_ ## c_name .offset = XtOffsetOf(excel_ ## c_name ## _object, std); \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
/tmp/php_excel-php7/excel.c:84:48: error: 'excel_autofilter_object_free_storage' undeclared (first use in this function)
excel_object_handlers_ ## c_name .free_obj = excel_ ## c_name ## _object_free_storage; \
^
/tmp/php_excel-php7/excel.c:6495:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(AutoFilter, autofilter, NULL);
^
In file included from /usr/local/include/php/main/php.h:39:0,
from /tmp/php_excel-php7/excel.c:26:
/tmp/php_excel-php7/excel.c:79:40: error: 'excel_funcs_filtercolumn' undeclared (first use in this function)
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/usr/local/include/php/Zend/zend_API.h:224:53: note: in definition of macro 'INIT_CLASS_ENTRY_INIT_METHODS'
class_container.info.internal.builtin_functions = functions; \
^
/usr/local/include/php/Zend/zend_API.h:228:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY_EX'
INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, sizeof(class_name)-1, functions, handle_fcall, handle_propget, handle_propset, NULL, NULL)
^
/usr/local/include/php/Zend/zend_API.h:179:2: note: in expansion of macro 'INIT_OVERLOADED_CLASS_ENTRY'
INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, NULL, NULL, NULL)
^
/tmp/php_excel-php7/excel.c:79:3: note: in expansion of macro 'INIT_CLASS_ENTRY'
INIT_CLASS_ENTRY(ce, "Excel" # name, excel_funcs_ ## c_name); \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
/tmp/php_excel-php7/excel.c:80:22: error: 'excel_object_new_filtercolumn' undeclared (first use in this function)
ce.create_object = excel_object_new_ ## c_name; \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
/tmp/php_excel-php7/excel.c:81:3: error: 'excel_ce_filtercolumn' undeclared (first use in this function)
excel_ce_ ## c_name = zend_register_internal_class_ex(&ce, NULL); \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
/tmp/php_excel-php7/excel.c:82:11: error: 'excel_object_handlers_filtercolumn' undeclared (first use in this function)
memcpy(&excel_object_handlers_ ## c_name, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
In file included from /usr/include/time.h:37:0,
from /usr/local/include/php/main/php_reentrancy.h:30,
from /usr/local/include/php/main/php.h:403,
from /tmp/php_excel-php7/excel.c:26:
/tmp/php_excel-php7/excel.c:83:57: error: unknown type name 'excel_filtercolumn_object'
excel_object_handlers_ ## c_name .offset = XtOffsetOf(excel_ ## c_name ## _object, std); \
^
/tmp/php_excel-php7/excel.c:83:46: note: in expansion of macro 'XtOffsetOf'
excel_object_handlers_ ## c_name .offset = XtOffsetOf(excel_ ## c_name ## _object, std); \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
/tmp/php_excel-php7/excel.c:84:48: error: 'excel_filtercolumn_object_free_storage' undeclared (first use in this function)
excel_object_handlers_ ## c_name .free_obj = excel_ ## c_name ## _object_free_storage; \
^
/tmp/php_excel-php7/excel.c:6496:2: note: in expansion of macro 'REGISTER_EXCEL_CLASS'
REGISTER_EXCEL_CLASS(FilterColumn, filtercolumn, NULL);
^
Makefile:194: recipe for target 'excel.lo' failed
make: *** [excel.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment