forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
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
'kubntd/qcom-sdm660-6.11.y-clover-plus-wip ' Branch compilation error. #46
Comments
This doesn't look like full error message, the error should be above those |
Do you see this?
|
You should set CONFIG_QRTR=y and CONFIG_QRTR_SMD=y to workaround this error |
This diff makes it compile as module diff --git a/net/qrtr/smd.c b/net/qrtr/smd.c
index 55dea9389ad3..2bd569188ad5 100644
--- a/net/qrtr/smd.c
+++ b/net/qrtr/smd.c
@@ -319,10 +319,11 @@ static void __exit qcom_smd_qrtr_exit(void)
unregister_rpmsg_driver(&qcom_smd_qrtr_driver);
}
-subsys_initcall(qcom_smd_qrtr_init);
+//subsys_initcall(qcom_smd_qrtr_init);
+module_init(qcom_smd_qrtr_init);
module_exit(qcom_smd_qrtr_exit);
-module_rpmsg_driver(qcom_smd_qrtr_driver);
+//module_rpmsg_driver(qcom_smd_qrtr_driver);
MODULE_ALIAS("rpmsg:IPCRTR");
MODULE_DESCRIPTION("Qualcomm IPC-Router SMD interface driver"); but then:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I pulled the current branch and tried to compile it, but the following error occurred.
make[1]: *** [/home/cmg/workspace/linux/Makefile:1926:.] ERROR 2
make: *** [Makefile:224:__sub-make] ERROR 2
Is there any syntax error in the Makefile file?
The text was updated successfully, but these errors were encountered: