Hi all, 

here's another showstopper with the new SDK:

Building the image for Kernel 2.6 fails when IPTables support is enabled.
(Compiler Errors at the end of this)

By deselecting IPTables Support in the config the image can be build without 
errors.

(BTW : Image for Kernel 2.4 builds fine with IPTables selected) 

Thanks for reading...
Eberhard Fahle

-------------------------------------------------------------------------------------------
                  
Error-Messages from the Compiler 

Making install in apps/iptables for cris-axis-linux-gnu
make[2]: Betrete 
Verzeichnis '/home/wyd/phfox/devboard-R2_01/apps/iptables-IR1_2_7a-3'
gcc-cris  -isystem 
/home/wyd/phfox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux 
-mno-mul-bug-workaround -Wall -Wshadow -O2 -g  -O2 -Wall -Wunused 
-I/home/wyd/phfox/devboard-R2_01/os/linux-2.6/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o 
extensions/libipt_connmark_sh.o -c extensions/libipt_connmark.c
In file included from include/iptables.h:4,
                 from extensions/libipt_connmark.c:8:
include/iptables_common.h:12: warning: declaration of `optind' shadows a 
global declaration
/usr/local/cris/cris-axis-linux-gnu/sys-include/getopt.h:61: warning: shadowed 
declaration is here
ld-cris -mcrislinux -shared -o extensions/libipt_connmark.so 
extensions/libipt_connmark_sh.o
gcc-cris  -isystem 
/home/wyd/phfox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux 
-mno-mul-bug-workaround -Wall -Wshadow -O2 -g  -O2 -Wall -Wunused 
-I/home/wyd/phfox/devboard-R2_01/os/linux-2.6/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o 
extensions/libipt_CONNMARK_sh.o -c extensions/libipt_CONNMARK.c
In file included from include/iptables.h:4,
                 from extensions/libipt_CONNMARK.c:7:
include/iptables_common.h:12: warning: declaration of `optind' shadows a 
global declaration
/usr/local/cris/cris-axis-linux-gnu/sys-include/getopt.h:61: warning: shadowed 
declaration is here
ld-cris -mcrislinux -shared -o extensions/libipt_CONNMARK.so 
extensions/libipt_CONNMARK_sh.o
gcc-cris  -isystem 
/home/wyd/phfox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux 
-mno-mul-bug-workaround -Wall -Wshadow -O2 -g  -O2 -Wall -Wunused 
-I/home/wyd/phfox/devboard-R2_01/os/linux-2.6/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o 
extensions/libipt_NETMAP_sh.o -c extensions/libipt_NETMAP.c
In file included from include/iptables.h:4,
                 from extensions/libipt_NETMAP.c:10:
include/iptables_common.h:12: warning: declaration of `optind' shadows a 
global declaration
/usr/local/cris/cris-axis-linux-gnu/sys-include/getopt.h:61: warning: shadowed 
declaration is here
ld-cris -mcrislinux -shared -o extensions/libipt_NETMAP.so 
extensions/libipt_NETMAP_sh.o
gcc-cris  -isystem 
/home/wyd/phfox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux 
-mno-mul-bug-workaround -Wall -Wshadow -O2 -g  -O2 -Wall -Wunused 
-I/home/wyd/phfox/devboard-R2_01/os/linux-2.6/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o 
extensions/libipt_realm_sh.o -c extensions/libipt_realm.c
In file included from include/iptables.h:4,
                 from extensions/libipt_realm.c:12:
include/iptables_common.h:12: warning: declaration of `optind' shadows a 
global declaration
/usr/local/cris/cris-axis-linux-gnu/sys-include/getopt.h:61: warning: shadowed 
declaration is here
ld-cris -mcrislinux -shared -o extensions/libipt_realm.so 
extensions/libipt_realm_sh.o
gcc-cris  -isystem 
/home/wyd/phfox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux 
-mno-mul-bug-workaround -Wall -Wshadow -O2 -g  -O2 -Wall -Wunused 
-I/home/wyd/phfox/devboard-R2_01/os/linux-2.6/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o 
extensions/libipt_string_sh.o -c extensions/libipt_string.c
In file included from include/iptables.h:4,
                 from extensions/libipt_string.c:17:
include/iptables_common.h:12: warning: declaration of `optind' shadows a 
global declaration
/usr/local/cris/cris-axis-linux-gnu/sys-include/getopt.h:61: warning: shadowed 
declaration is here
extensions/libipt_string.c: In function `parse_string':
extensions/libipt_string.c:47: `BM_MAX_NLEN' undeclared (first use in this 
function)
extensions/libipt_string.c:47: (Each undeclared identifier is reported only 
once
extensions/libipt_string.c:47: for each function it appears in.)
extensions/libipt_string.c:47: structure has no member named `string'
extensions/libipt_string.c: In function `parse':
extensions/libipt_string.c:67: structure has no member named `len'
extensions/libipt_string.c:67: structure has no member named `string'
extensions/libipt_string.c: In function `print':
extensions/libipt_string.c:102: structure has no member named `string'
extensions/libipt_string.c: In function `save':
extensions/libipt_string.c:111: structure has no member named `string'
make[2]: *** [extensions/libipt_string_sh.o] Fehler 1
make[2]: Verlasse 
Verzeichnis '/home/wyd/phfox/devboard-R2_01/apps/iptables-IR1_2_7a-3'
make[1]: *** [install-recurse] Fehler 1
make[1]: Verlasse Verzeichnis '/home/wyd/phfox/devboard-R2_01'
make: *** [everything] Fehler 2



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/foxboard/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/foxboard/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to