Mailing List archive

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

[linux-dvb] Help, failing to build with latest dvb kernel???



Hi, this is the first time I'm doing this, have patience if this is totally
out of scope or I'm to newbe!!

I have bought a Twinhan VisionPlus USB-T DVB box and I am now desperately
trying to get it up and working on my linux box, but with no success :(...

I fail to compile when making modules, I get:

  CC [M]  drivers/media/video/video-buf.o
drivers/media/video/video-buf.c:434: error: conflicting types for
`videobuf_queue_cancel'
include/media/video-buf.h:211: error: previous declaration of
`videobuf_queue_cancel'
drivers/media/video/video-buf.c:538: error: conflicting types for
`videobuf_reqbufs'
include/media/video-buf.h:217: error: previous declaration of
`videobuf_reqbufs'
drivers/media/video/video-buf.c:593: error: conflicting types for
`videobuf_qbuf'
include/media/video-buf.h:220: error: previous declaration of
`videobuf_qbuf'
drivers/media/video/video-buf.c:666: error: conflicting types for
`videobuf_dqbuf'
include/media/video-buf.h:222: error: previous declaration of
`videobuf_dqbuf'
drivers/media/video/video-buf.c:705: error: conflicting types for
`videobuf_streamon'
include/media/video-buf.h:223: error: previous declaration of
`videobuf_streamon'
drivers/media/video/video-buf.c:733: error: conflicting types for
`videobuf_streamoff'
include/media/video-buf.h:224: error: previous declaration of
`videobuf_streamoff'
drivers/media/video/video-buf.c:794: error: conflicting types for
`videobuf_read_one'
include/media/video-buf.h:232: error: previous declaration of
`videobuf_read_one'
drivers/media/video/video-buf.c:869: error: conflicting types for
`videobuf_read_start'
include/media/video-buf.h:226: error: previous declaration of
`videobuf_read_start'
drivers/media/video/video-buf.c:901: error: conflicting types for
`videobuf_read_stop'
include/media/video-buf.h:227: error: previous declaration of
`videobuf_read_stop'
drivers/media/video/video-buf.c:919: error: conflicting types for
`videobuf_read_stream'
include/media/video-buf.h:230: error: previous declaration of
`videobuf_read_stream'
drivers/media/video/video-buf.c:1005: error: conflicting types for
`videobuf_poll_stream'
include/media/video-buf.h:235: error: previous declaration of
`videobuf_poll_stream'
drivers/media/video/video-buf.c:1129: error: conflicting types for
`videobuf_mmap_setup'
include/media/video-buf.h:239: error: previous declaration of
`videobuf_mmap_setup'
drivers/media/video/video-buf.c:1159: error: conflicting types for
`videobuf_mmap_free'
include/media/video-buf.h:240: error: previous declaration of
`videobuf_mmap_free'
make[3]: *** [drivers/media/video/video-buf.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

What is the magic trick to make the stuff compile?, please any pointers are
very welcome!!

This is the whole story:

1. I downloaded the 2.6.8.1 kernel from www.kernel.org

2. I checked out the latest snapshot of the dvb kernel from CVS:

    cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login
    cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel

3. I downloaded firmware for the box: dvb-dibusb-5.0.0.11.fw and put it
under the hotplug folder /usr/lib/hotplug/firmware

4. I downloaded latest snapshot of video4linux from
http://dl.bytesex.org/cvs-snapshots/video4linux-20040923-135819.tar.gz

5. I copied all the files under video4linux to
/usr/src/linux-2.6.8.1/drivers/media/video

6. I linked the drivers to 2.6.8.1 kernel:

    ./makelinks /usr/src/linux-2.6.8.1

7. I configured kernel and enabled:
    - Twinhan/KWorld/Hama/Artec USB DVB-T devices
    - DiBcom 3000-MB

8. I build the kernel
    - make dep
    - make clean
    - make bzImage

9. I build the modules
    - make modules

...and I get the error above :( :(...

Is not the dvb kernel and video4linux in sync???

Anyone that can give me a hint????

I'm desperate!

Thanx,
Östen Forshed







Home | Main Index | Thread Index