tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Park <>
Subject ...also Can't build webapp-1.0-tc4.0 on NT
Date Thu, 04 Oct 2001 20:13:24 GMT

mod_Webapp doesn't want to build on NT.

It's lacking a libapr.mak file and, when the libapr.dsp project is run,
tries to compile unix stuff.

Is there any way to get ahold of the build scripts that created the
binaries for mod_webapp?


-----Original Message-----
From: Barry Adams []
Sent: Thursday, October 04, 2001 1:09 PM
Subject: Can't compile webapp-1.0-tc4.0 under Solaris

 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

/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
-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
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

View raw message