Пытаюсь собрать модуль для Ubuntu Server 14. В конце выдает ошибку:
In file included from <command-line>:0:0:
/home/master/src/ipfw/ipfw3-2012/kipfw-mod/ip_dummynet.c: In function ‘fsk_detac h’:
/home/master/src/ipfw/ipfw3-2012/kipfw-mod/ip_dummynet.c:638:19: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
bzero(fs, sizeof(fs)); /* safety */
^
/home/master/src/ipfw/ipfw3-2012/kipfw-mod/missing.h:138:34: note: in definition of macro ‘bzero’
#define bzero(s, n) memset(s, 0, n)
^
cc1: all warnings being treated as errors
make[3]: *** [/home/master/src/ipfw/ipfw3-2012/kipfw-mod/ip_dummynet.o] Error 1
make[2]: *** [_module_/home/master/src/ipfw/ipfw3-2012/kipfw-mod] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.16.0-30-generic'
make[1]: *** [kipfw] Error 2
make[1]: Leaving directory `/home/master/src/ipfw/ipfw3-2012/kipfw-mod'
make: *** [kipfw] Error 2
master@universal:~/src/ipfw/ipfw3-2012$