I'm trying to compile CoSign 1.8.0 on a SPARC Solaris 9 system with
Apache 2.0.53/OpenSSL 0.9.7e. and GCC 3.4.2. The configure command
worked:
./configure --enable-apache2=/usr/local/apache-2.0.53/bin/apxs
The "make everything" command gives the following error:
make[1]: Entering directory
`/usr/local/src/cosign/cosign-1.8.0/filters/apache2'
/usr/local/apache-2.0.53/bin/apxs -c mod_cosign.o connect.o cookiefs.o
sparse.o ../../common/argcargv.o ../../common/fbase64.o
../../common/mkcookie.o ../../common/rate.o ../../version.o
-L../../libsnet/ -L/usr/local/ssl/lib -lsnet
/usr/local/apache-2.0.53/build/libtool --silent --mode=link gcc -o
mod_cosign.la -rpath /usr/local/apache-2.0.53/modules -module
-avoid-version mod_cosign.o connect.o cookiefs.o sparse.o
../../common/argcargv.o ../../common/fbase64.o ../../common/mkcookie.o
../../common/rate.o ../../version.o -L../../libsnet/
-L/usr/local/ssl/lib -lsnet
*** Warning: Linking the shared library mod_cosign.la against the
non-libtool
*** objects mod_cosign.o connect.o cookiefs.o sparse.o
../../common/argcargv.o ../../common/fbase64.o ../../common/mkcookie.o
../../common/rate.o ../../version.o is not portable!
Text relocation remains referenced
against symbol offset in file
<unknown> 0xcdc
/usr/local/src/cosign/cosign-1.8.0/libsnet/.libs/libsnet.a(snet.o)
.
.
.
SSL_set_fd 0x298
/usr/local/src/cosign/cosign-1.8.0/libsnet/.libs/libsnet.a(snet.o)
read 0x1084
/usr/local/src/cosign/cosign-1.8.0/libsnet/.libs/libsnet.a(snet.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_cosign.la] Error 1
make[1]: Leaving directory
`/usr/local/src/cosign/cosign-1.8.0/filters/apache2'
make: *** [filters/apache2] Error 2
I have removed the rather long function list in the middle. The
problem
appears to be with the apxs command. Any ideas?