~/Downloads/memstick $ make
make -C /lib/modules/3.5.0-17-generic/build M=/home/adam/Downloads/memstick
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
LD /home/adam/Downloads/memstick/built-in.o
LD /home/adam/Downloads/memstick/core/built-in.o
CC [M] /home/adam/Downloads/memstick/core/memstick.o
/home/adam/Downloads/memstick/core/memstick.c:24:27: error: expected ‘)’ before ‘uint’
/home/adam/Downloads/memstick/core/memstick.c:213:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:213:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:213:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:245:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:245:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:245:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:259:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:259:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:259:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:284:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:284:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:284:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:317:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:317:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:317:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:385:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:385:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:385:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:402:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:402:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:402:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:423:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:423:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:423:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:458:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:458:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:458:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:469:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:469:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:469:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:486:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:486:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:486:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:612:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:612:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:612:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:645:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:645:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:645:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:666:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:666:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:666:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:677:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:677:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:677:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:689:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:689:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:689:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:707:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:707:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:707:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:715:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:715:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:715:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:721:1: warning: data definition has no type or storage class [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c:721:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ [-Wimplicit-int]
/home/adam/Downloads/memstick/core/memstick.c:721:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c: In function ‘memstick_init’:
/home/adam/Downloads/memstick/core/memstick.c:728:2: error: implicit declaration of function ‘create_freezeable_workqueue’ [-Werror=implicit-function-declaration]
/home/adam/Downloads/memstick/core/memstick.c:728:12: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/adam/Downloads/memstick/core/memstick.c: At top level:
/home/adam/Downloads/memstick/core/memstick.c:756:15: error: expected declaration specifiers or ‘...’ before string constant
/home/adam/Downloads/memstick/core/memstick.c:757:16: error: expected declaration specifiers or ‘...’ before string constant
/home/adam/Downloads/memstick/core/memstick.c:758:20: error: expected declaration specifiers or ‘...’ before string constant
cc1: some warnings being treated as errors
make[3]: *** [/home/adam/Downloads/memstick/core/memstick.o] Error 1
make[2]: *** [/home/adam/Downloads/memstick/core] Error 2
make[1]: *** [_module_/home/adam/Downloads/memstick] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make: *** [build] Error 2
Bookmarks