Hi try to compile the openWRT on ubuntu.Got the following error.Pls help me to resolve this issue.
In file included from /include/uapi/linux/wireless.h:72,
from /include/linux/wireless.h:12,
from api_lib_wifimgr.c:11:
/include/linux/types.h:14:26: error: conflicting types for 'fd_set'
typedef __kernel_fd_set fd_set;
^~~~~~
In file included from /home/alphion/sdhamodharan/openwrt-21.02.1_dev/staging_dir/toolchain-arm_cortex-a7_gcc-8.4.0_glibc_eabi/include/sys/types.h:179,
from /home/alphion/sdhamodharan/openwrt-21.02.1_dev/staging_dir/toolchain-arm_cortex-a7_gcc-8.4.0_glibc_eabi/include/stdlib.h:394,
from api_lib_wifimgr.c:3:
/home/alphion/sdhamodharan/openwrt-21.02.1_dev/staging_dir/toolchain-arm_cortex-a7_gcc-8.4.0_glibc_eabi/include/sys/select.h:70:5: note: previous declaration of 'fd_set' was here
} fd_set;
^~~~~~
In file included from /include/uapi/linux/wireless.h:72,
from /include/linux/wireless.h:12,
from api_lib_wifimgr.c:11:
/include/linux/types.h:15:25: error: conflicting types for 'dev_t'
typedef __kernel_dev_t dev_t;
^~~~~
Thanks