Comment 131 for bug 238208

Revision history for this message
swissz (zsarosi) wrote :

Hi!

I tried to compile it on Ubuntu 9.10 x86_64 (gcc version 4.1.3), but the compiler complains:
---------------------
user@localhost:~/Downloads/ricoh_driver/ricoh-kernel/memstick$ make
make -C /lib/modules/2.6.31-22-generic/build M=/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-22-generic'
/usr/src/linux-headers-2.6.31-22-generic/arch/x86/Makefile:80: stack protector enabled but no compiler support
  CC [M] /home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.o
In file included from /home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.c:23:
/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.h:177:7: warning: no newline at end of file
/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.c:858: warning: data definition has no type or storage class
/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.c:858: warning: type defaults to ‘int’ in declaration of ‘SIMPLE_DEV_PM_OPS’
/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.c:858: warning: parameter names (without types) in function declaration
/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.c:869: error: ‘r592_pm_ops’ undeclared here (not in a function)
make[3]: *** [/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host/r592.o] Error 1
make[2]: *** [/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick/host] Error 2
make[1]: *** [_module_/home/user/Downloads/ricoh_driver/ricoh-kernel/memstick] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-22-generic'
make: *** [build] Error 2
---------------------