<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It may be beneficial to post the exact errors you&#39;re seeing.<br>
<br>
Did the download/untar parts work correctly?<br>
<font color="#888888"><br>
Eric<br>
</font><div><div></div><div>_______________________________________________<br></div></div></blockquote></div><br><br>Well I installed build-essential and moved the file onto / instead of a usb drive I was using.<br>
<br>This got it to compile but now im getting this:<br><br>mitchell@mythtfe:~/media_build$ ./build.sh <br>***********************************************************<br>* This script will download the latest tarball and build it<br>

* Assuming that your kernel is compatible with the latest  <br>* drivers. If not, you&#39;ll need to add some extra backports,<br>* ./backports/&lt;kernel&gt; directory.                          <br>***********************************************************<br>

make -C linux/ download<br>make: Entering directory `/home/mitchell/media_build/linux&#39;<br>wget <a href="http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5" target="_blank">http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5</a> -O linux-media.tar.bz2.md5.tmp<br>

--2010-12-11 10:24:53--  <a href="http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5" target="_blank">http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5</a><br>Resolving linuxtv.org... 130.149.80.248<br>

Connecting to <a href="http://linuxtv.org" target="_blank">linuxtv.org</a>|130.149.80.248|:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 93 [application/x-bzip2]<br>Saving to: `linux-media.tar.bz2.md5.tmp&#39;<br>

<br>100%[==========================================================================================&gt;] 93          --.-K/s   in 0s      <br><br>2010-12-11 10:24:53 (3.42 MB/s) - `linux-media.tar.bz2.md5.tmp&#39; saved [93/93]<br>

<br>cat: linux-media.tar.bz2.md5: No such file or directory<br>--2010-12-11 10:24:53--  <a href="http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2" target="_blank">http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2</a><br>

Resolving linuxtv.org... 130.149.80.248<br>Connecting to <a href="http://linuxtv.org" target="_blank">linuxtv.org</a>|130.149.80.248|:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 3497618 (3.3M) [application/x-bzip2]<br>

Saving to: `linux-media.tar.bz2&#39;<br><br>100%[==========================================================================================&gt;] 3,497,618    665K/s   in 7.0s    <br><br>2010-12-11 10:25:00 (490 KB/s) - `linux-media.tar.bz2&#39; saved [3497618/3497618]<br>

<br>make: Leaving directory `/home/mitchell/media_build/linux&#39;<br>make -C linux/ untar<br>make: Entering directory `/home/mitchell/media_build/linux&#39;<br>tar xfj linux-media.tar.bz2<br>rm .patches_applied<br>rm: cannot remove `.patches_applied&#39;: No such file or directory<br>

make: [untar] Error 1 (ignored)<br>make: Leaving directory `/home/mitchell/media_build/linux&#39;<br>make<br>make -C /home/mitchell/media_build/v4l <br>make[1]: Entering directory `/home/mitchell/media_build/v4l&#39;<br>
No version yet, using 2.6.35-23-generic<br>
make[1]: Leaving directory `/home/mitchell/media_build/v4l&#39;<br>make[1]: Entering directory `/home/mitchell/media_build/v4l&#39;<br>scripts/<a href="http://make_makefile.pl" target="_blank">make_makefile.pl</a><br>Updating/Creating .config<br>

make[2]: Entering directory `/home/mitchell/media_build/linux&#39;<br>Applying patches for kernel v2.6.35<br>patch -s -f -N -p1 -i ../backports/v2.6.36_enable_bkl.patch<br>patch -s -f -N -p1 -i ../backports/v2.6.36_remove_noop_llseek.patch<br>

patch -s -f -N -p1 -i ../backports/v2.6.36_input_getkeycode.patch<br>patch -s -f -N -p1 -i ../backports/v2.6.35_firedtv_handle_fcp.patch<br>patch -s -f -N -p1 -i ../backports/v2.6.35_i2c_new_probed_device.patch<br>patch -s -f -N -p1 -i ../backports/v2.6.35_work_handler.patch<br>

./<a href="http://use_dir.pl" target="_blank">use_dir.pl</a> --get_patched<br>Please provide a directory to use at ./<a href="http://use_dir.pl" target="_blank">use_dir.pl</a> line 237.<br>make[2]: *** [apply_patches] Error 2<br>
make[2]: Leaving directory `/home/mitchell/media_build/linux&#39;<br>
Preparing to compile for kernel version 2.6.35<br><br>***WARNING:*** You do not have the full kernel sources installed.<br>This does not prevent you from building the v4l-dvb tree if you have the<br>kernel headers, but the full kernel source may be required in order to use<br>

make menuconfig / xconfig / qconfig.<br><br>If you are experiencing problems building the v4l-dvb tree, please try<br>building against a vanilla kernel before reporting a bug.<br><br>Vanilla kernels are available at <a href="http://kernel.org" target="_blank">http://kernel.org</a>.<br>

On most distros, this will compile a newly downloaded kernel:<br><br>cp /boot/config-`uname -r` &lt;your kernel dir&gt;/.config<br>cd &lt;your kernel dir&gt;<br>make all modules_install install<br><br>Please see your distro&#39;s web site for instructions to build a new kernel.<br>

<br>WARNING: This is the V4L/DVB backport tree, with experimental drivers<br>         backported to run on legacy kernels from the development tree at:<br>                <a href="http://git.linuxtv.org/media-tree.git" target="_blank">http://git.linuxtv.org/media-tree.git</a>.<br>

         It is generally safe to use it for testing a new driver or<br>         feature, but its usage on production environments is risky.<br>         Don&#39;t use it in production. You&#39;ve been warned.<br>VIDEO_VIA_CAMERA: Requires at least kernel 2.6.37<br>

Created default (all yes) .config file<br>./scripts/<a href="http://make_myconfig.pl" target="_blank">make_myconfig.pl</a><br>make[1]: Leaving directory `/home/mitchell/media_build/v4l&#39;<br>make[1]: Entering directory `/home/mitchell/media_build/v4l&#39;<br>

perl scripts/<a href="http://make_config_compat.pl" target="_blank">make_config_compat.pl</a> /lib/modules/2.6.35-23-generic/build ./.myconfig ./config-compat.h<br>creating symbolic links...<br>ln -sf . oss<br>make -C firmware prep<br>
make[2]: Entering directory `/home/mitchell/media_build/v4l/firmware&#39;<br>
make[2]: Leaving directory `/home/mitchell/media_build/v4l/firmware&#39;<br>make -C firmware<br>make[2]: Entering directory `/home/mitchell/media_build/v4l/firmware&#39;<br>  CC  ihex2fw<br>Generating vicam/firmware.fw<br>

Generating dabusb/firmware.fw<br>Generating dabusb/bitstream.bin<br>Generating ttusb-budget/dspbootcode.bin<br>Generating cpia2/stv0672_vp4.bin<br>Generating av7110/bootcode.bin<br>make[2]: Leaving directory `/home/mitchell/media_build/v4l/firmware&#39;<br>

Kernel build directory is /lib/modules/2.6.35-23-generic/build<br>make -C ../linux apply_patches<br>make[2]: Entering directory `/home/mitchell/media_build/linux&#39;<br>Patches for v2.6.35 already applied.<br>./<a href="http://use_dir.pl" target="_blank">use_dir.pl</a> --get_patched<br>

Please provide a directory to use at ./<a href="http://use_dir.pl" target="_blank">use_dir.pl</a> line 237.<br>make[2]: *** [apply_patches] Error 2<br>make[2]: Leaving directory `/home/mitchell/media_build/linux&#39;<br>
make[1]: *** [default] Error 2<br>
make[1]: Leaving directory `/home/mitchell/media_build/v4l&#39;<br>make: *** [all] Error 2<br>*** ERROR. Aborting ***<br><br>Where do i get the  full kernel sources?<br><br>Thanks,<br>Mitchell<br>