You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by fa...@bt.com on 2002/04/26 11:59:07 UTC

mod_jserv.c compilation error

Hi,

I am trying to install JServ for my Apache 2.0.35 DSO installation. I can
configure JServ 1.1.2 successfully, however when I run make I get a list of
warnings regarding the mod_jserv.c file. 

I have tried compiling the mod_jserv.c on its own using apxs and I get a
similar error. It seams that my JServ installation is crashing when it gets
to the mod_jserv.c file.

The installation has been performed on Sparc Sun Solaris 2.8 and I have
used:

Httpd 2.0.35
JSDK2.0
JDK 1.2
gcc 3.0.4 
m4 1.4o
libtool 1.3.3
autoconf 2.13
automake 1.4-p5
make 3.79.1

Below are the error messages. Any suggestions???

Farshid




------when I run make after a successful configure:
...
......
mod_jserv.c:1745: warning: excess elements in scalar initializer
mod_jserv.c:1745: warning: (near initialization for `jserv_module')
mod_jserv.c:1748: warning: excess elements in scalar initializer
mod_jserv.c:1748: warning: (near initialization for `jserv_module')
mod_jserv.c:1748: warning: data definition has no type or storage class
make[2]: *** [mod_jserv.lo] Error 1
make[2]: Leaving directory
`/export/home/farshidd/JServ/ApacheJServ-1.1.2/src/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/farshidd/JServ/ApacheJServ-1.1.2/src'
make: *** [all-recursive] Error 1


----------When I run      apxs -c mod_jserv.c

......
............
mod_jserv.c:1744: warning: excess elements in scalar initializer
mod_jserv.c:1744: warning: (near initialization for `jserv_module')
mod_jserv.c:1745: warning: excess elements in scalar initializer
mod_jserv.c:1745: warning: (near initialization for `jserv_module')
mod_jserv.c:1748: warning: excess elements in scalar initializer
mod_jserv.c:1748: warning: (near initialization for `jserv_module')
mod_jserv.c:1748: warning: data definition has no type or storage class
apxs:Error: Command failed with rc=65536


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: mod_jserv.c compilation error

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 26 Apr 2002 farshid.dabesh-khoy@bt.com wrote:
> I am trying to install JServ for my Apache 2.0.35 DSO installation. I can
> configure JServ 1.1.2 successfully, however when I run make I get a list of
> warnings regarding the mod_jserv.c file.
>

I'm not really an expert with this, but as far as I know, JServ is
obsolete.  You should be using mod_webapp which comes with
Jakarta's Tomcat.

Joshua.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org