gopal@gopal-desktop:~/Desktop/a$ make
make -C tools
make[1]: Entering directory '/home/gopal/Desktop/a/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/gopal/Desktop/a/tools'
/home/gopal/Desktop/a/tools/bin2h
cp -f os/linux/Makefile.6 /home/gopal/Desktop/a/os/linux/Makefile
make -C /lib/modules/4.10.0-33-generic/build SUBDIRS=/home/gopal/Desktop/a/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic'
CC [M] /home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.o
/home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c:331:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^~~
In file included from /home/gopal/Desktop/a/include/rtmp_os.h:44:0,
from /home/gopal/Desktop/a/include/rtmp_comm.h:75,
from /home/gopal/Desktop/a/include/rt_config.h:33,
from /home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c:28:
/home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c:399:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^
/home/gopal/Desktop/a/include/os/rt_linux.h:661:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/gopal/Desktop/a/os/linux/../../os/linux/rt_profile.c:399:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^~~~~~~~
CC [M] /home/gopal/Desktop/a/os/linux/../../sta/assoc.o
CC [M] /home/gopal/Desktop/a/os/linux/../../sta/auth.o
CC [M] /home/gopal/Desktop/a/os/linux/../../sta/auth_rsp.o
CC [M] /home/gopal/Desktop/a/os/linux/../../sta/sync.o
/home/gopal/Desktop/a/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/gopal/Desktop/a/os/linux/../../sta/sync.c:2180:12: error: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ie_list,
^~~~~~~
In file included from /home/gopal/Desktop/a/include/rt_config.h:59:0,
from /home/gopal/Desktop/a/os/linux/../../sta/sync.c:28:
/home/gopal/Desktop/a/include/rtmp.h:7892:9: note: expected ‘IE_LISTS * {aka struct _IE_lists *}’ but argument is of type ‘BCN_IE_LIST * {aka struct _bcn_ie_list *}’
BOOLEAN StaAddMacTableEntry(
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/gopal/Desktop/a/os/linux/../../sta/sync.o' failed
make[2]: *** [/home/gopal/Desktop/a/os/linux/../../sta/sync.o] Error 1
Makefile:1524: recipe for target '_module_/home/gopal/Desktop/a/os/linux' failed
make[1]: *** [_module_/home/gopal/Desktop/a/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2