On 3/4/2010 3:07 PM, shiva kumar wrote:
Hi ,
after compiling ./configure --disable all , completed successfully and then
when make was run following error has come , could any one please help.
clsdb06/php-5.2.12.tar/php-5.2.12
-I/notes/clsdb06/php-5.2.12.tar/php-5.2.12/ext/date/lib
-I/notes/clsdb06/php-5.2.12.tar/php-5.2.12/TSRM
-I/notes/clsdb06/php-5.2.12.tar/php-5.2.12/Zend -g -O2 -c
/notes/clsdb06/php-5.2.12.tar/php-5.2.12/ext/standard/dns.c -o
ext/standard/dns.lo
In file included from /usr/include/arpa/nameser.h:645,
from /notes/clsdb06/php-5.2.12.tar/php-5.2.12/ext/standard/dns.c:62:
/usr/include/arpa/onameser_compat.h:265: error: conflicting types for
'HEADER'
/usr/include/arpa/nameser_compat.h:244: error: previous declaration of
'HEADER' was here
make: 1254-004 The error code from the last command is 1.
Stop.
root@clsndb00b:/notes/clsdb06/php-5.2.12.tar/php-5.2.12
I had encountered several problems with the php-5.2.12 distribution that
have been repaired. I strongly recommend starting over again with the
5.2.13 distribution.
Once I have it completed to my satisfaction I create an installp package.
Michael
p.s. re: you error above - there should also be a reference to the file
that defined it first! Although, it looks as if it is gettig conflicting
definitions within a single file
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]