Skip to contentSkip to conversation

media_build compile errors

DISCUSSION Roger Mårtensson 2 participants 2 messages Apr 13, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi!

I get compile errors when trying to build media_build as of 2012-04-13.

/home/mythfrontend/media_build/v4l/ivtv-fileops.c: In function 'ivtv_v4l2_enc_poll':
/home/mythfrontend/media_build/v4l/ivtv-fileops.c:751:2: error: implicit declaration of function 'poll_requested_events' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

This is on ubuntu and kernel:
Linux 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686 i686 i386 GNU/Linux

Anyone else seeing this problem?

#1 lore raw
Quoted 15 lines · Roger Mårtensson

Hi!

I get compile errors when trying to build media_build as of 2012-04-13.

/home/mythfrontend/media_build/v4l/ivtv-fileops.c: In function 'ivtv_v4l2_enc_poll':
/home/mythfrontend/media_build/v4l/ivtv-fileops.c:751:2: error:
implicit
declaration of function 'poll_requested_events' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

This is on ubuntu and kernel:
Linux 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686

Quoted 8 lines

i686 i386 GNU/Linux

Anyone else seeing this problem?
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

poll_requested_events() likely only exists is very recent kernels.
To build with older kernels you need to either change the relevant ivtv function by hand, or wait for someone to submit a backward compatability patch for the media_build repo.

Regards,
Andy