Thanks a lot Marcelo,
Your answer did help a lot to me ,i manage to compile the module
i have one more question(not the last:=)
I want to force squid to get some web sites
within a given link depth. Do i have to use
an another program for that such as wget or
does squid handles it vi an option or configuration
Best Regards
Deniz Aydemir
On Thu, 8 Nov 2001, Marcelo Arruda wrote:
> Hi Deniz,
>
> You should use the same command line that appears when you execute make
> modules after compiling the kernel. Therefore, if you go to the directory
> /usr/src/linux and execute make modules you will be able to see the command
> that should be used to compile the module. For example, my command line was:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict- aliasing -pipe -fno-strength-reduce
> -m386 -DCPU=386 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.2.14/include/linux/modversions.h -c ip_wccp.c
>
>
> Note that there is a parameter -fomit-frame-pointer that it is problably
> related to the problem you have
>
> Best Regards
>
>
> >
> >gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2
> >-fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE
> >-I/usr/src/linux-2.4/include/linux -include
> >/usr/src/linux-2.4/include/linux/modversions.h -c ip_wccp.c
> >
> >it just gave out a warning
> >
> >ip_wccp.c:68: warning: initialization from incompatible pointer type
> >
> >Thanks a lot for your interest
> >I'm looking forward to seeing your answer
> >
> >Deniz Aydemir
> >
> >On Thu, 8 Nov 2001, Marcelo Arruda wrote:
> >
> > > Hi
> > >
> > > What command did u use to compile the ip_wccp.c file?
> > >
> > > Bye
> > >
> > > Marcelo Arruda
> > >
> > >
> > >
> > >
> > > >From: Deniz Aydemir <deniz@bilmuh.ege.edu.tr>
> > > >To: squid-users@squid-cache.org
> > > >Subject: [squid-users] Wccp +linux 2.4.2
> > > >Date: Thu, 8 Nov 2001 01:02:27 +0200 (EET)
> > > >
> > > >
> > > >Hi,
> > > >Currently i'm trying to setup a transparent proxy with below
> > > >configurations
> > > >RedHat 7.1
> > > >2.4.2 kernel
> > > >
> > > >and when i try to insmod ip_wccp.o i get the following errors:
> > > >
> > > >ip_wccp.o: unresolved symbol __kfree_skb_R4deafd06
> > > >ip_wccp.o: unresolved symbol htonl
> > > >ip_wccp.o: unresolved symbol inet_del_protocol_R64fadb6b
> > > >ip_wccp.o: unresolved symbol inet_add_protocol_Rb292408a
> > > >ip_wccp.o: unresolved symbol ip_rcv_Rbdf62051
> > > >
> > > >I also compiled on 2.4.14 kernel and then the following errors occured:
> > > >
> > > >ip_wccp.o: unresolved symbol htonl
> > > >ip_wccp.o: Note: modules without a GPL compatible license cannot use
> > > >GPLONLY_ symbols
> > > >
> > > >I wonder whether this module has problems with 2.4.x kernels
> > > >and if u have any ideas about the solution please help with the case
> > > >thanks a lot
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp
> > >
> > >
> > >
> >
> >
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
Received on Fri Nov 09 2001 - 01:47:54 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:00 MST