[mythtv-users] Missing /dev/lcd0 with Silverstone LC16M

Nick Morrott knowledgejunkie at gmail.com
Sat Feb 16 07:54:52 UTC 2008


On 16/02/2008, Anthony Giggins <seven at seven.dorksville.net> wrote:

> ii) I had tried this previously but I'm getting errors compiling the standalone VFD
>
> # make -C /usr/src/kernels/2.6.20-1.2944.fc6-i686/ SUBDIRS=$PWD modules
> make: Entering directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'
>   CC [M]  /home/mythtv/imon/imon_vfd.o
> /home/mythtv/imon/imon_vfd.c:34:26: error: linux/config.h: No such file or directory
> /home/mythtv/imon/imon_vfd.c:43:35: error: linux/devfs_fs_kernel.h: No such file or directory
> /home/mythtv/imon/imon_vfd.c:147: error: unknown field ‘owner’ specified in initializer
> /home/mythtv/imon/imon_vfd.c:147: warning: initialization from incompatible pointer type
> /home/mythtv/imon/imon_vfd.c:162: error: unknown field ‘mode’ specified in initializer
> /home/mythtv/imon/imon_vfd.c: In function ‘send_packet’:
> /home/mythtv/imon/imon_vfd.c:328: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
> /home/mythtv/imon/imon_vfd.c: In function ‘vfd_write’:
> /home/mythtv/imon/imon_vfd.c:399: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
> make[1]: *** [/home/mythtv/imon/imon_vfd.o] Error 1
> make: *** [_module_/home/mythtv/imon] Error 2
> make: Leaving directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'

You need to edit the imon_vfd.c file by hand to remove the traces of
devfs amongst other things. See
http://venky.ws/forums/viewtopic.php?t=179 and search that forum if
you are still stuck.

Do you have /usr/src/linux symlinked to your kernel source directory?

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list