ubuntuusers.de

Ausgabe von ./build

Datum:
13. Juli 2012 21:31
Code:
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
andreas@rechner:~/media_build$ ./build 
Checking if the needed tools for Ubuntu 11.10 are available
Needed package dependencies are met.

************************************************************
* 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.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* http://www.linuxtv.org/downloads/firmware/               *
* Please abort if you don't agree with the license         *
************************************************************

****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.
make: Gehe in Verzeichnis '/home/andreas/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
linux-media.tar.bz2.md5.tmp: Keine Berechtigung
make: *** [download] Fehler 1
make: Verlasse Verzeichnis '/home/andreas/media_build/linux'
Download failed at ./build line 433.
andreas@rechner:~/media_build$ sudo ./build
Checking if the needed tools for Ubuntu 11.10 are available
Needed package dependencies are met.

************************************************************
* 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.                          *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures            *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License     *
* Firmware files are under the license terms found at:     *
* http://www.linuxtv.org/downloads/firmware/               *
* Please abort if you don't agree with the license         *
************************************************************

****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
 * branch            master     -> FETCH_HEAD
Already up-to-date.
make: Gehe in Verzeichnis '/home/andreas/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2012-07-13 21:12:03--  http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Auflösen des Hostnamen »linuxtv.org«... 130.149.80.248
Verbindungsaufbau zu linuxtv.org|130.149.80.248|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 93 [application/x-bzip2]
In »»linux-media.tar.bz2.md5.tmp«« speichern.

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

2012-07-13 21:12:09 (2,67 MB/s) - »»linux-media.tar.bz2.md5.tmp«« gespeichert [93/93]

make: Verlasse Verzeichnis '/home/andreas/media_build/linux'
make: Gehe in Verzeichnis '/home/andreas/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Verlasse Verzeichnis '/home/andreas/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org.                *
**********************************************************
dvb-fe-bcm3510-01.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-xc5000-1.6.114.fw
dvb-ttpci-01.fw-261a
dvb-ttpci-01.fw-261b
dvb-ttpci-01.fw-261c
dvb-ttpci-01.fw-261d
dvb-ttpci-01.fw-261f
dvb-ttpci-01.fw-2622
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/andreas/media_build/v4l allyesconfig
make[1]: Betrete Verzeichnis '/home/andreas/media_build/v4l'
make[2]: Entering directory `/home/andreas/media_build/linux'
Applying patches for kernel 3.0.0-23-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_export_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_pm_qos.patch
patch -s -f -N -p1 -i ../backports/no_atomic_include.patch
patch -s -f -N -p1 -i ../backports/v4l2-compat-timespec.patch
Patched drivers/media/dvb/dvb-core/dvbdev.c
Patched drivers/media/video/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory `/home/andreas/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.0.0-23-generic/build /lib/modules/3.0.0-23-generic/build 1
Preparing to compile for kernel version 3.0.0

***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.
SOC_CAMERA: Requires at least kernel 3.2.0
SOC_CAMERA_MT9M001: Requires at least kernel 3.2.0
SOC_CAMERA_MT9M111: Requires at least kernel 3.2.0
SOC_CAMERA_MT9T031: Requires at least kernel 3.2.0
SOC_CAMERA_MT9V022: Requires at least kernel 3.2.0
SOC_CAMERA_TW9910: Requires at least kernel 3.2.0
SOC_CAMERA_PLATFORM: Requires at least kernel 3.2.0
SOC_CAMERA_OV772X: Requires at least kernel 3.2.0
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Verlasse Verzeichnis '/home/andreas/media_build/v4l'
make -C /home/andreas/media_build/v4l 
make[1]: Betrete Verzeichnis '/home/andreas/media_build/v4l'
./scripts/make_myconfig.pl
make[1]: Verlasse Verzeichnis '/home/andreas/media_build/v4l'
make[1]: Betrete Verzeichnis '/home/andreas/media_build/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.0.0-23-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory `/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/andreas/media_build/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/3.0.0-23-generic/build
make -C ../linux apply_patches
make[2]: Entering directory `/home/andreas/media_build/linux'
Patches for 3.0.0-23-generic already applied.
make[2]: Leaving directory `/home/andreas/media_build/linux'
make -C /lib/modules/3.0.0-23-generic/build SUBDIRS=/home/andreas/media_build/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-3.0.0-23-generic'
  CC [M]  /home/andreas/media_build/v4l/altera-lpt.o
  CC [M]  /home/andreas/media_build/v4l/altera-jtag.o
  CC [M]  /home/andreas/media_build/v4l/altera-comp.o
  CC [M]  /home/andreas/media_build/v4l/altera.o
  CC [M]  /home/andreas/media_build/v4l/au0828-core.o
In file included from /home/andreas/media_build/v4l/au0828-core.c:24:0:
/home/andreas/media_build/v4l/../linux/include/linux/videodev2.h:67:31: fatal error: linux/v4l2-common.h: No such file or directory
compilation terminated.
make[3]: *** [/home/andreas/media_build/v4l/au0828-core.o] Fehler 1
make[2]: *** [_module_/home/andreas/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.0.0-23-generic'
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/home/andreas/media_build/v4l'
make: *** [all] Fehler 2
build failed at ./build line 452.
andreas@rechner: