Le mardi 24 octobre 2006 à 08:52 +0200, Mario Joußen a écrit : > Julien Valroff wrote: > > Le lundi 23 octobre 2006 à 18:54 +0200, Mario Joußen a écrit : > >> Julien Valroff wrote: > > [...] > >>> I build the module with make-kpkg on an unstable machine (kernel-package > >>> is up-to-date - 10.062, gcc is 4.1.1-13). > >> Which version of the linux-kernel-headers package do you have installed? > >> I used version 2.6.18-3 here. The missing defines VIDEO_PALETTE_.* are > >> defined in /usr/include/linux/videodev.h. > > > > mmh I have tried to compile the module against 2.6.17.11 (which is my > > current configuration), but I get the same errors. > > I doubt your package is in cause. > > > > I have tried downgrading linux-kernel-headers to 2.6.18-3 but it does > > not change anything. > > > > Something must thus be wrong on my system but I cannot figure out what! > > Did you check that your /usr/include/linux/videodev.h contains the > VIDEO_PALETTE_.* defines? The ov511_core.c includes the ov511.h which > includes linux/videodev.h. There is no #ifdef involved. So if the > defines are in videodev.h, the compiler should find them.
The defines are there, the file is well included (I cannot see any error about a missing include). > Could you please send your answer to <[EMAIL PROTECTED]> also? Of course, I had totally forgotten! Cheers, Julien