Tarjei Huse wrote: > >> PHP VERSION "4.1.0RC1" << > make[1]: Entering directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202' > make[1]: Nothing to be done for `distclean-p'. > make[1]: Leaving directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202' > rm -f midgard.la *.lo *.slo *.la *.o > rm -rf .libs > rm -f config.cache config.log config.status config_vars.mk libtool \ > config.h stamp-h Makefile build-defs.h php4.spec libphp4.module > aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
We can't fix this, PHP generates these defines. > In file included from /usr/include/apache-1.3/httpd.h:72, > from /usr/include/midgard/apache.h:25, > from php_midgard.h:34, > from midgard.c:24: > /usr/include/apache-1.3/ap_config.h:1374: warning: `XtOffsetOf' redefined > /usr/include/php4/main/php.h:342: warning: this is the location of the previous > definition This is harmless but annoying. PHP tries to be server-independent (which is good), and to accomplish this they re-implement stuff here and there that re-implements (and clashes with) stuff from external libraries that they use (which is not so good). We incluse both php.h and httpd.h and both implement this macro; I see no way of removing this warning without getting nifty with #defines to make gcc think we're some particular platform that allready defines it, and that's _got_ to break horribly yet unexpectandly sooner rather than later. > midgard.c:303: warning: initialization makes integer from pointer without a cast > midgard.c:303: initializer element is not computable at load time > midgard.c:303: (near initialization for `midgard_module_entry.size') I'm using debian unstable on a sparc, but I don't see this. I'll try later on my debian unstable/x86. Which version do you use? Line 303 in the CVS version shows a function declaration. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
