[Bug 238208] Re: Need MemoryStick driver Ricoh R5C592 (part of R5C832/822chipset)

Maxim Levitsky maximlevitsky at gmail.com
Wed Sep 8 12:52:38 UTC 2010


On Wed, 2010-09-08 at 08:57 +0000, swissz wrote: 
> Hi!
> 
> I tried to compile it on Ubuntu 9.10 x86_64 (gcc version 4.1.3), but the compiler complains:
> ---------------------
> user at 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
> ---------------------

Too old kernel (this supports 2.6.32+)
However I will add a compat code there.
The xD part I think should compile on 2.6.31.

Best regards,
Maxim Levitsky

-- 
Need MemoryStick driver Ricoh R5C592 (part of R5C832/822chipset)
https://bugs.launchpad.net/bugs/238208
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Canonical OEM Projects.




More information about the kernel-bugs mailing list