Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. 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:
  2.  
  3. CC init/version.o
  4. LD init/built-in.o
  5. drivers/built-in.o: In function `usb_hc_died':
  6. (.text+0xfb0db): undefined reference to `send_message_to_app'
  7. drivers/built-in.o: In function `fix_sync_read_error':
  8. raid1.c:(.text+0x14eb58): undefined reference to `send_message_to_app'
  9. raid1.c:(.text+0x14eb84): undefined reference to `send_message_to_app'
  10. raid1.c:(.text+0x14eb90): undefined reference to `send_message_to_app'
  11. raid1.c:(.text+0x14eb9c): undefined reference to `send_message_to_app'
  12. drivers/built-in.o:raid1.c:(.text+0x14eba8): more undefined references to `send_message_to_app' follow
  13. make: *** [vmlinux] Error 1
  14.  
  15. It is an error on this function 'send_message_to_app'!!
  16.  
  17. Using grep I founded that function in drivers/qnap/:
  18.  
  19. drivers/qnap/pic.c:int send_message_to_app(unsigned short message)
  20. drivers/qnap/pic.c:EXPORT_SYMBOL(send_message_to_app);
  21. drivers/qnap/pic.c:int send_message_to_app_qraid1(unsigned char message)
  22. drivers/qnap/pic.c:EXPORT_SYMBOL(send_message_to_app_qraid1);
  23. drivers/qnap/pic-arm.c:int send_message_to_app(unsigned short message)
  24. drivers/qnap/pic-arm.c:int send_message_to_app_qraid1(unsigned char message)
  25. drivers/qnap/pic-arm.c:EXPORT_SYMBOL(send_message_to_app);
  26. drivers/qnap/pic-arm.c:EXPORT_SYMBOL(send_message_to_app_qraid1);
  27. drivers/qnap/qfunc.c: send_message_to_app_qraid1(rsync_path_id);
  28. include/qnap/sendmessage.h:int send_message_to_app_qraid1(unsigned char message);
  29. include/qnap/pic.h:int send_message_to_app(unsigned short message);
  30.  
  31. so why isn't referenced? Thanks for help! Regards.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement