Hey guys, I got this compile error on my local ubuntu feisty machine.
--- edit
never mind 'make clean' fixed it
Code:
-lz -lxml2 -lssl -lcrypto -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/litespeed/php
ext/standard/info.o: In function `php_print_gpcse_array':
/app/sources/php-5.2.3/ext/standard/info.c:133: undefined reference to `executor_globals'
ext/standard/info.o: In function `php_print_info':
/app/sources/php-5.2.3/ext/standard/info.c:722: undefined reference to `executor_globals'
/app/sources/php-5.2.3/ext/standard/info.c:725: undefined reference to `executor_globals'
/app/sources/php-5.2.3/ext/standard/info.c:728: undefined reference to `executor_globals'
/app/sources/php-5.2.3/ext/standard/info.c:731: undefined reference to `executor_globals'
/app/sources/php-5.2.3/ext/standard/info.c:655: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/ext/standard/info.c:443: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/ext/standard/info.c:634: undefined reference to `sapi_globals'
sapi/litespeed/lsapi_main.o: In function `zif_litespeed_response_headers':
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:861: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:881: undefined reference to `sapi_globals'
sapi/litespeed/lsapi_main.o:/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:180: more undefined references to `sapi_globals' follow
sapi/litespeed/lsapi_main.o: In function `cli_main':
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:508: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:510: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:513: undefined reference to `compiler_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:514: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:587: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:585: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:586: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:616: undefined reference to `executor_globals'
sapi/litespeed/lsapi_main.o: In function `lsapi_module_main':
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:345: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:357: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:357: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:360: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:351: undefined reference to `sapi_globals'
sapi/litespeed/lsapi_main.o: In function `processReq':
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:394: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:406: undefined reference to `executor_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:397: undefined reference to `sapi_globals'
sapi/litespeed/lsapi_main.o: In function `init_request_info':
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:322: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:323: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:324: undefined reference to `sapi_globals'
/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:325: undefined reference to `sapi_globals'
sapi/litespeed/lsapi_main.o:/app/sources/php-5.2.3/sapi/litespeed/lsapi_main.c:328: more undefined references to `sapi_globals' follow
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
--- edit
never mind 'make clean' fixed it
Last edited: