[Bug 734] Iptables on Arm Processor with Vanilla Kernel

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Sat Aug 27 20:23:22 CEST 2011


http://bugzilla.netfilter.org/show_bug.cgi?id=734





--- Comment #11 from Evgheni <aidjek at gmail.com>  2011-08-27 20:23:22 ---
(In reply to comment #10)
> It does not strictly need to be a module. You can copy kcctypeinfo.c to your
> kernel source (e.g. kernel/) and build it there by adding to ./kernel/Makefile:
> 
>   obj-m += kcctypeinfo.o
> 
> (or obj-y if static). Does not really matter how you pull it off, just get it
> compiled ;-)
> 

Hello Jan.

Thank you for good advice. 

I have an problem during compile:
t405VM:/mnt/Router7/user/projects/router_7/linux/linux-2.6.27.53-add#  make -C
$(pwd) M=kernel modules
make: Entering directory
`/mnt/Router7/user/projects/router_7/linux/linux-2.6.27.53-add'
  CC [M]  kernel/kcctypeinfo.o
kernel/kcctypeinfo.c:6:26: error: linux/printk.h: No such file or directory
make[1]: *** [kernel/kcctypeinfo.o] Error 1
make: *** [_module_kernel] Error 2

and fixed it by this way: 
ln -s
/mnt/Router7/user/projects/router_7/linux/linux-2.6.27.53-add/include/config/printk.h
/mnt/Router7/user/projects/router_7/linux/linux-2.6.27.53-add/include/linux/printk.h

and for now output in dmesg of insmod kcctypeinfo.ko - is represanted below:


[1330302.914062]           TYPE   SIZEOF  ALIGNOF
[1330302.937500]           char        1        1
[1330302.945312]          short        2        2
[1330302.960937]            int        4        4
[1330302.976562]           long        4        4
[1330302.992187]      long long        8        8
[1330303.000000]          float        4        4
[1330303.015625]         double        8        8
[1330303.031250]    long double        8        8
[1330303.039062]         void *        4        4
[1330303.054687] void (*)(void)        4        4
[1330303.070312]      uintptr_t        4        4
[1330303.085937]         size_t        4        4
[1330303.093750]        wchar_t        2        2
[1330303.109375]          off_t        4        4
[1330303.125000]         loff_t        8        8
[1330303.132812]        uint8_t        1        1
[1330303.148437]       uint16_t        2        2
[1330303.164062]       uint32_t        4        4
[1330303.179687]       uint64_t        8        8
[1330303.187500]     struct x16        4        2
[1330303.203125]     struct x32        8        4
[1330303.218750]     struct x64       16        8
[1330303.226562]         mode_t        2        2
[1330303.242187]         time_t        4        4
[1330303.257812] struct timespec        8        4
[1330303.273437] struct sockaddr       16        2
[1330303.281250] struct sockaddr_in       16        4
[1330303.296875] struct sockaddr_in6       28        4
[1330303.312500] struct sockaddr_storage      128        4

Please don't hesitate if you need a further assistance.

WBR, Evgheni.


-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.



More information about the netfilter-buglog mailing list