William A. Rowe, Jr. wrote: > jean-frederic clere wrote: >> That is going to break: >> In mod_proxy.h: >> int ap_proxy_lb_workers(void); >> In server/scoreboard.c: >> +++ >> static APR_OPTIONAL_FN_TYPE(ap_proxy_lb_workers) >> *proxy_lb_workers; >> +++ > > which is fine - this is trunk. > > Heaven forbid we backport it ;_) >
Sure but I have: +++ /home/jfclere/TMP/dev01.qa.atl2.redhat.com/APR/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/srclib/pcre -I. -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/os/unix -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/server/mpm/prefork -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/http -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/filters -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/proxy -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/include -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/generators -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/mappers -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/database -I/home/jfclere/TMP/dev01.qa.atl2.redhat.com/APR/include/apr! -1 -I/home/jfclere/TMP/dev01.qa.atl2.redhat.com/APU/include/apr-1 -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/proxy/../generators -I/usr/kerberos/include -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/ssl -I/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/dav/main -prefer-non-pic -static -c scoreboard.c && touch scoreboard.lo scoreboard.c:64: conflicting types for `proxy_lb_workers' /qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/modules/proxy/mod_proxy.h:742: previous declaration of `proxy_lb_workers' scoreboard.c: In function `ap_calc_scoreboard_size': scoreboard.c:108: sizeof applied to an incomplete type scoreboard.c: In function `ap_init_scoreboard': scoreboard.c:134: sizeof applied to an incomplete type scoreboard.c: In function `ap_create_scoreboard': scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c:286: sizeof applied to an incomplete type scoreboard.c: In function `ap_get_scoreboard_lb': scoreboard.c:496: invalid use of undefined type `struct proxy_worker_stat' scoreboard.c:496: dereferencing pointer to incomplete type make[2]: *** [scoreboard.lo] Error 1 make[2]: Leaving directory `/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/server' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/qa/home/jfclere/TMP/dev01.qa.atl2.redhat.com/httpd-trunk/server' make: *** [install-recursive] Error 1 Build FAILED +++
