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

error: implicit declaration of function ‘hci_recv_fragment’ (Linux 3.18) #16

Closed
julienchauveau opened this issue Nov 10, 2014 · 4 comments

Comments

@julienchauveau
Copy link

The hci_recv_fragment function has been removed in Linux kernel 3.18.

cf. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0097db06f5ab2df1756bc4cbf4395593024d87a1

This leads to build errors in both master and new branches.

rtk_btusb.c:164:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
   if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
   ^
btusb.c:376:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
   if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
   ^
Linux_BT_USB_2.11.20140423_8723BE/rtk_btusb.c:143:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
   if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
   ^
@lwfinger
Copy link
Owner

A fix has been pushed to the new branch. The master branch will need to wait for a bit.

@julienchauveau
Copy link
Author

@lwfinger Thank you.

@lwfinger
Copy link
Owner

lwfinger commented Jan 6, 2015

Of course it is for your hardware. You need to use "git checkout new". That is what I meany by using the new branch!!!

@sunny0
Copy link

sunny0 commented Jan 6, 2015

I see. First time using git...

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

3 participants