LinHES Forums
http://forum.linhes.org/

R5F27 Mplayer recompile, missing v4l-dvb headers
http://forum.linhes.org/viewtopic.php?f=6&t=17112
Page 1 of 1

Author:  bobmyth [ Sat Oct 27, 2007 3:35 pm ]
Post subject:  R5F27 Mplayer recompile, missing v4l-dvb headers

I was trying to recompile mplayer and it appears I am missing some header files (i.e. broken symbolic links) in the /usr/src/linux-headers-2.6.18-chw-13/include/linux/dvb directory:
Code:
# cd /usr/src/linux-headers-2.6.18-chw-13/include/linux/dvb
# ls -l
-rw-r--r-- 1 root src 160 Feb 23  2007 Kbuild
lrwxrwxrwx 1 root src  58 Sep  9 21:36 audio.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/audio.h
lrwxrwxrwx 1 root src  55 Sep  9 21:36 ca.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/ca.h
lrwxrwxrwx 1 root src  48 Sep  9 21:36 compat.h -> /root/v4l-dvb-1387dc197077/linux/../v4l/compat.h
-rw-r--r-- 1 root src   0 Sep  8 16:52 config-compat.h
lrwxrwxrwx 1 root src  56 Sep  9 21:36 dmx.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/dmx.h
lrwxrwxrwx 1 root src  61 Sep  9 21:36 frontend.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/frontend.h
lrwxrwxrwx 1 root src  56 Sep  9 21:36 net.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/net.h
lrwxrwxrwx 1 root src  56 Sep  9 21:36 osd.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/osd.h
lrwxrwxrwx 1 root src  60 Sep  9 21:36 version.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/version.h
lrwxrwxrwx 1 root src  58 Sep  9 21:36 video.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/dvb/video.h

Anyone know where I can get these for the KnoppMyth kernel?

Author:  cyborg [ Sat Oct 27, 2007 4:01 pm ]
Post subject: 

borrowed from roo's guide.

wget ftp://knoppmyth.net/R5/linux-source-2.6 ... om_all.deb
su
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
cd /usr/src
tar xjvf linux-source-2.6.18-chw-13.tar.bz2
cd /usr/src/linux-source-2.6.18-chw-13
cp /boot/config-2.6.18-chw-13 .config
echo Compiling the kernel
make
#Wait a while for compile
make modules
# backup the modules directory just in case. You can delete it if everything goes OK.
mkdir /lib/modules/2.6.18-chw-13.backup
cp -av /lib/modules/2.6.18-chw-13 /lib/modules/2.6.18-chw-13.backup
make modules_install

# change the main source symlink to point at the sources
cd /usr/src
rm linux
ln -sf linux-source-2.6.18-chw-13 linux
# ln -s linux-headers-2.6.18-chw-13 linux # this is what the original linux link points to
ln -sf linux-source-2.6.18-chw-13 /lib/modules/2.6.18-chw-13/source

Author:  jbm2131 [ Mon Oct 29, 2007 10:55 pm ]
Post subject: 

A solution to this problem is also discussed here: http://mysettopbox.tv/phpBB2/viewtopic.php?t=16434

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/