Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-12-10 14:07:22

  aphex - Użytkownik

aphex
Użytkownik
Zarejestrowany: 2007-06-25

Problem przy kompilacji iptables.

Witam

Skompilowałem sobie kernel 2.6.22. z latkami od Dj. Gregora.
System wstał jak trzeba lecz mam problem z kompilacja iptables z którym sobie nie mogę poradzić.

Oto co mi wyskakuje.

Kod:

root@ubuntu:/usr/src/iptables# make KERNEL_DIR=/usr/src/linux BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/man
Making dependencies: please wait...
Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h. Try 'make clean'.
Extensions found: IPv4:account IPv4:ACCOUNT IPv4:CLUSTERIP IPv4:condition IPv4:connbytes IPv4:connlimit IPv4:dccp IPv4:geoip IPv4:IMQ IPv4:IPMARK IPv4:ipp2p IPv4:ipv4options IPv4:IPV4OPTSSTRIP IPv4:layer7 IPv4:NFLOG IPv4:quota IPv4:recent IPv4:ROUTE IPv4:set IPv4:SET IPv4:statistic IPv4:string IPv4:TARPIT IPv4:time IPv4:TPROXY IPv4:tproxy IPv4:u32 IPv6:ah IPv6:esp IPv6:frag IPv6:hashlimit IPv6:IMQ IPv6:ipv6header IPv6:mh IPv6:NFLOG IPv6:REJECT IPv6:ROUTE IPv6:rt IPv6:sctp
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
cc -shared  -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_addrtype_sh.o -c extensions/libipt_addrtype.c
cc -shared  -o extensions/libipt_addrtype.so extensions/libipt_addrtype_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_comment_sh.o -c extensions/libipt_comment.c
cc -shared  -o extensions/libipt_comment.so extensions/libipt_comment_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_connmark_sh.o -c extensions/libipt_connmark.c
cc -shared  -o extensions/libipt_connmark.so extensions/libipt_connmark_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
cc -shared  -o extensions/libipt_conntrack.so extensions/libipt_conntrack_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_dscp_sh.o -c extensions/libipt_dscp.c
cc -shared  -o extensions/libipt_dscp.so extensions/libipt_dscp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ecn_sh.o -c extensions/libipt_ecn.c
cc -shared  -o extensions/libipt_ecn.so extensions/libipt_ecn_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_esp_sh.o -c extensions/libipt_esp.c
cc -shared  -o extensions/libipt_esp.so extensions/libipt_esp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_hashlimit_sh.o -c extensions/libipt_hashlimit.c
cc -shared  -o extensions/libipt_hashlimit.so extensions/libipt_hashlimit_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_helper_sh.o -c extensions/libipt_helper.c
cc -shared  -o extensions/libipt_helper.so extensions/libipt_helper_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_icmp_sh.o -c extensions/libipt_icmp.c
cc -shared  -o extensions/libipt_icmp.so extensions/libipt_icmp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_iprange_sh.o -c extensions/libipt_iprange.c
cc -shared  -o extensions/libipt_iprange.so extensions/libipt_iprange_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_length_sh.o -c extensions/libipt_length.c
cc -shared  -o extensions/libipt_length.so extensions/libipt_length_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_limit_sh.o -c extensions/libipt_limit.c
cc -shared  -o extensions/libipt_limit.so extensions/libipt_limit_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_mac_sh.o -c extensions/libipt_mac.c
cc -shared  -o extensions/libipt_mac.so extensions/libipt_mac_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_mark_sh.o -c extensions/libipt_mark.c
cc -shared  -o extensions/libipt_mark.so extensions/libipt_mark_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_multiport_sh.o -c extensions/libipt_multiport.c
cc -shared  -o extensions/libipt_multiport.so extensions/libipt_multiport_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_owner_sh.o -c extensions/libipt_owner.c
cc -shared  -o extensions/libipt_owner.so extensions/libipt_owner_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_physdev_sh.o -c extensions/libipt_physdev.c
cc -shared  -o extensions/libipt_physdev.so extensions/libipt_physdev_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_pkttype_sh.o -c extensions/libipt_pkttype.c
cc -shared  -o extensions/libipt_pkttype.so extensions/libipt_pkttype_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_policy_sh.o -c extensions/libipt_policy.c
cc -shared  -o extensions/libipt_policy.so extensions/libipt_policy_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_realm_sh.o -c extensions/libipt_realm.c
cc -shared  -o extensions/libipt_realm.so extensions/libipt_realm_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_sctp_sh.o -c extensions/libipt_sctp.c
cc -shared  -o extensions/libipt_sctp.so extensions/libipt_sctp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_standard_sh.o -c extensions/libipt_standard.c
cc -shared  -o extensions/libipt_standard.so extensions/libipt_standard_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_state_sh.o -c extensions/libipt_state.c
cc -shared  -o extensions/libipt_state.so extensions/libipt_state_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_tcp_sh.o -c extensions/libipt_tcp.c
cc -shared  -o extensions/libipt_tcp.so extensions/libipt_tcp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_tcpmss_sh.o -c extensions/libipt_tcpmss.c
cc -shared  -o extensions/libipt_tcpmss.so extensions/libipt_tcpmss_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_tos_sh.o -c extensions/libipt_tos.c
cc -shared  -o extensions/libipt_tos.so extensions/libipt_tos_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ttl_sh.o -c extensions/libipt_ttl.c
cc -shared  -o extensions/libipt_ttl.so extensions/libipt_ttl_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_udp_sh.o -c extensions/libipt_udp.c
cc -shared  -o extensions/libipt_udp.so extensions/libipt_udp_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_unclean_sh.o -c extensions/libipt_unclean.c
cc -shared  -o extensions/libipt_unclean.so extensions/libipt_unclean_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_CLASSIFY_sh.o -c extensions/libipt_CLASSIFY.c
cc -shared  -o extensions/libipt_CLASSIFY.so extensions/libipt_CLASSIFY_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_CONNMARK_sh.o -c extensions/libipt_CONNMARK.c
cc -shared  -o extensions/libipt_CONNMARK.so extensions/libipt_CONNMARK_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_DNAT_sh.o -c extensions/libipt_DNAT.c
cc -shared  -o extensions/libipt_DNAT.so extensions/libipt_DNAT_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_DSCP_sh.o -c extensions/libipt_DSCP.c
cc -shared  -o extensions/libipt_DSCP.so extensions/libipt_DSCP_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ECN_sh.o -c extensions/libipt_ECN.c
cc -shared  -o extensions/libipt_ECN.so extensions/libipt_ECN_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_LOG_sh.o -c extensions/libipt_LOG.c
cc -shared  -o extensions/libipt_LOG.so extensions/libipt_LOG_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_MARK_sh.o -c extensions/libipt_MARK.c
cc -shared  -o extensions/libipt_MARK.so extensions/libipt_MARK_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_MASQUERADE_sh.o -c extensions/libipt_MASQUERADE.c
cc -shared  -o extensions/libipt_MASQUERADE.so extensions/libipt_MASQUERADE_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_MIRROR_sh.o -c extensions/libipt_MIRROR.c
cc -shared  -o extensions/libipt_MIRROR.so extensions/libipt_MIRROR_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_NETMAP_sh.o -c extensions/libipt_NETMAP.c
cc -shared  -o extensions/libipt_NETMAP.so extensions/libipt_NETMAP_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_NFQUEUE_sh.o -c extensions/libipt_NFQUEUE.c
cc -shared  -o extensions/libipt_NFQUEUE.so extensions/libipt_NFQUEUE_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_NOTRACK_sh.o -c extensions/libipt_NOTRACK.c
cc -shared  -o extensions/libipt_NOTRACK.so extensions/libipt_NOTRACK_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_REDIRECT_sh.o -c extensions/libipt_REDIRECT.c
cc -shared  -o extensions/libipt_REDIRECT.so extensions/libipt_REDIRECT_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_REJECT_sh.o -c extensions/libipt_REJECT.c
cc -shared  -o extensions/libipt_REJECT.so extensions/libipt_REJECT_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_SAME_sh.o -c extensions/libipt_SAME.c
cc -shared  -o extensions/libipt_SAME.so extensions/libipt_SAME_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_SNAT_sh.o -c extensions/libipt_SNAT.c
cc -shared  -o extensions/libipt_SNAT.so extensions/libipt_SNAT_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_TCPMSS_sh.o -c extensions/libipt_TCPMSS.c
cc -shared  -o extensions/libipt_TCPMSS.so extensions/libipt_TCPMSS_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_TOS_sh.o -c extensions/libipt_TOS.c
cc -shared  -o extensions/libipt_TOS.so extensions/libipt_TOS_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_TTL_sh.o -c extensions/libipt_TTL.c
cc -shared  -o extensions/libipt_TTL.so extensions/libipt_TTL_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ULOG_sh.o -c extensions/libipt_ULOG.c
cc -shared  -o extensions/libipt_ULOG.so extensions/libipt_ULOG_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_account_sh.o -c extensions/libipt_account.c
cc -shared  -o extensions/libipt_account.so extensions/libipt_account_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_ACCOUNT_sh.o -c extensions/libipt_ACCOUNT.c
cc -shared  -o extensions/libipt_ACCOUNT.so extensions/libipt_ACCOUNT_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_CLUSTERIP_sh.o -c extensions/libipt_CLUSTERIP.c
cc -shared  -o extensions/libipt_CLUSTERIP.so extensions/libipt_CLUSTERIP_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_condition_sh.o -c extensions/libipt_condition.c
cc -shared  -o extensions/libipt_condition.so extensions/libipt_condition_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\"  -fPIC -o extensions/libipt_connbytes_sh.o -c extensions/libipt_connbytes.c
cc -shared  -o extensions/libipt_connbytes.so extensions/libipt_connbytes_sh.o

