Link errors in building PHP 5.3.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I am facing issues in building PHP 5.3.2.
was able to compile all required files but getting the following errors in linking phase.

I tried doing "make clean" & "make install" several times, but these errors remain the same.
Please suggest how to go about with these errors and let me know if I need to provide more information.

ereg.o: In function `_php_regcomp':
src/dist/php/ext/ereg/ereg.c:161: undefined reference to `php_regcomp'
ereg.o: In function `php_ereg_eprint':
src/dist/php/ext/ereg/ereg.c:254: undefined reference to `php_regerror'
src/dist/php/ext/ereg/ereg.c:259: undefined reference to `php_regerror'
src/dist/php/ext/ereg/ereg.c:264: undefined reference to `php_regerror'
src/dist/php/ext/ereg/ereg.c:277: undefined reference to `php_regerror'
ereg.o: In function `php_split':
src/dist/php/ext/ereg/ereg.c:657: undefined reference to `php_regexec'
ereg.o: In function `php_ereg_replace':
src/dist/php/ext/ereg/ereg.c:443: undefined reference to `php_regexec'
ereg.o: In function `_free_ereg_cache':
src/dist/php/ext/ereg/ereg.c:198: undefined reference to `php_regfree'
ereg.o: In function `php_ereg':
src/dist/php/ext/ereg/ereg.c:342: undefined reference to `php_regexec'
dns.o: In function `zif_dns_check_record':
src/dist/php/ext/standard/dns.c:385: undefined reference to `res_ninit'
src/dist/php/ext/standard/dns.c:393: undefined reference to `res_nsearch'
src/dist/php/ext/standard/dns.c:399: undefined reference to `res_nclose'
dns.o: In function `zif_dns_get_mx':
src/dist/php/ext/standard/dns.c:920: undefined reference to `res_ninit'
src/dist/php/ext/standard/dns.c:927: undefined reference to `res_nsearch'
src/dist/php/ext/standard/dns.c:939: undefined reference to `res_nclose'
src/dist/php/ext/standard/dns.c:946: undefined reference to `res_nclose'
src/dist/php/ext/standard/dns.c:959: undefined reference to `res_nclose'
src/dist/php/ext/standard/dns.c:968: undefined reference to `res_nclose'
dns.o: In function `zif_dns_get_record':
src/dist/php/ext/standard/dns.c:803: undefined reference to `res_ninit'
src/dist/php/ext/standard/dns.c:810: undefined reference to `res_nsearch'
src/dist/php/ext/standard/dns.c:813: undefined reference to `res_nclose'
src/dist/php/ext/standard/dns.c:831: undefined reference to `res_nclose'
src/dist/php/ext/standard/dns.c:872: undefined reference to `res_nclose'
collect2: ld returned 1 exit status


--
Regards,
Naga Kiran

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux