LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 02:32 PM   #1
mattsthe2
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
Wccp Fc4?


Hopefully an easy question:

Does FC4 have WCCP complied out of the box.
The reason i ask is because:

/lib/modules/2.6.11-1.1369_FC4/kernel/net/ipv4

does not contain the ip_wccp.o file?????


Thanks in advance.

Matt
 
Old 11-10-2005, 10:49 PM   #2
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
i don't think so. u have to compile it urself. be ready with squid source too,
 
Old 11-11-2005, 09:08 AM   #3
mattsthe2
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the reply,

I am a newbie to the linux world. The problem i am having is compling the ip_wccp.c file.

I have found a few articles around on the web on the command to compile this file but none of them seem to work.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/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.4.18-3/include/linux/modversions.h -c ip_wccp.c
gcc: ip_wccp.c: No such file or directory
gcc: no input files


I have no idea where to place the ip_wccp.c file to compile. And my modversions.h file is in /usr/include/linux/

so then in a deprete attempt i tried....

[root@proxy ~]# cp /var/tmp/ip_wccp.c /usr/include/linux
[root@proxy ~]# cp /var/tmp/ip_wccp.c /usr/include/
[root@proxy ~]# gcc -D__KERNEL__ -I/usr/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c ip_wccp.c
gcc: ip_wccp.c: No such file or directory
gcc: no input files


Help.....
 
Old 11-13-2005, 09:36 AM   #4
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
have u downloaded the file ip_wccp.c from www.squid-cache.org? when u compile it, make sure it is in current directory and also u have to make sure the kernel source, the path etc is correct for ur system.
 
Old 11-13-2005, 02:24 PM   #5
mattsthe2
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
thanks for the reply.

Yes i have downloaded the ip_wccp.c file I just dont know how to compile it.
What is the "current directory"


Could you tell me the command to compile the ip_wccp.c file?



>>have u downloaded the file ip_wccp.c from www.squid-cache.org? when u compile it, make sure it is in current directory and also >>u have to make sure the kernel source, the path etc is correct for ur system.
 
Old 11-18-2005, 11:05 PM   #6
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
it seems that gcc cannot find the wccp file. make sure it is in current dir while ur compiling it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WCCP and Transparent Proxy with Squid tech-ninja Linux - Networking 4 03-29-2005 10:25 AM
Fedora core3 and wccp omnia Linux - Networking 3 03-15-2005 11:12 AM
Help using freebsd 5.0 + squid + wccp + cisco ios nazzymac *BSD 1 07-27-2004 03:11 PM
wccp under woody freelinuxcpp Linux - Networking 0 04-05-2004 10:12 AM
WCCP on Squid vwhk Linux - General 3 01-28-2002 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration