View previous topic :: View next topic |
Author |
Message |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Wed Apr 11, 2007 10:37 am Post subject: iproute2 --> vpnc Rechte [solved] |
|
|
Hi,
ich versuche verzweifelt vpnc zu emergen. dafür will der vorher iproute2 installieren, das klappt net. Bei anderen Programmen hab ich die fehler meldungen meist verstanden, aber hier leider net.
Hab die einfach mal angehangen.
emerge iproute2 2> 1.txt
Code: |
QA Notice: USE Flag 'kernel_linux' not in IUSE for sys-apps/iproute2-2.6.19.20061214
In file included from ../include/libiptc/libiptc.h:6,
from ../include/iptables.h:5,
from m_ipt.c:20:
../include/linux/netfilter_ipv4/ip_tables.h:20:38: error: linux/netfilter/x_tables.h: No such file or directory
In file included from ../include/libiptc/libiptc.h:6,
from ../include/iptables.h:5,
from m_ipt.c:20:
../include/linux/netfilter_ipv4/ip_tables.h:87: error: field 'counters' has incomplete type
../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: linux/netfilter/xt_tcpudp.h: No such file or directory
../include/linux/netfilter_ipv4/ip_tables.h:144: error: 'XT_FUNCTION_MAXNAMELEN' undeclared here (not in a function)
In file included from m_ipt.c:20:
../include/iptables.h:56: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:56: warning: its scope is only this definition or declaration, which is probably not what you want
../include/iptables.h:63: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:70: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:74: warning: 'struct xt_entry_match' declared inside parameter list
m_ipt.c: In function 'build_st':
m_ipt.c:356: error: invalid application of 'sizeof' to incomplete type 'struct xt_entry_target'
m_ipt.c:360: error: dereferencing pointer to incomplete type
m_ipt.c:364: error: dereferencing pointer to incomplete type
m_ipt.c:368: error: dereferencing pointer to incomplete type
m_ipt.c: In function 'parse_ipt':
m_ipt.c:499: error: dereferencing pointer to incomplete type
m_ipt.c: In function 'print_ipt':
m_ipt.c:547: error: dereferencing pointer to incomplete type
m_ipt.c:559: error: dereferencing pointer to incomplete type
make[1]: *** [m_ipt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
!!! ERROR: sys-apps/iproute2-2.6.19.20061214 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
iproute2-2.6.19.20061214.ebuild, line 69: Called die
!!! make
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
Danke im vorraus.
P.S. Wenn nach angaben fehlen, häng ich die dazu. Bitte kurz bescheid sagen, mein erster Post ![Smile :-)](images/smiles/icon_smile.gif)
Last edited by curator on Sun Apr 15, 2007 8:11 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Wed Apr 11, 2007 10:44 am Post subject: |
|
|
http://gentoo-wiki.com/SECURITY_Howto_setup_shorewall
Da steht:
Quote: | To install iptables you must enable the option "Network packet filtering (replaces ipchains)" (A.K.A. NETFILTER). You can find this option under:
Code: make menuconfig
Networking-->
Networking options-->
[*] Network packet filtering (replaces ipchains)
|
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Wed Apr 11, 2007 10:56 am Post subject: |
|
|
Besten Dank, kernel ist in Arbeit,
Gibts nen Trick, waran ich den Fehler das nächste mal auch erkenne, oder muss man das wissen (will ja was dabei lernen)
MfG
Alex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Wed Apr 11, 2007 11:02 am Post subject: |
|
|
Code: | ../include/linux/netfilter_ipv4/ip_tables.h:20:38: error: linux/netfilter/x_tables.h: No such file or directory |
Die Datei ip_tables.h will auf x_tables.h aus dem Verzeichnis netfilter zugreifen.
Also fehlt dir anscheinend netfilter im Kernel, denn er sucht in den Header Dateien.
Tobi
P.S: Ich wusste es aber einfach, da ich es erst letztens gemacht habe ![Wink ;)](images/smiles/icon_wink.gif) _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Wed Apr 11, 2007 11:12 am Post subject: |
|
|
A, verstanden, muss man aber erst ma wissen,
Ist das eigentlich ein Problem das ich den ersten Kernel mit genkernel erstellt hab? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Wed Apr 11, 2007 11:17 am Post subject: |
|
|
Nö.
Du hast halt nur eine Menge Spaß verpasst
Ich glaube aber, dass der genkernel mehr Module erstellt, als ein selbstgebauter.
Das macht aber eigentlich auch nichts.
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Wed Apr 11, 2007 5:09 pm Post subject: |
|
|
Hi nochmal,
ok, habs versucht, aber der Versuch den Kernel zu starten machte mich sehr traurig. irgendwie nur murks, werd mich jetzt ma mit dem Kernel auseinandersetzen müssen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Thu Apr 12, 2007 6:47 pm Post subject: |
|
|
Ok, Kernel geht, aber jetzt hab nach Anleitung das hier gemacht:
Code: |
Networking-->
Networking options-->
[*] Network packet filtering (replaces ipchains)
|
Aber immer noch die Fehlermeldung, hab ich was vergessen?
Lg
Alex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Apr 12, 2007 6:50 pm Post subject: |
|
|
Hi,
hast du die iptables Scripte auch installiert?
Code: |
emerge -av net-firewall/iptables
|
So wie es aussieht, sucht der Fehler oben nach Headerdateien aus dem Paket.
MfG. Stefan _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Thu Apr 12, 2007 6:57 pm Post subject: |
|
|
Befehl ausgeführt, immer noch das gleiche, der hat aber glaub ich jetzt ip6 packete installiert, statt ip4 packete, kann es daran liegen? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Apr 12, 2007 7:03 pm Post subject: |
|
|
Hi,
wie sind denn die USE-Flags für iptables und iproute2, die du verwendest?
MfG. Stefan _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Thu Apr 12, 2007 7:06 pm Post subject: |
|
|
Make.conf:
USE="kde qt3 qt4 hal opengl madwifi X"
hab das packet auch mal normal emerged, immer noch das gleiche
will doch nur nen vpnc installieren, der braucht halt die iproute2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Apr 12, 2007 7:08 pm Post subject: |
|
|
Hi,
ich meinte die Ausgabe von:
Code: |
emerge -pv iptables iproute2
|
MfG. Stefan _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smg Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1227089703419756a3aa42e.png)
Joined: 13 Aug 2004 Posts: 1402 Location: /home/stephan
|
Posted: Thu Apr 12, 2007 7:14 pm Post subject: |
|
|
Erm, hast du auch ganz neue Linuxheader? _________________ GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code: | perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);' |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Thu Apr 12, 2007 7:17 pm Post subject: |
|
|
ehm gute frage, habe das system letzte Wcohe installiert aus ner installation: 2.6.19-r5 oder so, (war das die Frage) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Apr 12, 2007 7:31 pm Post subject: |
|
|
Es sieht wohl so aus, als wenn das in verschiedenen Versionen von iproute2 auftritt.
https://bugs.gentoo.org/show_bug.cgi?id=158271
MfG. Stefan _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Thu Apr 12, 2007 7:48 pm Post subject: |
|
|
Hm, ok, was tue ich jetzt dagegen? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bbgermany Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/14656390143b65679294bf.jpg)
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Fri Apr 13, 2007 2:34 am Post subject: |
|
|
Hi,
du könntest mal eine ältere Version versuchen, oder die ~x86 maskierte Version.
MfG. Stefan _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Fri Apr 13, 2007 7:11 am Post subject: |
|
|
Ok, dumme Frage: Wie mach ich das?
Ich kann mit emerge iproute immer nur das gleiche Paket installieren oder gibts ne Art USE flag um ein älteres Paket zu nehmen?
Ich hab die Kernel Version 2.6.19-r5, hab irgndwo in goole gelesen, das es ein 2.6.20-r4 gibt, weisd aber auch nicht, wie ich das installieren soll, das wäre dann wohl einer neuere Version (iproute2-2.6.20.20070313 gegen jetzt iproute2-2.6.19.20061214) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Fri Apr 13, 2007 7:15 am Post subject: |
|
|
emerge =iproute-VERSION
für eine ältere.
echo "=sys-apps/iproute-VERSION" in /etc/portage/package.keywords
für eine neuere Version.
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Fri Apr 13, 2007 7:24 am Post subject: |
|
|
Meiner Unbedeutenden Meinung nach ist neben 2.19.20061214 der nächstkleinere 2.18.20061002
Der beschwert sich, das er vom KEYWORD ~x86 MASKED ist.........
Wie finde ich den raus "Ab wann" der Fehler besteht, nützt ja nix, wenn das den gleichen Fehler hat
MfG und Danke
Alex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Fri Apr 13, 2007 8:49 am Post subject: |
|
|
Ja...Die 18er Version ist noch gemasked.
Entweder du schaltest es so frei:
echo "=sys-apps/iproute-VERSION" in /etc/portage/package.keywords
Oder du nutzt: 2.6.16.20060323 _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Fri Apr 13, 2007 9:01 am Post subject: |
|
|
Ok, wir sind einen Schritt weiter: iproute2-2.6.16.20060323 erfolgreich installiert.
Jetzt will ich aber vpnc installieren, und der versucht natürlich direkt wieder iproute2-2.6.19.xxx zu installieren, was zu bekanntem Fehler führt.
Ohne Ahnung zu haben gibt es doch zwei Möglichkeiten:
a) ich nehme auch ein altes vpnc
b) ich sage dem vpnc, nimm brav den alten iproute.
Grundsätzlich wäre doch wohl b) die bessere wahl, sonst "pflanzt sich der Fehler doch fort(kvpnc etc)
Aber das Ziel ist in Sicht ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Fri Apr 13, 2007 10:44 am Post subject: |
|
|
echo "=sys-apps/iproute2-2.6.19.20061214" >> /etc/portage/package.mask
Damit blockierst du das 19er Ebuild.
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
curator Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Apr 2007 Posts: 193
|
Posted: Fri Apr 13, 2007 11:05 am Post subject: |
|
|
Ok, soweit so gut, jetzt stellt er bei emerge vpnc fest, dass das Packtet von package.mask maskiert und das 20er sowieso maskiert ist.
Offenbar hällt er es nicht für nötig, das 16 zu nehmen
Last edited by curator on Fri Apr 13, 2007 11:34 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|