Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error fix - __vfs_write #43

Open
camelreef opened this issue Mar 31, 2018 · 0 comments

Comments

@camelreef
Copy link

commented Mar 31, 2018

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 with kernel_read and __vfs_write with kernel_write in all instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.