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=13558>. 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=13558 Cannot "make" Apache in solaris 8 Summary: Cannot "make" Apache in solaris 8 Product: Apache httpd-2.0 Version: 2.0.42 Platform: Sun OS/Version: Solaris Status: NEW Severity: Blocker Priority: Other Component: Build AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I am running: Solaris 8 108528-16 gcc 3.2 GNU make 3.80 I have tried many versions of Apache 2.0.38 - 2.0.43 and get the same error. I have retrieved all builds from apache.org. Configure works fine. The problem occurs running make: (below is a snip from the log) ... ... ... Making all in locks/unix /bin/bash /export/home/packages/httpd-2.0.43/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 - I../../include/arch/unix -c thread_mutex.c && touch thread_mutex.lo /bin/bash /export/home/packages/httpd-2.0.43/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 - I../../include/arch/unix -c thread_rwlock.c && touch thread_rwlock.lo In file included from thread_rwlock.c:55: ../../include/arch/unix/thread_rwlock.h:74: parse error before "pthread_rwlock_t" ../../include/arch/unix/thread_rwlock.h:74: warning: no semicolon at end of struct or union thread_rwlock.c: In function `thread_rwlock_cleanup': thread_rwlock.c:67: dereferencing pointer to incomplete type thread_rwlock.c:68: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_create': thread_rwlock.c:84: sizeof applied to an incomplete type thread_rwlock.c:84: sizeof applied to an incomplete type thread_rwlock.c:90: dereferencing pointer to incomplete type thread_rwlock.c:91: dereferencing pointer to incomplete type thread_rwlock.c:91: `pthread_rwlock_t' undeclared (first use in this function) thread_rwlock.c:91: (Each undeclared identifier is reported only once thread_rwlock.c:91: for each function it appears in.) thread_rwlock.c:91: parse error before ')' token thread_rwlock.c:94: dereferencing pointer to incomplete type thread_rwlock.c:98: dereferencing pointer to incomplete type thread_rwlock.c:106: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_rdlock': thread_rwlock.c:118: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_tryrdlock': thread_rwlock.c:131: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_wrlock': thread_rwlock.c:147: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_trywrlock': thread_rwlock.c:160: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_unlock': thread_rwlock.c:176: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_destroy': thread_rwlock.c:189: dereferencing pointer to incomplete type thread_rwlock.c: In function `apr_thread_rwlock_pool_get': thread_rwlock.c:234: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `thread_rwlock.lo' Current working directory /export/home/packages/httpd- 2.0.43/srclib/apr/locks/unix *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/packages/httpd- 2.0.43/srclib/apr/locks/unix *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/packages/httpd-2.0.43/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/packages/httpd-2.0.43/srclib *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ------------------------------------------------------------- It seems to me that either the build is missing .h files or there is an error in the thread_rwlock.c file. Here is a listing of the files currently in that directory: It has been the same in all of the builds I have tried. /export/home/packages/httpd-2.0.43/srclib/apr/locks/unix drwxr-xr-x 3 1134 1134 512 Oct 7 09:56 . drwxr-xr-x 7 1134 1134 512 Oct 3 01:43 .. drwxr-xr-x 2 root other 512 Oct 7 09:56 .libs -rw-r--r-- 1 root other 489 Oct 7 09:22 Makefile -rw-r--r-- 1 1134 1134 340 Apr 21 21:24 Makefile.in -rw-r--r-- 1 1134 1134 6497 May 8 09:30 global_mutex.c -rw-r--r-- 1 1134 1134 29047 Jun 30 00:04 proc_mutex.c -rw-r--r-- 1 1134 1134 5827 Jun 30 00:04 thread_cond.c -rw-r--r-- 1 1134 1134 6972 Jul 30 13:06 thread_mutex.c -rw-r--r-- 1 root other 42012 Oct 7 09:56 thread_mutex.lo -rw-r--r-- 1 root other 41848 Oct 7 09:56 thread_mutex.o -rw-r--r-- 1 1134 1134 6910 Mar 13 2002 thread_rwlock.c I can email the entire log if needed. I appreciate any help. John Murphy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]