linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot compile media_build from git sources
@ 2012-03-26 16:43 Bogus Zaba
  0 siblings, 0 replies; 2+ messages in thread
From: Bogus Zaba @ 2012-03-26 16:43 UTC (permalink / raw)
  To: linux-media

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re:  Cannot compile media_build from git sources
@ 2012-03-26 20:09 Joe Henley
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Henley @ 2012-03-26 20:09 UTC (permalink / raw)
  To: linux-media

Bogus,

This is the same problem I wrote about on March 21, 2012.  I have 
received no reply so far.

You can try to work around the problem as I did:
-- This assumes you don't need radio-rtrack2.
-- Look at the build command.  Near the end are two "make" commands. 
Comment out the last one.
-- Run the resulting "build".  Then go into ../media_build/v4l/.config 
Set the "radio-rtrack2" to "n" (from "m").
-- Then go back to the directory which has the "build" program and just 
run "make" ...... if all runs OK, then run "make install."

Good luck!

Joe Henley

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-26 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 20:09 Cannot compile media_build from git sources Joe Henley
  -- strict thread matches above, loose matches on Subject: below --
2012-03-26 16:43 Bogus Zaba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).