Open camelreef opened 6 years ago
When you get
/root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:1100:9: error: implicit declaration of function ‘__vfs_write’ [-Werror=implicit-function-declaration] return __vfs_write(osfd, pDataPtr, (size_t) writeLen, &osfd->f_pos)
it's because __vfs_read and __vfs_write are deprecated.
__vfs_read
__vfs_write
Edit os/linux/rt_linux.c and swap __vfs_read with kernel_read and __vfs_write with kernel_write in all instances.
os/linux/rt_linux.c
kernel_read
kernel_write
When you get
/root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:1100:9: error: implicit declaration of function ‘__vfs_write’ [-Werror=implicit-function-declaration] return __vfs_write(osfd, pDataPtr, (size_t) writeLen, &osfd->f_pos)
it's because
__vfs_read
and__vfs_write
are deprecated.Edit
os/linux/rt_linux.c
and swap__vfs_read
withkernel_read
and__vfs_write
withkernel_write
in all instances.