Im making static 64bit compilation of Apache and PHP on sparc Solaris 8
platform with native cc compiler.
The binaries works just fine, but i get LOTS of following errors

"main.c", line 1235: warning: argument #1 is incompatible with prototype:

prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/base64.h", line 28

argument : pointer to const char

"main.c", line 1235: warning: assignment type mismatch:

pointer to char "=" pointer to unsigned char

"php_ticks.c", line 56: warning: argument #2 is incompatible with prototype:

prototype: pointer to void : "/output1/dev/out/php-4.0.6/Zend/zend_llist.h",
line 53

argument : pointer to function(int) returning void

"php_logos.c", line 87: warning: argument #1 is incompatible with prototype:

prototype: pointer to const char :
"/output1/dev/out/php-4.0.6/ext/standard/php_output.h", line 30

argument : pointer to unsigned char

"session.c", line 477: warning: argument #2 is incompatible with prototype:

prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/md5.h", line 58

argument : pointer to char

"session.c", line 490: warning: argument #2 is incompatible with prototype:

prototype: pointer to const unsigned char :
"/output1/dev/out/php-4.0.6/ext/standard/md5.h", line 58

argument : pointer to char

"base64.c", line 163: warning: argument #1 is incompatible with prototype:

prototype: pointer to const unsigned char : "base64.c", line 34

argument : pointer to char

"base64.c", line 165: warning: assignment type mismatch:

pointer to char "=" pointer to unsigned char

"base64.c", line 184: warning: argument #1 is incompatible with prototype:

prototype: pointer to const unsigned char : "base64.c", line 71

argument : pointer to char

"base64.c", line 186: warning: assignment type mismatch:

pointer to char "=" pointer to unsigned char

"crc32.c", line 110: warning: initializer does not fit or is out of
range: -1

"dl.c", line 136: warning: improper pointer/integer combination: op "="

"html.c", line 111: warning: argument #1 is incompatible with prototype:

prototype: pointer to unsigned char : "html.c", line 49

argument : pointer to char

ETC.... ETC...

"mod_include.c", line 1546: warning: end-of-loop code not reached

"mod_include.c", line 1671: warning: end-of-loop code not reached

"/usr/include/dlfcn.h", line 107: warning: macro redefined: RTLD_LAZY

"/usr/include/dlfcn.h", line 111: warning: macro redefined: RTLD_GLOBAL

ETC ... ETC...

"./language.inc", line 5686: warning: initialization type mismatch

"./language.inc", line 5687: warning: initialization type mismatch

"./language.inc", line 5688: warning: initialization type mismatch

"./language.inc", line 5689: warning: initialization type mismatch

"./language.inc", line 5690: warning: initialization type mismatch

ETC... ETC....





Im just wondering how worried i should be from these messages and what could
be done to remove these errors!!!!

My current CC looks like this:

CC="/home/forte/SUNWspro/bin/cc -xarch=v9 -xCC"

and configuration like this:



cd ${APACHE_HOME}
./configure
#------ CONFIGURE AND MAKE
PHP ------------------------------------------------------
cd ${PHP_HOME}
./configure       --without-mysql \
                          --with-apache=${APACHE_HOME} \
                          --prefix=${PHP_OUTPUT}

make
make install
#------- CONFIGURE AND MAKE
APACHE --------------------------------------------------
cd ${APACHE_HOME}
./configure       --prefix=${APACHE_OUTPUT} \
                          --activate-module=src/modules/php4/libphp4.a

make
make install





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to