Re: [Lcd-linux] Fwd: Re-vitalizing lcd-linux for Raspberry Pi?
Brought to you by:
mjona
From: Mattia Jona-L. <mat...@gm...> - 2013-09-17 15:15:14
|
Could be. It was also missing in 2.2 kernels. There is an internal version in the file lcd-linux.c line 1800. If that doesn't work you can either disable the /proc support or write a new create_proc_read_entry function. Maybe taking the one from Linux 3.7.9 to start with. On Tue, Sep 17, 2013 at 5:06 PM, Sven Geggus <sv...@ge...> wrote: > Mattia Jona-Lasinio schrieb am Dienstag, den 17. September um 16:49 Uhr: > > > Anyway, just edit the lcd-linux Makefile and define KERNEL_VERSION to > > 3.7.9 and KERNEL_SRC_DIR to the correct kernel source path (seems to be > > /lib/modules/3.7.9-01010-gc1bd951/build). This should fix the compiler > > issue. I tried with no problems with a pristine 3.7.9 kernel. > > Hm, looks like create_proc_read_entry function is not available on 3.10.x > anymore: > > /home/sven/download/lcd-linux-0.13.9/lcd-linux/lcd-linux.c: In function > ‘create_driver_proc_entries’: > /home/sven/download/lcd-linux-0.13.9/lcd-linux/lcd-linux.c:1926:2: error: > /implicit declaration of function ‘create_proc_read_entry’ > [-Werror=implicit-function-declaration] > > Sven > > -- > "The term "any key" does not refer to a particular key on the keyboard. It > simply means to strike any one of the keys on your keyboard or handheld > screen." (Compaq FAQ Entry 2859) > /me is giggls@ircnet, http://sven.gegg.us/ on the Web > |