Jak widac na samym poczatku nie pasuje mu jeden plik i kaze bym zrobil make clean

Robilem to kilka razy przed komenda make
A oto co mi wyskakuje jak wezme make install

Kod:

root@ubuntu:/usr/src/iptables# make KERNEL_DIR=/usr/src/linux BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/man install
Making dependencies: please wait...
Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h. Try 'make clean'.

Prosiłbym o pomoc.

Offline

 

#2  2007-12-10 19:33:00

  aphex - Użytkownik

aphex
Użytkownik
Zarejestrowany: 2007-06-25

Re: Problem przy kompilacji iptables.

Dobra temat może być zamknięty poradziłem sobie.

Offline

 

#3  2007-12-11 20:36:11

  stepien86 - Członek DUG

stepien86
Członek DUG
Skąd: Łódź
Zarejestrowany: 2006-03-26

Re: Problem przy kompilacji iptables.

[quote=aphex]Dobra temat może być zamknięty poradziłem sobie.[/quote]
to napisz jak sobie poradziles, zeby ktos na przyszłosc wiedział :|


manual ponad wszysytko....konsola ponad manual

Debian GNU Linux

Offline

 

#4  2007-12-11 21:16:59

  aphex - Użytkownik

aphex
Użytkownik
Zarejestrowany: 2007-06-25

Re: Problem przy kompilacji iptables.

Trzeba było przegrać pliki z poprzedniego kernela z katalogu INCLUDE do źródeł nowego kernela.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.009 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00131 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.226.150.136' WHERE u.id=1
0.00072 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.226.150.136', 1731731133)
0.00056 SELECT * FROM punbb_online WHERE logged<1731730833
0.00052 SELECT topic_id FROM punbb_posts WHERE id=77896
0.00128 SELECT id FROM punbb_posts WHERE topic_id=10017 ORDER BY posted
0.00058 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=10017 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00121 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=10017 ORDER BY p.id LIMIT 0,25
0.00082 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=10017
Total query time: 0.00719 s