Re: Error compliling

David MatarĂ³ <[email protected]> Tue, 22 Oct 2002 10:32:40 +0200
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
Ok, which -lspread compile fine.

Thank you all.



George Schlossnagle wrote:

> I believe spread 3.17 renamed it's library libspread.  Can you try:
>
> apxs -c -I /usr/local/lib -L/usr/local/lib -lspread mod_log_spread.c
>
> David Matar=F3 wrote:
>
>> Hello,
>>
>> I am getting the following error when trying to compile=20
>> mod_log_spred-1.0.4.
>> I am running  RedHat 7.2 wich a kernel 2.4.7-10, apache-1.3.20-16 =20
>> and I have
>> spread-3.17.0 installed into /usr/local directory. Somebody knows=20
>> that it can be?
>>
>> Thank you.
>>
>>
>> [localhost]#  apxs -c -I /usr/local/lib -L/usr/local/lib -lsp=20
>> mod_log_spread.c
>> gcc -DLINUX=3D22 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O2=20
>> -march=3Di386 -mcpu=3Di686 -fPIC -DEAPI_MM_CORE_PATH=3D/var/run/httpd.=
mm=20
>> -fpic -DSHARED_MODULE -I/usr/include/apache -I/usr/local/lib  -c=20
>> 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=20
>> pointer target type
>> gcc -shared -o mod_log_spread.so mod_log_spread.o -L/usr/local/lib -ls=
p
>> /usr/bin/ld: cannot find -lsp
>> collect2: ld returned 1 exit status
>> apxs:Break: Command failed with rc=3D1
>> [localhost]#
>>
>>
>>
>> _______________________________________________
>> mls-users mailing list
>> [email protected]
>> http://lists.backhand.org/mailman/listinfo/mls-users
>
>
>
>
>
>