DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19316>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19316

make fails (Solaris 9; exports.c; undeclared ap[r]_*: "not in a function")





------- Additional Comments From [EMAIL PROTECTED]  2003-05-23 21:08 -------
I have the same problem on PC / Linux httpd ver 2.0.44 compiles fine and 2.0.45
outputs some identical lines. I'm trying to build httpd in a chrooted
environement using the following notes :

# mkdir -p /usr/chroot/www
# CHOST="i686-pc-linux-gnu"
# CFLAGS="-march=i686 -O3 -pipe"
# CXXFLAGS="${CFLAGS}"
# export CHOST CFLAGS CXXFLAGS

# cd /tmp
# tar zxf expat-1.95.6.tar.gz
# cd expat-1.95.6
# ./configure --prefix=/# make
# make prefix=/usr/chroot/www install
# make prefix=/usr/chroot/www installlib
# strip --strip-debug /usr/chroot/www/bin/xmlwf

# cd /tmp
# tar zxf openssl-0.9.6i.tar.gz
# cd openssl-0.9.6i
# ./Configure --prefix=/ linux-elf
# make all
# make INSTALL_PREFIX=/usr/chroot/www install
# strip --strip-debug /usr/chroot/www/bin/openssl

# cd /tmp
# tar zxf zlib-1.1.4.tar.gz
# cd zlib-1.1.4
# ./configure --shared --prefix=/
# make 
# make prefix=/usr/chroot/www install

# cd /tmp
# tar zxf db-4.1.25.tar.gz
# cd db-4.1.25
# patch -p0 < ../patch.4.1.25.1
# cd dist
# ./configure --prefix=/ --datadir=/usr/share --enable-cxx
# make 
# make prefix=/usr/chroot/www install
# strip --strip-debug /usr/chroot/www/bin/db_*

# cd /tmp
# tar zxf httpd-2.0.45.tar.gz
# cd httpd-2.0.45
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/chroot/www/lib
# ./configure --prefix=/ \
  --enable-auth-digest \
  --with-perl=/usr/bin/perl \
  --with-expat=/usr/chroot/www \
  --with-ssl=/usr/chroot/www \
  --with-z=/usr/chroot/www/lib \
  --disable-userdir \
  --enable-ssl \
  --enable-so \
  --enable-cgi
# make 

I obtain these errors :

[...]
/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool --silent --mode=compile gcc  -g -O2
-pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  
-I/tmp/httpd-2.0.45/srclib/apr/include
-I/tmp/httpd-2.0.45/srclib/apr-util/include -I/usr/chroot/www/include -I.
-I/tmp/httpd-2.0.45/os/unix -I/tmp/httpd-2.0.45/server/mpm/prefork
-I/tmp/httpd-2.0.45/modules/http -I/tmp/httpd-2.0.45/modules/filters
-I/tmp/httpd-2.0.45/modules/proxy -I/tmp/httpd-2.0.45/include
-I/usr/chroot/www/include/openssl -I/tmp/httpd-2.0.45/modules/dav/main
-prefer-non-pic -static -c /tmp/httpd-2.0.45/server/exports.c && touch
/tmp/httpd-2.0.45/server/exports.lo
/tmp/httpd-2.0.45/server/exports.c:146: `ap_get_module_config' undeclared here
(not in a function)
/tmp/httpd-2.0.45/server/exports.c:147: `ap_set_module_config' undeclared here
(not in a function)
/tmp/httpd-2.0.45/server/exports.c:330: `ap_strchr' undeclared here (not in a
function)
/tmp/httpd-2.0.45/server/exports.c:331: `ap_strchr_c' undeclared here (not in a
function)
/tmp/httpd-2.0.45/server/exports.c:332: `ap_strrchr' undeclared here (not in a
function)
/tmp/httpd-2.0.45/server/exports.c:333: `ap_strrchr_c' undeclared here (not in a
function)
/tmp/httpd-2.0.45/server/exports.c:334: `ap_strstr' undeclared here (not in a
function)
/tmp/httpd-2.0.45/server/exports.c:335: `ap_strstr_c' undeclared here (not in a
function)
make[2]: *** [/tmp/httpd-2.0.45/server/exports.lo] Error 1

Regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to