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

openwrt compile with error about fsleep() #2

Closed
charliealexander73 opened this issue Jul 21, 2021 · 5 comments
Closed

openwrt compile with error about fsleep() #2

charliealexander73 opened this issue Jul 21, 2021 · 5 comments

Comments

@charliealexander73
Copy link

Hi, compiling openwrt with this feed ends up with an error says that:

"
rtw8822c.c:1482:2: error: implicit declaration of function 'fsleep'; did you mean 'ssleep'? [-Werror=implicit-function-declaration]
fsleep(1000);
^~~~~~
ssleep
cc1: some warnings being treated as errors
"

Can you tell some methods to fix it? Thanks a lot.

@charliealexander73
Copy link
Author

I'm using this feed with openwrt master tree

@Pix13
Copy link
Owner

Pix13 commented Jul 21, 2021

Hi ! Hard to tell, i'm building only 8821cu for my SBC, and i don't know the state of the 8822cu chip in the rtw88-usb development

See issue ulli-kroll/rtw88-usb#4 that says "currently disabled", maybe you should try to open an issue in the driver source repo, as it seems related to a missing update on your chip

@charliealexander73
Copy link
Author

o i c, thanks for notice :)

@charliealexander73
Copy link
Author

Ok I figured out the problem.
Openwrt for my router use a older kernel so that i have to use the backports tree

@Pix13
Copy link
Owner

Pix13 commented Jul 23, 2021

Aaah i was wondering about that :) Glad it works out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants