Re: new_build on ubuntu (dvbdev.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-11-14 at 09:08 +1100, Vincent McIntyre wrote:
> Hi,
> I'm trying to build on 2.6.32 (ubuntu lucid i386).
> 
> I followed the instructions for building from git[1]

Shouldn't you be building from:

	http://git.linuxtv.org/mchehab/new_build.git

for backward compat builds? (I'm not sure myself.)

> but I get an error I don't understand.
> 
> make -C /lib/modules/2.6.32-25-3dbc39-generic/build
> SUBDIRS=/home/me/git/clones/linuxtv.org/new_build/v4l  modules
> make[3]: Entering directory `/usr/src/linux-headers-2.6.32-25-3dbc39-generic'
>   CC [M]  /home/me/git/clones/linuxtv.org/new_build/v4l/tuner-xc2028.o
>   CC [M]  /home/me/git/clones/linuxtv.org/new_build/v4l/tuner-simple.o
>   CC [M]  /home/me/git/clones/linuxtv.org/new_build/v4l/tuner-types.o
>   CC [M]  /home/me/git/clones/linuxtv.org/new_build/v4l/mt20xx.o
> ...all ok so far...
>   CC [M]  /home/me/git/clones/linuxtv.org/new_build/v4l/flexcop-dma.o
> /home/me/git/clones/linuxtv.org/new_build/v4l/dvbdev.c:108: error:
> 'noop_llseek' undeclared here (not in a function)

noop_llseek() is a newer kernl function that provided a trivial llseek()
implmenetation for drivers that don't support llseek() but still want to
provide a successful return code:

http://lkml.org/lkml/2010/4/9/193
http://lkml.org/lkml/2010/4/9/184


> Is it that an additional backport patch may be needed here?

Yup.  It looks like you need something.  You'll need a patch to
implement the trivial noop_llseek() function available in the links
above.

> The kernel I am running here is Ubuntu 2.6.32-25.43-generic (2.6.32.21+drm33.7)
> with one tiny patch, reverting a bad change to drivers/usb/serial/ftdi_sio.c.
> 
> Any advice appreciated.

Regards,
Andy

> [1] http://git.linuxtv.org/media_tree.git
> --


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux