I am trying to compile apache 2.0.49 on a Sun Solaris 8 Sparc Machine. I get the following error when I am configuring it with proxy support. ---------------------------------------------------------------- make[4]: Entering directory `/tools/web/tools/httpd-2.0.49/srclib/apr/file_io/unix' /bin/bash /tools/web/tools/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include -I../../include/arch/unix -I../../include/arch/unix -c flock.c && touch flock.lo flock.c: In function `apr_file_lock': flock.c:64: `LOCK_SH' undeclared (first use in this function) flock.c:64: (Each undeclared identifier is reported only once flock.c:64: for each function it appears in.) flock.c:66: `LOCK_EX' undeclared (first use in this function) flock.c:68: `LOCK_NB' undeclared (first use in this function) flock.c: In function `apr_file_unlock': flock.c:108: `LOCK_UN' undeclared (first use in this function) make[4]: *** [flock.lo] Error 1 make[4]: Leaving directory `/tools/web/tools/httpd-2.0.49/srclib/apr/file_io/unix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tools/web/tools/httpd-2.0.49/srclib/apr/file_io/unix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tools/web/tools/httpd-2.0.49/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tools/web/tools/httpd-2.0.49/srclib' make: *** [all-recursive] Error 1 ----------------------------------------------------------------- Thanks in advance!! Regards, K.Krishna Reproducible: Always Steps to Reproduce: 1.- 2. 3. Actual Results: - Expected Results: It should have successfully completed the make process. -
(1) i assume you're running gentoo even though you say Solaris 8 ... (2) you neglected to provide `emerge info` (3) why is this directory being used ? `/tools/web/tools/httpd-2.0.49/srclib/apr/file_io/unix'
I think this is what you want. http://nagoya.apache.org/bugzilla/