Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi all, I downloaded the QNAP kernel for x51 device -> 3.12.6, I fetch the config.gz from /proc and run make! But I get this error:
- CC init/version.o
- LD init/built-in.o
- drivers/built-in.o: In function `usb_hc_died':
- (.text+0xfb0db): undefined reference to `send_message_to_app'
- drivers/built-in.o: In function `fix_sync_read_error':
- raid1.c:(.text+0x14eb58): undefined reference to `send_message_to_app'
- raid1.c:(.text+0x14eb84): undefined reference to `send_message_to_app'
- raid1.c:(.text+0x14eb90): undefined reference to `send_message_to_app'
- raid1.c:(.text+0x14eb9c): undefined reference to `send_message_to_app'
- drivers/built-in.o:raid1.c:(.text+0x14eba8): more undefined references to `send_message_to_app' follow
- make: *** [vmlinux] Error 1
- It is an error on this function 'send_message_to_app'!!
- Using grep I founded that function in drivers/qnap/:
- drivers/qnap/pic.c:int send_message_to_app(unsigned short message)
- drivers/qnap/pic.c:EXPORT_SYMBOL(send_message_to_app);
- drivers/qnap/pic.c:int send_message_to_app_qraid1(unsigned char message)
- drivers/qnap/pic.c:EXPORT_SYMBOL(send_message_to_app_qraid1);
- drivers/qnap/pic-arm.c:int send_message_to_app(unsigned short message)
- drivers/qnap/pic-arm.c:int send_message_to_app_qraid1(unsigned char message)
- drivers/qnap/pic-arm.c:EXPORT_SYMBOL(send_message_to_app);
- drivers/qnap/pic-arm.c:EXPORT_SYMBOL(send_message_to_app_qraid1);
- drivers/qnap/qfunc.c: send_message_to_app_qraid1(rsync_path_id);
- include/qnap/sendmessage.h:int send_message_to_app_qraid1(unsigned char message);
- include/qnap/pic.h:int send_message_to_app(unsigned short message);
- so why isn't referenced? Thanks for help! Regards.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement