trunk 3192 und iptables

sf3978

IPPF-Promi
Mitglied seit
2 Dez 2007
Beiträge
8,014
Punkte für Reaktionen
28
Punkte
48
Im trunk 3192 kann iptables nicht kompiliert werden:
Code:
PATH="/home/gm/myfreetz/freetz3192/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \                  
                make -j2 -C source/iptables-1.4.1.1                                                                                                   
make[1]: Entering directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1'                                                       
make  all-recursive                                                                                                                                   
make[2]: Entering directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1'                                                       
Making all in extensions                                                                                                                              
make[3]: Entering directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1/extensions'                                            
  GEN      initext4.c                                                                                                                                 
  GEN      initext6.c                                                                                                                                 
  GEN      matches4.man                                                                                                                               
  GEN      matches6.man                                                                                                                               
  GEN      targets4.man                                                                                                                               
  GEN      targets6.man                                                                                                                               
  CCLD     libxt_CLASSIFY.so                                                                                                                          
  CCLD     libxt_connbytes.so
  CCLD     libxt_comment.so
  CCLD     libxt_connlimit.so
  CCLD     libxt_connmark.so
  CCLD     libxt_CONNMARK.so
  CCLD     libxt_CONNSECMARK.so
  CCLD     libxt_conntrack.so
  CCLD     libxt_dscp.so
  CCLD     libxt_DSCP.so
  CCLD     libxt_esp.so
  CCLD     libxt_hashlimit.so
  CCLD     libxt_helper.so
  CCLD     libxt_iprange.so
  CC       libxt_layer7.oo
  CC       libxt_length.oo
libxt_layer7.c:27:45: warning: linux/netfilter_ipv4/ipt_layer7.h: No such file or directory
libxt_layer7.c:52: warning: 'struct ipt_layer7_info' declared inside parameter list
libxt_layer7.c:52: warning: its scope is only this definition or declaration, which is probably not what you want
libxt_layer7.c: In function 'parse_protocol_file':
libxt_layer7.c:96: error: 'MAX_PROTOCOL_LEN' undeclared (first use in this function)
libxt_layer7.c:96: error: (Each undeclared identifier is reported only once
libxt_layer7.c:96: error: for each function it appears in.)
libxt_layer7.c:99: error: dereferencing pointer to incomplete type
libxt_layer7.c:105: error: 'MAX_PATTERN_LEN' undeclared (first use in this function)
libxt_layer7.c:107: error: dereferencing pointer to incomplete type
libxt_layer7.c: At top level:
libxt_layer7.c:253: warning: 'struct ipt_layer7_info' declared inside parameter list
libxt_layer7.c: In function 'parse_layer7_protocol':
libxt_layer7.c:274: warning: passing argument 3 of 'parse_protocol_file' from incompatible pointer type
libxt_layer7.c:288: error: dereferencing pointer to incomplete type
libxt_layer7.c:288: error: dereferencing pointer to incomplete type
libxt_layer7.c:288: error: 'MAX_PATTERN_LEN' undeclared (first use in this function)
libxt_layer7.c: In function 'parse':
libxt_layer7.c:301: warning: passing argument 2 of 'parse_layer7_protocol' from incompatible pointer type
libxt_layer7.c:303: error: dereferencing pointer to incomplete type
libxt_layer7.c: In function 'print':
libxt_layer7.c:347: error: dereferencing pointer to incomplete type
libxt_layer7.c:348: error: dereferencing pointer to incomplete type
libxt_layer7.c: In function 'save':
libxt_layer7.c:356: error: dereferencing pointer to incomplete type
libxt_layer7.c:356: error: dereferencing pointer to incomplete type
libxt_layer7.c: At top level:
libxt_layer7.c:363: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
libxt_layer7.c:364: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
make[3]: *** [libxt_layer7.oo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1/extensions'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/gm/myfreetz/freetz3192/freetz-trunk/source/iptables-1.4.1.1'
make: *** [source/iptables-1.4.1.1/iptables] Fehler 2

Build-Umgebung: OpenSuse 11.1
Im Anhang die .config:
 

Anhänge

  • config.txt
    17.8 KB · Aufrufe: 1
Ich schaue mir das nochmal. Kann schon sein, dass ich es nur mit 2.6.19.2 versucht habe.

MfG Oliver
 
OK, danke. Dann bleibe ich bei 3190.;)
 
[INFO] trunk 3240 und iptables

Im trunk 3240 (neu ausgecheckt) kann iptables nicht kompiliert werden:

Code:
touch source/iptables-1.4.1.1/.configured                                                                                                                                           
PATH="/home/gm/myfreetz/freetz3240/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \                                                
                make -j2 -C source/iptables-1.4.1.1                                                                                                                                 
make[1]: Entering directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1'                                                                                     
make  all-recursive                                                                                                                                                                 
make[2]: Entering directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1'                                                                                     
Making all in extensions                                                                                                                                                            
make[3]: Entering directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1/extensions'                                                                          
  CC       libxt_CLASSIFY.oo
  CC       libxt_comment.oo
  CC       libxt_connbytes.oo
  CC       libxt_connlimit.oo
  CC       libxt_connmark.oo
  CC       libxt_CONNMARK.oo
  CC       libxt_CONNSECMARK.oo
  CC       libxt_conntrack.oo
  CC       libxt_dscp.oo
  CC       libxt_DSCP.oo
  CC       libxt_esp.oo
  CC       libxt_hashlimit.oo
  CC       libxt_helper.oo
  CC       libxt_iprange.oo
  CC       libxt_layer7.oo
libxt_layer7.c:27:45: warning: linux/netfilter_ipv4/ipt_layer7.h: No such file or directory
libxt_layer7.c:52: warning: 'struct ipt_layer7_info' declared inside parameter list
libxt_layer7.c:52: warning: its scope is only this definition or declaration, which is probably not what you want
libxt_layer7.c: In function 'parse_protocol_file':
libxt_layer7.c:96: error: 'MAX_PROTOCOL_LEN' undeclared (first use in this function)
libxt_layer7.c:96: error: (Each undeclared identifier is reported only once
libxt_layer7.c:96: error: for each function it appears in.)
libxt_layer7.c:99: error: dereferencing pointer to incomplete type
libxt_layer7.c:105: error: 'MAX_PATTERN_LEN' undeclared (first use in this function)
libxt_layer7.c:107: error: dereferencing pointer to incomplete type
libxt_layer7.c: At top level:
libxt_layer7.c:253: warning: 'struct ipt_layer7_info' declared inside parameter list
libxt_layer7.c: In function 'parse_layer7_protocol':
libxt_layer7.c:274: warning: passing argument 3 of 'parse_protocol_file' from incompatible pointer type
libxt_layer7.c:288: error: dereferencing pointer to incomplete type
libxt_layer7.c:288: error: dereferencing pointer to incomplete type
libxt_layer7.c:288: error: 'MAX_PATTERN_LEN' undeclared (first use in this function)
libxt_layer7.c: In function 'parse':
libxt_layer7.c:301: warning: passing argument 2 of 'parse_layer7_protocol' from incompatible pointer type
libxt_layer7.c:303: error: dereferencing pointer to incomplete type
libxt_layer7.c: In function 'print':
libxt_layer7.c:347: error: dereferencing pointer to incomplete type
libxt_layer7.c:348: error: dereferencing pointer to incomplete type
libxt_layer7.c: In function 'save':
libxt_layer7.c:356: error: dereferencing pointer to incomplete type
libxt_layer7.c:356: error: dereferencing pointer to incomplete type
libxt_layer7.c: At top level:
libxt_layer7.c:363: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
libxt_layer7.c:364: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
make[3]: *** [libxt_layer7.oo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1/extensions'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/gm/myfreetz/freetz3240/freetz-trunk/source/iptables-1.4.1.1'
make: *** [source/iptables-1.4.1.1/iptables] Fehler 2

FB 7170
FM 70er
Quellen 70er
 
Probier mal r3241.

MfG Oliver
 
r3242 kompiliert z. Zt.
Danke.

EDIT:
Freetz-Image mit iptables, aus r3242 (neu ausgecheckt), wurde fehlerfrei erstellt.:)
 
Zuletzt bearbeitet:

Neueste Beiträge

Statistik des Forums

Themen
246,274
Beiträge
2,249,293
Mitglieder
373,863
Neuestes Mitglied
RuthBeatty
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.