Mailing List Archive

How do I get off of this list?
Anyone know how you remove yourself from this list?

Sean

-----Original Message-----
From: Heiko Jansen [mailto:JANSEN@hbz-nrw.de]=20
Sent: Tuesday, July 22, 2003 8:31 AM
To: backhand-users@lists.backhand.org
Subject: [m_b_users] Error compiling backhand 1.2.2 on Solaris 2.9

Hi there,

I have a problem compiling mod_backhand/1.2.2 with Apache/1.3.27 on=20
Solaris 2.9 (SPARC) with gcc 3.2.2:

After precompile I invoke the Apache configure like this:
./configure --enable-module=3Dso --enable-module=3Dbackhand --enable-
shared=3Dbackhand --enable-module=3Dstatus --enable-shared=3Dstatus --
enable-module=3Dinfo --enable-shared=3Dinfo =
--prefix=3D/opt/apache-1.3.27=20
--enable-rule=3DSHARED_CORE

(Last rule because of older messages in this list but its absence=20
doesn=B4t change anything.)

And I get:

-- snip --
=3D=3D=3D> src/modules/backhand
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` mod_backhand.c
In file included from mod_backhand.c:31:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
mod_backhand.c: In function `backhand_cleanup_shm':
mod_backhand.c:318: warning: passing arg 1 of `shmdt' from incompatible =
pointer type
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` back_util.c
In file included from back_util.c:22:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
In file included from back_util.c:36:
platform.c: In function `initstat':
platform.c:273: parse error before "else"
platform.c: In function `fillstat':
platform.c:389: parse error before "else"
back_util.c: In function `broadcast_my_stats':
back_util.c:567: warning: passing arg 2 of `serv_accept' from =
incompatible pointer type
make[4]: *** [back_util.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/opt/digibib/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/digibib/apache_1.3.27'
make: *** [build] Error 2
-- / snip --

It works however, if I use mod_backhand/1.2.1 instead:

-- snip --
=3D=3D=3D> src/modules/backhand
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` mod_backhand.c
In file included from mod_backhand.c:31:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
mod_backhand.c: In function `backhand_cleanup_shm':
mod_backhand.c:302: warning: passing arg 1 of `shmdt' from incompatible =
pointer type
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` back_util.c
In file included from back_util.c:22:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
back_util.c: In function `broadcast_my_stats':
back_util.c:552: warning: passing arg 2 of `serv_accept' from =
incompatible pointer type
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` apue.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` arriba.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` builtins.c
In file included from builtins.c:15:=20
mod_backhand.h:40: warning: static declaration for `inet_aton'=20
follows non-static
rm -f mod_backhand.a libbackhand.a
ar cr mod_backhand.a mod_backhand.o back_util.o apue.o arriba.o =
builtins.o
ranlib mod_backhand.a
mv mod_backhand.a libbackhand.a
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` -DSHARED_MODULE mod_backhand.c && mv =
mod_backhand.o mod_backhand.lo
In file included from mod_backhand.c:31:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
mod_backhand.c: In function `backhand_cleanup_shm':
mod_backhand.c:302: warning: passing arg 1 of `shmdt' from incompatible =
pointer type
gcc -c -I../../os/unix -I../../include -DSOLARIS2=3D290 -fPIC =
-DSHARED_CORE `../../apaci` -DSHARED_MODULE back_util.c && mv =
back_util.o back_util.lo
In file included from back_util.c:22:
mod_backhand.h:40: warning: static declaration for `inet_aton' follows =
non-static
back_util.c: In function `broadcast_my_stats':
back_util.c:552: warning: passing arg 2 of `serv_accept' from =
incompatible pointer type
-- / snip --

Warnings are still there, but no error.

Any suggestions?

Thanks
Heiko



_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users