Mailing List archive

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

[linux-dvb] Kernel 2.6.8.1 and CVS from today



Hi,

When i try to compile VDR 1.3.12 against the CVS from today i get two
fatal errors:

In file included from dvbdevice.c:24:
../DVB/linux/include/linux/dvb/video.h:105: error: Syntaxfehler before
`*'
   token
dvbdevice.c: In member function `virtual void
cDvbDevice::StillPicture(const
   uchar*, int)':
dvbdevice.c:1101: error: invalid conversion from `char*' to `char'
dvbdevice.c:1107: error: invalid conversion from `char*' to `char'
make: *** [dvbdevice.o] Fehler 1

In file included from dvbosd.c:11:
../DVB/linux/include/linux/dvb/osd.h:107: error: variable or field
`__user'
   declared void
../DVB/linux/include/linux/dvb/osd.h:107: error: Syntaxfehler before `*'
token
dvbosd.c: In member function `void cDvbOsd::Cmd(OSD_Command, int, int,
int,
   int, int, const void*)':
dvbosd.c:93: error: 'struct osd_cmd_t' has no member named 'data'
make: *** [dvbosd.o] Fehler 1

After removing __user in both headerfiles it compiles and seems to work.

Video.h:
struct video_still_picture {
        char __user *iFrame;        /* pointer to a single iframe in
memory */
        int32_t size;
};

Changed to
struct video_still_picture {
        char *iFrame;        /* pointer to a single iframe in memory */
        int32_t size;
};

Osd.h

typedef struct osd_cmd_s {
        OSD_Command cmd;
        int x0;
        int y0;
        int x1;
        int y1;
        int color;
        void __user *data;
} osd_cmd_t;

Changed to:

typedef struct osd_cmd_s {
        OSD_Command cmd;
        int x0;
        int y0;
        int x1;
        int y1;
        int color;
        void *data;
} osd_cmd_t;

Is this a known problem ??

/vdr.hgm.bg





Home | Main Index | Thread Index