[bash]
[root@www gearman-1.0.3]# make
/bin/sh /usr/local/src/gearman-1.0.3/libtool --mode=compile cc -I. -I/apps/home/folder/local/folder4/gearman-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/gearman-1.0.3/include -I/usr/local/src/gearman-1.0.3/main -I/apps/home/folder/local/folder4/gearman-1.0.3 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/php/include -DHAVE_CONFIG_H -g -O2 -Wall -c /usr/local/src/gearman-1.0.3/php_gearman.c -o php_gearman.lo
cc -I. -I/apps/home/folder/local/folder4/gearman-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/gearman-1.0.3/include -I/usr/local/src/gearman-1.0.3/main -I/apps/home/folder/local/folder4/gearman-1.0.3 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/php/include -DHAVE_CONFIG_H -g -O2 -Wall -c /usr/local/src/gearman-1.0.3/php_gearman.c -fPIC -DPIC -o .libs/php_gearman.o
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_data’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1486: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_warning’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1514: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_status’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1537: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_complete’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1559: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_exception’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1581: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zif_gearman_job_send_fail’:
/usr/local/src/gearman-1.0.3/php_gearman.c:1600: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘_php_worker_function_callback’:
/usr/local/src/gearman-1.0.3/php_gearman.c:3521: error: dereferencing pointer to incomplete type
/usr/local/src/gearman-1.0.3/php_gearman.c: In function ‘zm_startup_gearman’:
/usr/local/src/gearman-1.0.3/php_gearman.c:4638: error: ‘GEARMAN_MAGIC_TEXT’ undeclared (first use in this function)
/usr/local/src/gearman-1.0.3/php_gearman.c:4638: error: (Each undeclared identifier is reported only once
/usr/local/src/gearman-1.0.3/php_gearman.c:4638: error: for each function it appears in.)
/usr/local/src/gearman-1.0.3/php_gearman.c:4641: error: ‘GEARMAN_MAGIC_REQUEST’ undeclared (first use in this function)
/usr/local/src/gearman-1.0.3/php_gearman.c:4644: error: ‘GEARMAN_MAGIC_RESPONSE’ undeclared (first use in this function)
make: *** [php_gearman.lo] Error 1
......
[/bash]
bugs.php.net 有列出该问题 Bug #63062 gearman extension compile error,从评论中可得知,该问题在 Gearman 上也有对应 gearman_worker_st no longer visible from gearman_job_st,下面有说明在 gearmand-1.1.1 中该问题已被 fix。
Herman J. Radtke III (hermanradtke) wrote on 2012-09-20: #8
I was able to successfully compile against the gearmand-1.1.1 release.
Brian Aker (brianaker) on 2012-09-20
Changed in gearmand:
status: Fix Committed → Fix Released
没有评论 :
发表评论