Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo /home/nemeth/driver
- /home/nemeth/driver
- make -C /lib/modules/2.6.32-28-generic/build M=/home/nemeth/driver
- make[1]: Entering directory `/usr/src/linux-headers-2.6.32-28-generic'
- CC [M] /home/nemeth/driver/memstick.o
- In file included from /home/nemeth/driver/memstick.c:15:
- /home/nemeth/driver/linux/memstick.h:279: error: field ‘cdev’ has incomplete type
- /home/nemeth/driver/memstick.c: In function ‘memstick_uevent’:
- /home/nemeth/driver/memstick.c:71: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
- include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
- /home/nemeth/driver/memstick.c:71: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
- include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
- /home/nemeth/driver/memstick.c:74: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
- include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
- /home/nemeth/driver/memstick.c:74: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
- include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
- /home/nemeth/driver/memstick.c:77: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
- include/linux/kobject.h:206: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
- /home/nemeth/driver/memstick.c:77: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
- include/linux/kobject.h:206: note: expected ‘const char *’ but argument is of type ‘int’
- /home/nemeth/driver/memstick.c: At top level:
- /home/nemeth/driver/memstick.c:195: warning: initialization from incompatible pointer type
- /home/nemeth/driver/memstick.c: In function ‘memstick_free’:
- /home/nemeth/driver/memstick.c:204: warning: type defaults to ‘int’ in declaration of ‘__mptr’
- /home/nemeth/driver/memstick.c:204: warning: initialization from incompatible pointer type
- /home/nemeth/driver/memstick.c: At top level:
- /home/nemeth/driver/memstick.c:211: error: unknown field ‘release’ specified in initializer
- /home/nemeth/driver/memstick.c:212: warning: initialization from incompatible pointer type
- /home/nemeth/driver/memstick.c: In function ‘memstick_alloc_card’:
- /home/nemeth/driver/memstick.c:407: error: ‘struct device’ has no member named ‘bus_id’
- /home/nemeth/driver/memstick.c:407: error: ‘struct device’ has no member named ‘bus_id’
- /home/nemeth/driver/memstick.c: In function ‘memstick_alloc_host’:
- /home/nemeth/driver/memstick.c:509: error: implicit declaration of function ‘class_device_initialize’
- /home/nemeth/driver/memstick.c: In function ‘memstick_add_host’:
- /home/nemeth/driver/memstick.c:532: error: ‘BUS_ID_SIZE’ undeclared (first use in this function)
- /home/nemeth/driver/memstick.c:532: error: (Each undeclared identifier is reported only once
- /home/nemeth/driver/memstick.c:532: error: for each function it appears in.)
- /home/nemeth/driver/memstick.c:535: error: implicit declaration of function ‘class_device_add’
- /home/nemeth/driver/memstick.c: In function ‘memstick_remove_host’:
- /home/nemeth/driver/memstick.c:566: error: implicit declaration of function ‘class_device_del’
- /home/nemeth/driver/memstick.c: In function ‘memstick_free_host’:
- /home/nemeth/driver/memstick.c:577: error: implicit declaration of function ‘class_device_put’
- make[2]: *** [/home/nemeth/driver/memstick.o] Error 1
- make[1]: *** [_module_/home/nemeth/driver] Error 2
- make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-28-generic'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement