Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-15-2004, 02:20 AM
|
#1
|
Member
Registered: Jan 2004
Posts: 54
Rep:
|
Can't install iptables-p2p
I'm trying to install iptables-p2p. Unfortunately i cant seem to solve a problem im getting when running insmod.
[root@Hooter kernel]# uname -r
2.6.6-1.435.2.3
[root@Hooter kernel]# insmod ipt_p2p.ko
insmod: error inserting 'ipt_p2p.ko': -1 Invalid module format
and dmesg shows:
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
No module found in object
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
ipt_p2p: version magic '2.6.6-1.435 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.6-1.435.2.3 686 REGPARM 4KSTACKS gcc-3.3'
can someone tell me whats going on and how i can resolve this..plz
|
|
|
10-15-2004, 08:37 AM
|
#2
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084
Rep:
|
First of all, don't use insmod, use modprobe. It resolves dependencies and loads other modules first if they are required. insmod doesn't do that.
Secondly, the message says that you have a version mismatch between kernel version and kernel module version. Your kernels were not compiled for the correct kernel version.
|
|
|
01-12-2007, 08:37 AM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
|
error installation
my kernel
Linux heartnet 2.6.11-1.1369_FC4
my iptables
iptables-1.3.0-2
root@heartnet Desktop]# cd iptables-p2p-0.3.0a
[root@heartnet iptables-p2p-0.3.0a]# make
make -C iptables
make[1]: Entering directory `/root/Desktop/iptables-p2p-0.3.0a/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.3.0\" -I../common -c -o libipt_p2p.o libipt_p2p.c
make[1]: gcc: Command not found
make[1]: *** [libipt_p2p.o] Error 127
make[1]: Leaving directory `/root/Desktop/iptables-p2p-0.3.0a/iptables'
make: *** [linux-2.6] Error 2
pls help for installtion, where i am wrong
thaks
|
|
|
01-12-2007, 08:48 AM
|
#4
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084
Rep:
|
You are missing the GNU C Compiler.
Run: yum install gcc
|
|
|
01-12-2007, 10:01 AM
|
#5
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
|
Thanks for ur reply, i use yum install gcc,not now try install ipp2p,
is it block p2p site,plz how to use this soft
|
|
|
01-12-2007, 10:43 AM
|
#6
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084
Rep:
|
This one? http://www.ipp2p.org/
There is quite some documentation on their website.
The readers of this forum don't know which part you have problems with.
|
|
|
All times are GMT -5. The time now is 01:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|