Skip to contentSkip to conversation

Cannot compile media_build from git sources

DISCUSSION Bogus Zaba 1 participant 1 message Mar 26, 2012 Media (V4L/DVB)

lore
Share & tools
lore

Bogus Zaba

author
#0 lore raw

I am trying to compile the media_build according to the instructions on this page:
http://git.linuxtv.org/media_build.git

Instructions are very clear and all seems to work well regarding download of sources and the build command initiates compilation which runs OK until I get to the following stage:

/root/Add_SW/other/media_build/v4l/radio-rtrack2.c: In function 'rtrack2_alloc':
/root/Add_SW/other/media_build/v4l/radio-rtrack2.c:46:2: error: implicit declaration of function 'kzalloc' /root/Add_SW/other/media_build/v4l/radio-rtrack2.c:46:2: warning: return makes pointer from integer without a cast make[3]: *** [/root/Add_SW/other/media_build/v4l/radio-rtrack2.o] Error 1
make[2]: *** [_module_/root/Add_SW/other/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.37.6'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Add_SW/other/media_build/v4l'
make: *** [all] Error 2
build failed at ./build line 410.

This looks like a source code error which causes the compilation to fail.

Am I doing something obviously wrong or is there indeed a souce code error here?

Many thanks

Bogus N Zaba