[ SlackList ] [ WkikiSlack ] |
Witam
Znow mam problem z tym linuxem, cholerne instalacje:(
root@linux:~/update/iptables-p2p-0.3.0# make
make -C iptables
make[1]: Entering directory `/root/update/iptables-p2p-0.3.0/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.2.9\" -I../common -c -o libipt_p2p.o
libipt_p2p.c
ld -shared -o libipt_p2p.so libipt_p2p.o
make[1]: Leaving directory `/root/update/iptables-p2p-0.3.0/iptables'
make -C kernel linux-2.4
make[1]: Entering directory `/root/update/iptables-p2p-0.3.0/kernel'
gcc -O3 -D__KERNEL__ -DMODULE -I/root/update/iptables-p2p-0.3.0/kernel/../co
mmon -I/lib/modules/2.4.24/build/include -I/lib/modules/2.4.24/build/include
/asm/mach-default -c -o main.o main.c
gcc -O3 -D__KERNEL__ -DMODULE -I/root/update/iptables-p2p-0.3.0/kernel/../co
mmon -I/lib/modules/2.4.24/build/include -I/lib/modules/2.4.24/build/include
/asm/mach-default -c -o match_bittorrent.o match_bittorrent.c
gcc -O3 -D__KERNEL__ -DMODULE -I/root/update/iptables-p2p-0.3.0/kernel/../co
mmon -I/lib/modules/2.4.24/build/include -I/lib/modules/2.4.24/build/include
/asm/mach-default -c -o match_dc.o match_dc.c
gcc -O3 -D__KERNEL__ -DMODULE -I/root/update/iptables-p2p-0.3.0/kernel/../co
mmon -I/lib/modules/2.4.24/build/include -I/lib/modules/2.4.24/build/include
/asm/mach-default -c -o match_edonkey.o match_edonkey.c
gcc -O3 -D__KERNEL__ -DMODULE -I/root/update/iptables-p2p-0.3.0/kernel/../co
mmon -I/lib/modules/2.4.24/build/include -I/lib/modules/2.4.24/build/include
/asm/mach-default -c -o match_http.o match_http.c
ld -r -o ipt_p2p.o main.o match_bittorrent.o match_dc.o match_edonkey.o
match_http.o
make[1]: Leaving directory `/root/update/iptables-p2p-0.3.0/kernel'
root@linux:~/update/iptables-p2p-0.3.0# cd kernel/
root@linux:~/update/iptables-p2p-0.3.0/kernel# insmod ipt_p2p.o
ipt_p2p.o: kernel-module version mismatch
ipt_p2p.o was compiled for kernel version 2.4.22
while this kernel is version 2.4.24.
root@linux:~/update/iptables-p2p-0.3.0/kernel#
A mam kernel 2.24 (uname -r to tez potwierdza....)
Zrodla kernela z ktorych ciagnie dane makefile od tego p2p to 2.24 (zassalem
z kernel.org i umiescilem /usr/src/linux-2.4.24 , link symboliczny tez na to
wskazuje)
Wszystko niby OK ale nie jak widac, czemu on mi kompiluje tak ze pozniej
insmod sie stawia :(?
Iptables mam 1.2.9. Slackware 9.1
Moze mi ktos pomoc?
dzieki
Received on Sun Mar 07 02:03:20 2004