-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
a question for kernel-ml #1
Comments
Were you able to fix this? I have run into a similar problem. |
The same,I stuck with printing AR kernel/built-in.a. |
Hi Everybody, sorry for the late response. Could you please check makefile in "kernel-ml-linux/block/" for the paths. linking for kml.a we use path and I think we statically defined them. Please let me know if this solves the issue. |
I'm sorry to bother you, but I have modified the path like below:
|
I'm sorry to bother you. However, I encountered the following problem while compiling my project into the kernel. Could you please advise on how to solve it? I'm using Ubuntu 18.04 as my operating system and GCC version 7.5.
MODPOST vmlinux.o
block/mq-adios.o: In function 'dd_init_queue':
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:493: undefined reference to 'build_linear_regression'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:494: undefined reference to 'io_scheduler_linear_check_correction'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:496: undefined reference to 'set_random_matrix'
block/mq-adios.o: In function '__dd_dispatch_request':
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:404: undefined reference to 'io_scheduler_linear_evaluate'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:394: undefined reference to 'io_scheduler_linear_evaluate'
/home/niuma/kernel-ml/kernel-ml-linux/block/mq-adios.c:384: undefined reference to 'io_scheduler_linear_evaluate'
Makefile:1022: recipe for target 'vmlinux' failed.
This error message is indicating that there are undefined references to several functions in the mq-adios.c file, including "build_linear_regression", "io_scheduler_linear_check_correction", "set_random_matrix", and "io_scheduler_linear_evaluate". These errors occurred during the compilation of "vmlinux" and resulted in the failure of the make command.
The text was updated successfully, but these errors were encountered: