Error compliling

David MatarĂ³ <[email protected]> Mon, 21 Oct 2002 17:45:43 +0200
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
Hello,

I am getting the following error when trying to compile 
mod_log_spred-1.0.4.
I am running  RedHat 7.2 wich a kernel 2.4.7-10, apache-1.3.20-16  and I 
have
spread-3.17.0 installed into /usr/local directory. Somebody knows that 
it can be?

Thank you.


[localhost]#  apxs -c -I /usr/local/lib -L/usr/local/lib -lsp 
mod_log_spread.c
gcc -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O2 
-march=i386 -mcpu=i686 -fPIC -DEAPI_MM_CORE_PATH=/var/run/httpd.mm -fpic 
-DSHARED_MODULE -I/usr/include/apache -I/usr/local/lib  -c mod_log_spread.c
mod_log_spread.c: In function `spread_multicast_log_to_daemon':
mod_log_spread.c:904: warning: assignment discards qualifiers from 
pointer target type
gcc -shared -o mod_log_spread.so mod_log_spread.o -L/usr/local/lib -lsp
/usr/bin/ld: cannot find -lsp
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
[localhost]#