Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 57553 invoked by uid 500); 4 Oct 2001 20:01:33 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 57543 invoked from network); 4 Oct 2001 20:01:33 -0000 Date: Thu, 04 Oct 2001 21:09:20 +0100 From: Barry Adams Subject: Can't compile webapp-1.0-tc4.0 under Solaris X-Sender: badams@193.130.109.2 To: tomcat-dev@jakarta.apache.org Message-id: <3.0.6.32.20011004210920.00e94018@193.130.109.2> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I can't compile webapp-1.0-tc4.0 under solaris (Solaris 8, sparc) The Autoconf system doesn't seem to know much about solaris, I managed to fix three problems as follows. It couldn't find, sys/syslimits.h and stdint.h, so i make symbolic links from /usr/include/sys/syslimits.h -> /usr/include/limits.h /usr/include/stdint.h -> /usr/include/inttypes.h Which helped In time.c and timestr.c, it couldn't find the symbols tm_gmtoff so i removed these, which help In the locks, it couldn't find LOCK_EX or LOCK_UN, (missing from solaris includes, so i added #define LOCK_SH 1 #define LOCK_EX 2 #define LOCK_NB 4 #define LOCK_UN 8 to /usr/include/sys/file.h But the DSO support won't compile either and has me stumped, here is the offending errors from running 'make'. make[4]: Entering directory `/software/webapp-module-1.0-tc40/apr/dso/unix' /bin/sh /software/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile cc -g -O2 -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include -I../../include/arch -I../../include/arch/unix -c dso.c && touch dso.lo dso.c: In function `apr_dso_load': dso.c:127: `NSObjectFileImage' undeclared (first use in this function) dso.c:127: (Each undeclared identifier is reported only once dso.c:127: for each function it appears in.) dso.c:127: parse error before `image' dso.c:128: `NSModule' undeclared (first use in this function) dso.c:130: `image' undeclared (first use in this function) dso.c:130: `NSObjectFileImageSuccess' undeclared (first use in this function) dso.c:139: `os_handle' undeclared (first use in this function) dso.c: In function `apr_dso_sym': dso.c:205: `NSSymbol' undeclared (first use in this function) dso.c:205: parse error before `symbol' dso.c:211: `symbol' undeclared (first use in this function) dso.c:218: warning: assignment makes pointer from integer without a cast make[4]: *** [dso.lo] Error 1 Barry Adams