I had this problem today. Don't know if it is just me, if I did something wrong. Had to use --disable-php.
Was trying to test the new guile. Found references to this error, but no solution. I am worried, because recently I updated php, and it may be a problem in the book. For my particular use, I am not worried. Please, somene confirm if this is a local or a general problem (in this case, a solution would be muc welcomed). Thanks. {{{ In file included from gv_php_init.c:14:0: /usr/include/php/main/php.h:297:46: warning: function declaration isn't a prototype [-Wstrict-prototypes] static inline ZEND_ATTRIBUTE_DEPRECATED void php_std_error_handling() {} ^ In file included from /usr/include/php/Zend/zend_alloc.h:27:0, from /usr/include/php/Zend/zend.h:252, from /usr/include/php/main/php.h:34, from gv_php_init.c:14: gv_php_init.c: In function 'gv_string_writer': /usr/include/php/Zend/../TSRM/TSRM.h:167:18: error: 'tsrm_ls' undeclared (first use in this function) #define TSRMLS_C tsrm_ls ^ /usr/include/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro 'TSRMLS_C' #define TSRMLS_CC , TSRMLS_C ^ /usr/include/php/main/php_output.h:163:67: note: in expansion of macro 'TSRMLS_CC' #define PHPWRITE(str, str_len) php_output_write((str), (str_len) TSRMLS_CC) ^ gv_php_init.c:28:12: note: in expansion of macro 'PHPWRITE' return PHPWRITE(s, len); ^ /usr/include/php/Zend/../TSRM/TSRM.h:167:18: note: each undeclared identifier is reported only once for each function it appears in #define TSRMLS_C tsrm_ls ^ /usr/include/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro 'TSRMLS_C' #define TSRMLS_CC , TSRMLS_C ^ /usr/include/php/main/php_output.h:163:67: note: in expansion of macro 'TSRMLS_CC' #define PHPWRITE(str, str_len) php_output_write((str), (str_len) TSRMLS_CC) ^ gv_php_init.c:28:12: note: in expansion of macro 'PHPWRITE' return PHPWRITE(s, len); ^ gv_php_init.c: In function 'gv_channel_writer': /usr/include/php/Zend/../TSRM/TSRM.h:167:18: error: 'tsrm_ls' undeclared (first use in this function) #define TSRMLS_C tsrm_ls ^ /usr/include/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro 'TSRMLS_C' #define TSRMLS_CC , TSRMLS_C ^ /usr/include/php/main/php_output.h:163:67: note: in expansion of macro 'TSRMLS_CC' #define PHPWRITE(str, str_len) php_output_write((str), (str_len) TSRMLS_CC) ^ gv_php_init.c:33:12: note: in expansion of macro 'PHPWRITE' return PHPWRITE(s, len); ^ gv_php_init.c: In function 'gv_string_writer': gv_php_init.c:29:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gv_php_init.c: In function 'gv_channel_writer': gv_php_init.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:2019: recipe for target 'libgv_php_la-gv_php_init.lo' failed make[4]: *** [libgv_php_la-gv_php_init.lo] Error 1 make[4]: ** Esperando que outros processos terminem. make[4]: Leaving directory '/home/fernando/tmp/paco-build-2014.03.19-17h45m50s/graphviz-2.36.0/tclpkg/gv' Makefile:2865: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/fernando/tmp/paco-build-2014.03.19-17h45m50s/graphviz-2.36.0/tclpkg/gv' Makefile:603: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/fernando/tmp/paco-build-2014.03.19-17h45m50s/graphviz-2.36.0/tclpkg' Makefile:774: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/fernando/tmp/paco-build-2014.03.19-17h45m50s/graphviz-2.36.0' Makefile:583: recipe for target 'all' failed make: *** [all] Error 2 }}} -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page