[mythtv-users] Another lirc issue

Mitchell Gore mitchell.gore at gmail.com
Sat Dec 11 16:36:52 UTC 2010


> It may be beneficial to post the exact errors you're seeing.
>
> Did the download/untar parts work correctly?
>
> Eric
> _______________________________________________
>


Well I installed build-essential and moved the file onto / instead of a usb
drive I was using.

This got it to compile but now im getting this:

mitchell at mythtfe:~/media_build$ ./build.sh
***********************************************************
* This script will download the latest tarball and build it
* Assuming that your kernel is compatible with the latest
* drivers. If not, you'll need to add some extra backports,
* ./backports/<kernel> directory.
***********************************************************
make -C linux/ download
make: Entering directory `/home/mitchell/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O
linux-media.tar.bz2.md5.tmp
--2010-12-11 10:24:53--
http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org... 130.149.80.248
Connecting to linuxtv.org|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93 [application/x-bzip2]
Saving to: `linux-media.tar.bz2.md5.tmp'

100%[==========================================================================================>]
93          --.-K/s   in 0s

2010-12-11 10:24:53 (3.42 MB/s) - `linux-media.tar.bz2.md5.tmp' saved
[93/93]

cat: linux-media.tar.bz2.md5: No such file or directory
--2010-12-11 10:24:53--
http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org... 130.149.80.248
Connecting to linuxtv.org|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3497618 (3.3M) [application/x-bzip2]
Saving to: `linux-media.tar.bz2'

100%[==========================================================================================>]
3,497,618    665K/s   in 7.0s

2010-12-11 10:25:00 (490 KB/s) - `linux-media.tar.bz2' saved
[3497618/3497618]

make: Leaving directory `/home/mitchell/media_build/linux'
make -C linux/ untar
make: Entering directory `/home/mitchell/media_build/linux'
tar xfj linux-media.tar.bz2
rm .patches_applied
rm: cannot remove `.patches_applied': No such file or directory
make: [untar] Error 1 (ignored)
make: Leaving directory `/home/mitchell/media_build/linux'
make
make -C /home/mitchell/media_build/v4l
make[1]: Entering directory `/home/mitchell/media_build/v4l'
No version yet, using 2.6.35-23-generic
make[1]: Leaving directory `/home/mitchell/media_build/v4l'
make[1]: Entering directory `/home/mitchell/media_build/v4l'
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory `/home/mitchell/media_build/linux'
Applying patches for kernel v2.6.35
patch -s -f -N -p1 -i ../backports/v2.6.36_enable_bkl.patch
patch -s -f -N -p1 -i ../backports/v2.6.36_remove_noop_llseek.patch
patch -s -f -N -p1 -i ../backports/v2.6.36_input_getkeycode.patch
patch -s -f -N -p1 -i ../backports/v2.6.35_firedtv_handle_fcp.patch
patch -s -f -N -p1 -i ../backports/v2.6.35_i2c_new_probed_device.patch
patch -s -f -N -p1 -i ../backports/v2.6.35_work_handler.patch
./use_dir.pl --get_patched
Please provide a directory to use at ./use_dir.pl line 237.
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory `/home/mitchell/media_build/linux'
Preparing to compile for kernel version 2.6.35

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
         backported to run on legacy kernels from the development tree at:
                http://git.linuxtv.org/media-tree.git.
         It is generally safe to use it for testing a new driver or
         feature, but its usage on production environments is risky.
         Don't use it in production. You've been warned.
VIDEO_VIA_CAMERA: Requires at least kernel 2.6.37
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/mitchell/media_build/v4l'
make[1]: Entering directory `/home/mitchell/media_build/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.35-23-generic/build
./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/mitchell/media_build/v4l/firmware'
make[2]: Leaving directory `/home/mitchell/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/mitchell/media_build/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/mitchell/media_build/v4l/firmware'
Kernel build directory is /lib/modules/2.6.35-23-generic/build
make -C ../linux apply_patches
make[2]: Entering directory `/home/mitchell/media_build/linux'
Patches for v2.6.35 already applied.
./use_dir.pl --get_patched
Please provide a directory to use at ./use_dir.pl line 237.
make[2]: *** [apply_patches] Error 2
make[2]: Leaving directory `/home/mitchell/media_build/linux'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mitchell/media_build/v4l'
make: *** [all] Error 2
*** ERROR. Aborting ***

Where do i get the full kernel sources?

Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101211/7953645b/attachment.htm>


More information about the mythtv-users mailing list