mips-unknown-linux-gnu-gcc -Wall -W -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -ffreestanding -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -Iinclude/asm-mips/mach-ikan_mips -Iinclude/asm-mips/mach-generic -fomit-frame-pointer -Wdeclaration-after-statement -isystemmips-unknown-linux-gnu-/../include -c -o drivers/net/avm_cpmac/cpmacconfig.o drivers/net/avm_cpmac/cpmacconfig.c
drivers/net/avm_cpmac/cpmacconfig.c:35:19: errno.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:36:19: stdio.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:37:20: stdlib.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:38:20: unistd.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:39:19: fcntl.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:40:21: strings.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:41:23: sys/ioctl.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:42:27: linux/sockios.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:43:20: string.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:44:19: ctype.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:45:24: sys/socket.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:46:23: sys/types.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:47:20: net/if.h: No such file or directory
drivers/net/avm_cpmac/cpmacconfig.c:106: warning: function declaration isn't a prototype
drivers/net/avm_cpmac/cpmacconfig.c: In function `show_usage':
drivers/net/avm_cpmac/cpmacconfig.c:108: warning: implicit declaration of function `printf'
drivers/net/avm_cpmac/cpmacconfig.c:110: warning: implicit declaration of function `puts'
drivers/net/avm_cpmac/cpmacconfig.c:112: error: `SIOCDEVPRIVATE' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:112: error: (Each undeclared identifier is reported only once
drivers/net/avm_cpmac/cpmacconfig.c:112: error: for each function it appears in.)
drivers/net/avm_cpmac/cpmacconfig.c: In function `main':
drivers/net/avm_cpmac/cpmacconfig.c:122: error: storage size of 'ifr' isn't known
drivers/net/avm_cpmac/cpmacconfig.c:123: error: `NULL' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:127: warning: implicit declaration of function `exit'
drivers/net/avm_cpmac/cpmacconfig.c:130: warning: implicit declaration of function `socket'
drivers/net/avm_cpmac/cpmacconfig.c:130: error: `AF_INET' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:130: error: `SOCK_DGRAM' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:131: warning: implicit declaration of function `fprintf'
drivers/net/avm_cpmac/cpmacconfig.c:131: error: `stderr' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:135: warning: implicit declaration of function `memset'
drivers/net/avm_cpmac/cpmacconfig.c:136: warning: implicit declaration of function `strncpy'
drivers/net/avm_cpmac/cpmacconfig.c:141: warning: implicit declaration of function `strcasecmp'
drivers/net/avm_cpmac/cpmacconfig.c:150: warning: implicit declaration of function `ioctl'
drivers/net/avm_cpmac/cpmacconfig.c:150: error: `SIOCDEVPRIVATE' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:150: error: `caddr_t' undeclared (first use in this function)
drivers/net/avm_cpmac/cpmacconfig.c:194: warning: implicit declaration of function `strcmp'
drivers/net/avm_cpmac/cpmacconfig.c:222: warning: implicit declaration of function `strchr'
drivers/net/avm_cpmac/cpmacconfig.c:222: warning: assignment makes pointer from integer without a cast
drivers/net/avm_cpmac/cpmacconfig.c:228: warning: implicit declaration of function `atoi'
drivers/net/avm_cpmac/cpmacconfig.c:234: warning: assignment makes pointer from integer without a cast
drivers/net/avm_cpmac/cpmacconfig.c:248: warning: implicit declaration of function `isdigit'
drivers/net/avm_cpmac/cpmacconfig.c:265: warning: implicit declaration of function `sscanf'
drivers/net/avm_cpmac/cpmacconfig.c:420: warning: implicit declaration of function `close'
make[4]: *** [drivers/net/avm_cpmac/cpmacconfig.o] Fehler 1
make[3]: *** [drivers/net/avm_cpmac] Fehler 2
make[2]: *** [drivers/net] Fehler 2
make[1]: *** [drivers] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
1.1.3 definitiv nicht. Wenn dann nur der trunk oder der 7390-branch. Weiß grad nicht wo es implementiert wurde. Was ich aber weiß ist, daß die 7320 sich freetz-technisch im TOTALEN Anfangsstadium befindet.... wenns überhaupt schon läuftFreetz 1.1.3 für die Fritz.Box 7320
...
Läuft dies auch auf einer 7320.
[...snipp...]
char *usage[] = {
"Usage: ",
/*--- " cpmacconfig info", ---*/
" cpmacconfig <device> mode <cpmac mode> [optional VIDs]",
" modes: normal, ata, split, splitata, allports",
" cpmacconfig <device> mode special (<dev name>,<port>[,<port>...] [optional VIDs]",
" cpmacconfig <device> addporttowan <port> [<optional VID>]",
" cpmacconfig <device> power <on interval> <off interval> <5 * (on|off|save)>",
" cpmacconfig <device> setreg <hex register> <hex value>",
" cpmacconfig <device> getreg <hex register>",
" cpmacconfig <device> setphy <hex phy> <hex register> <hex value>",
" cpmacconfig <device> getphy <hex phy> <hex register>",
" cpmacconfig <device> regdump",
" cpmacconfig <device> support",
" cpmacconfig <device> test <value>",
" cpmacconfig <device> peek <location> [length [size]]",
" cpmacconfig <device> poke <location> <value> [size]",
0
};
[...snipp...]
In file included from drivers/net/avm_cpmac/cpmacconfig.c:44:
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/string.h:45: error: conflicting types for 'memmove'
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/strings.h:65: error: previous implicit declaration of 'memmove' was here
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/string.h:60: error: conflicting types for 'memset'
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/strings.h:71: error: previous implicit declaration of 'memset' was here
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/string.h:169: error: conflicting types for 'strchr'
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/strings.h:83: error: previous implicit declaration of 'strchr' was here
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/string.h:172: error: conflicting types for 'strrchr'
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/include/strings.h:89: error: previous implicit declaration of 'strrchr' was here
drivers/net/avm_cpmac/cpmacconfig.c:106: warning: function declaration isn't a prototype
joerg@joerg-ubuntu:~/freetz-oliver_7390/source/kernel/ref-iks-16mb_26-7390_04.86/linux$
[...]./../../../mips-linux-uclibc/bin/ld: drivers/net/avm_cpmac/cpmacconfig.o: warning: linking PIC files with non-PIC files
joerg@joerg-ubuntu:~/freetz-oliver_7390/source/kernel/ref-iks-16mb_26-7390_04.86/linux$ /home/joerg/freetz-oliver_7390/toolchain/kernel/bin/mips-unknown-linux-gnu-gcc -Wall -W -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -ffreestanding -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -Iinclude/asm-mips/mach-ikan_mips -Iinclude/asm-mips/mach-generic -fomit-frame-pointer -Wdeclaration-after-statement -isystem/home/joerg/freetz-oliver_7390/toolchain/target/bin/../include -c -o drivers/net/avm_cpmac/cpmacconfig.o drivers/net/avm_cpmac/cpmacconfig.c
drivers/net/avm_cpmac/cpmacconfig.c:108: warning: function declaration isn't a prototype
joerg@joerg-ubuntu:~/freetz-oliver_7390/source/kernel/ref-iks-16mb_26-7390_04.86/linux$ /home/joerg/freetz-oliver_7390/toolchain/target/bin/mips-linux-gcc -Wall -W -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -ffreestanding -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -Iinclude/asm-mips/mach-ikan_mips -Iinclude/asm-mips/mach-generic -fomit-frame-pointer -Wdeclaration-after-statement -o drivers/net/avm_cpmac/cpmacconfig drivers/net/avm_cpmac/cpmacconfig.o
/home/joerg/freetz-oliver_7390/toolchain/build/mips_gcc-4.2.4_uClibc-0.9.29/mips-linux-uclibc/bin-ccache/../lib/gcc/mips-linux-uclibc/4.2.4/../../../../mips-linux-uclibc/bin/ld: drivers/net/avm_cpmac/cpmacconfig.o: warning: linking PIC files with non-PIC files
~/freetz-oliver_7390/toolchain/target/bin/mips-linux-gcc drivers/net/avm_cpmac/cpmacconfig.c -o drivers/net/avm_cpmac/cpmacconfig
joerg@joerg-ubuntu:~/freetz-oliver_7390/source/kernel/ref-iks-16mb_26-7390_04.86/linux$ ls -l drivers/net/avm_cpmac/cpmacconfig
-rwxr-xr-x 1 joerg joerg 16095 2010-10-24 21:29 drivers/net/avm_cpmac/cpmacconfig
Ist klar, aber irgendwie scheint das laut dem Makefile mit dem gleichen Compiler übersetzt zu werden, wie der Kernel?!?Es ist definitiv kein Kernel-Programm.
mkdir -p source/kernel/ref-iks-16mb_26-7390_04.86
checking structure... unpacking... preparing... applying patch file make/linux/patches/2.6.19.2/100-evaloader.patch
patching file linux-2.6.19.2/Makefile
patching file linux-2.6.19.2/arch/mips/Makefile
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/102-squashfs3.3_lzma.patch
patching file linux-2.6.19.2/fs/squashfs/inode.c
patching file linux-2.6.19.2/fs/squashfs/LzmaDecode.h
patching file linux-2.6.19.2/fs/squashfs/squashfs2_0.c
patching file linux-2.6.19.2/fs/squashfs/squashfs.h
patching file linux-2.6.19.2/include/linux/LzmaDecode.h
patching file linux-2.6.19.2/include/linux/squashfs_fs.h
patching file linux-2.6.19.2/include/linux/squashfs_fs_sb.h
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/110-missing_limits_header.patch
patching file linux-2.6.19.2/scripts/mod/sumversion.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/120-capi-missing-compiler-includes.patch
patching file linux-2.6.19.2/include/linux/capi.h
patching file linux-2.6.19.2/include/linux/kernelcapi.h
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/200-ip_conntrack.patch
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_conntrack_core.c
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/201-ip_conntrack_rtsp.2.6.19.2.patch
patching file linux-2.6.19.2/include/linux/netfilter_helpers.h
patching file linux-2.6.19.2/include/linux/netfilter_ipv4/ip_conntrack_rtsp.h
patching file linux-2.6.19.2/include/linux/netfilter_mime.h
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_conntrack_rtsp.c
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_nat_rtsp.c
patching file linux-2.6.19.2/net/ipv4/netfilter/Kconfig
patching file linux-2.6.19.2/net/ipv4/netfilter/Makefile
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/209-mini_fo.patch
patching file linux-2.6.19.2/fs/Kconfig
patching file linux-2.6.19.2/fs/Makefile
patching file linux-2.6.19.2/fs/mini_fo/aux.c
patching file linux-2.6.19.2/fs/mini_fo/ChangeLog
patching file linux-2.6.19.2/fs/mini_fo/dentry.c
patching file linux-2.6.19.2/fs/mini_fo/file.c
patching file linux-2.6.19.2/fs/mini_fo/fist.h
patching file linux-2.6.19.2/fs/mini_fo/inode.c
patching file linux-2.6.19.2/fs/mini_fo/main.c
patching file linux-2.6.19.2/fs/mini_fo/Makefile
patching file linux-2.6.19.2/fs/mini_fo/meta.c
patching file linux-2.6.19.2/fs/mini_fo/mini_fo.h
patching file linux-2.6.19.2/fs/mini_fo/mini_fo-merge
patching file linux-2.6.19.2/fs/mini_fo/mini_fo-overlay
patching file linux-2.6.19.2/fs/mini_fo/mmap.c
patching file linux-2.6.19.2/fs/mini_fo/README
patching file linux-2.6.19.2/fs/mini_fo/RELEASE_NOTES
patching file linux-2.6.19.2/fs/mini_fo/state.c
patching file linux-2.6.19.2/fs/mini_fo/super.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/210-jff2nfsexport.patch
patching file linux-2.6.19.2/fs/jffs2/super.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/290-revert_ppp_generic.patch
patching file linux-2.6.19.2/drivers/net/ppp_generic.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/300-mppe-mppc.patch
patching file linux-2.6.19.2/drivers/net/Kconfig
patching file linux-2.6.19.2/drivers/net/Makefile
patching file linux-2.6.19.2/drivers/net/ppp_generic.c
patching file linux-2.6.19.2/drivers/net/ppp_mppe.c
patching file linux-2.6.19.2/drivers/net/ppp_mppe.h
patching file linux-2.6.19.2/drivers/net/ppp_mppe_mppc.c
patching file linux-2.6.19.2/include/linux/if_ppp.h
patching file linux-2.6.19.2/include/linux/ppp-comp.h
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/400-ftdi-smartmouse.patch
patching file linux-2.6.19.2/drivers/usb/serial/ftdi_sio.h
patching file linux-2.6.19.2/drivers/usb/serial/ftdi_sio.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/500-compcache-0.5.4-ramzswap-xvmalloc.patch
patching file linux-2.6.19.2/block/Kconfig
patching file linux-2.6.19.2/block/Makefile
patching file linux-2.6.19.2/block/ramzswap/compat.h
patching file linux-2.6.19.2/block/ramzswap/Makefile
patching file linux-2.6.19.2/block/ramzswap/ramzswap.c
patching file linux-2.6.19.2/block/ramzswap/ramzswap.h
patching file linux-2.6.19.2/block/ramzswap/xvmalloc.c
patching file linux-2.6.19.2/block/ramzswap/xvmalloc.h
patching file linux-2.6.19.2/block/ramzswap/xvmalloc_int.h
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/510-compcache-0.5.4-swap_notifier_generic.patch
patching file linux-2.6.19.2/include/linux/swap.h
patching file linux-2.6.19.2/mm/swapfile.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/520-lib-lzo.patch
patching file linux-2.6.19.2/include/linux/lzo.h
patching file linux-2.6.19.2/lib/Kconfig
patching file linux-2.6.19.2/lib/lzo/lzo1x_compress.c
patching file linux-2.6.19.2/lib/lzo/lzo1x_decompress.c
patching file linux-2.6.19.2/lib/lzo/lzodefs.h
patching file linux-2.6.19.2/lib/lzo/Makefile
patching file linux-2.6.19.2/lib/Makefile
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/710-scall32.patch
patching file linux-2.6.19.2/arch/mips/kernel/scall32-o32.S
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/998-fix-unifdef.patch
patching file linux-2.6.19.2/scripts/unifdef.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/999-ip_tables_debug_sk_buff.patch
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_tables.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/kernel-2.6.18-2.6.19-layer7-2.9.patch
patching file linux-2.6.19.2/include/linux/netfilter_ipv4/ip_conntrack.h
patching file linux-2.6.19.2/include/linux/netfilter_ipv4/ipt_layer7.h
patching file linux-2.6.19.2/net/ipv4/netfilter/Kconfig
patching file linux-2.6.19.2/net/ipv4/netfilter/Makefile
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_conntrack_core.c
patching file linux-2.6.19.2/net/ipv4/netfilter/ip_conntrack_standalone.c
patching file linux-2.6.19.2/net/ipv4/netfilter/ipt_layer7.c
patching file linux-2.6.19.2/net/ipv4/netfilter/regexp/regexp.c
patching file linux-2.6.19.2/net/ipv4/netfilter/regexp/regexp.h
patching file linux-2.6.19.2/net/ipv4/netfilter/regexp/regmagic.h
patching file linux-2.6.19.2/net/ipv4/netfilter/regexp/regsub.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/kernel-2.6.19-ipp2p-0.82.patch
patching file linux-2.6.19.2/net/ipv4/netfilter/ipt_ipp2p.c
patching file linux-2.6.19.2/net/ipv4/netfilter/Kconfig
patching file linux-2.6.19.2/net/ipv4/netfilter/Makefile
patching file linux-2.6.19.2/include/linux/netfilter_ipv4/ipt_ipp2p.h
----------------------------------------------------------------------
#Version specific patches
applying patch file make/linux/patches/2.6.19.2/7390_04.86/110-hwrev_list.patch
patching file linux-2.6.19.2/drivers/char/avm_new/Makefile.26
patching file linux-2.6.19.2/drivers/net/avm_cpmac/Makefile.26
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/7390_04.86/130-revert_skbuff_changes.patch
patching file linux-2.6.19.2/net/core/skbuff.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/7390_04.86/140-platform_c.patch
patching file linux-2.6.19.2/arch/mips/ikan_mips/platform.c
----------------------------------------------------------------------
applying patch file make/linux/patches/2.6.19.2/7390_04.86/150-fix_cpmac.patch
patching file linux-2.6.19.2/drivers/net/avm_cpmac/Makefile.26
Hunk #1 FAILED at 28.
Hunk #2 FAILED at 22.
Hunk #3 FAILED at 59.
3 out of 3 hunks FAILED -- saving rejects to file linux-2.6.19.2/drivers/net/avm_cpmac/Makefile.26.rej
patching file linux-2.6.19.2/drivers/net/avm_cpmac/cpmac_product_conf.c
----------------------------------------------------------------------
ERROR: modpatch: Error in patch-file make/linux/patches/2.6.19.2/7390_04.86/150-fix_cpmac.patch
make: *** [source/kernel/ref-iks-16mb_26-7390_04.86/.unpacked] Fehler 2
Wir brauchen mehr Input von Testusern, da wir die Box selber nicht haben (und demzufolge nicht testen können)