Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. echo /home/nemeth/driver
  2. /home/nemeth/driver
  3. make -C /lib/modules/2.6.32-28-generic/build M=/home/nemeth/driver
  4. make[1]: Entering directory `/usr/src/linux-headers-2.6.32-28-generic'
  5. CC [M] /home/nemeth/driver/memstick.o
  6. In file included from /home/nemeth/driver/memstick.c:15:
  7. /home/nemeth/driver/linux/memstick.h:279: error: field ‘cdev’ has incomplete type
  8. /home/nemeth/driver/memstick.c: In function ‘memstick_uevent’:
  9. /home/nemeth/driver/memstick.c:71: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
  10. include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
  11. /home/nemeth/driver/memstick.c:71: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
  12. include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
  13. /home/nemeth/driver/memstick.c:74: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
  14. include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
  15. /home/nemeth/driver/memstick.c:74: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
  16. include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
  17. /home/nemeth/driver/memstick.c:77: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
  18. include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
  19. /home/nemeth/driver/memstick.c:77: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
  20. include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
  21. /home/nemeth/driver/memstick.c: At top level:
  22. /home/nemeth/driver/memstick.c:195: warning: initialization from incompatible pointer type
  23. /home/nemeth/driver/memstick.c: In function ‘memstick_free’:
  24. /home/nemeth/driver/memstick.c:204: warning: type defaults to ‘int’ in declaration of ‘__mptr’
  25. /home/nemeth/driver/memstick.c:204: warning: initialization from incompatible pointer type
  26. /home/nemeth/driver/memstick.c: At top level:
  27. /home/nemeth/driver/memstick.c:211: error: unknown field ‘release’ specified in initializer
  28. /home/nemeth/driver/memstick.c:212: warning: initialization from incompatible pointer type
  29. /home/nemeth/driver/memstick.c: In function ‘memstick_alloc_card’:
  30. /home/nemeth/driver/memstick.c:407: error: ‘struct device’ has no member named ‘bus_id’
  31. /home/nemeth/driver/memstick.c:407: error: ‘struct device’ has no member named ‘bus_id’
  32. /home/nemeth/driver/memstick.c: In function ‘memstick_alloc_host’:
  33. /home/nemeth/driver/memstick.c:509: error: implicit declaration of function ‘class_device_initialize’
  34. /home/nemeth/driver/memstick.c: In function ‘memstick_add_host’:
  35. /home/nemeth/driver/memstick.c:532: error: ‘BUS_ID_SIZE’ undeclared (first use in this function)
  36. /home/nemeth/driver/memstick.c:532: error: (Each undeclared identifier is reported only once
  37. /home/nemeth/driver/memstick.c:532: error: for each function it appears in.)
  38. /home/nemeth/driver/memstick.c:535: error: implicit declaration of function ‘class_device_add’
  39. /home/nemeth/driver/memstick.c: In function ‘memstick_remove_host’:
  40. /home/nemeth/driver/memstick.c:566: error: implicit declaration of function ‘class_device_del’
  41. /home/nemeth/driver/memstick.c: In function ‘memstick_free_host’:
  42. /home/nemeth/driver/memstick.c:577: error: implicit declaration of function ‘class_device_put’
  43. make[2]: *** [/home/nemeth/driver/memstick.o] Error 1
  44. make[1]: *** [_module_/home/nemeth/driver] Error 2
  45. make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-28-generic'
  46. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement