Mailing List archive

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

[linux-dvb] Re: The fameous ver.0.8.2 does not compile either!



Hi!

On Sat, 11 Aug 2001, Emil Ungurean wrote:
> Anyway, I've recompiled my 2.4.7 kernel without the I2C and V4L support,

0.8.2 works with i2c*.o and videodev.o from the kernel. I successfully 
tried 2.2.19 (patched by i2c-2.5.5).
To obey the docs' warnings and to exclude further error sources it is
of course advisable to use the special versions from the ./driver
subdirectory for the present. But one should avoid in any case to mix up
both variants. See down...

> downloaded the ver. 0.8.2 drivers, and here's the msgs:
> [...]
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.7/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
> -include /usr/src/linux-2.4.7/include/linux/modversions.h -I
> ../ost/include   -c -o videodev.o videodev.c
> videodev.c:424: conflicting types for `video_register_device_R9728bfd6'
> /usr/src/linux-2.4.7/include/linux/videodev.h:37: previous declaration of
> `video_register_device_R9728bfd6'
> make[2]: *** [videodev.o] Error 1
> make[2]: Leaving directory `/dvb/DVB/driver'
> make[1]: *** [_mod_/dvb/DVB/driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.7'
> make: *** [here] Error 2
> [root@server driver]#

Look for those *.c files in the ./driver subdir which say

  #include <linux/videodev.h>

among their first lines (videodev.c is one of them; use grep). Replace
these lines by

  #include "videodev.h"

It means: Include the file videodev.h from the current subdirectory, not
that one from the kernel source tree.


Bye,
     Rolf




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index