Mailing List archive

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

[linux-dvb] Re: problems :)



Hello ;-)
On Thu, Mar 08, 2001 at 07:17:10PM +0100, Klaus Schmidinger wrote:

> You are not getting the 'videodev.h' from the driver.
> It needs to contain the line
> 
> #define VID_PLAY_CLEAR_BUFFER           15
> 
> I believe there's also a videodev.h in the kernel sources,
> maybe somehow you are getting that one.

Great I said to myself as I see your post, I should only change the
videodev.h in my linux tree and voila...
That don't change anything at all, it seems that the file don't got read
at all... So I added the include in dvbapi.h:
#include "/usr/src/DVB/driver/videodev.h"

With the following result:
kg++ -g -O2 -Wall -m486 -c -DREMOTE_KBD -I../DVB/driver config.c
kg++ -g -O2 -Wall -m486 -c -DREMOTE_KBD -I../DVB/driver dvbapi.c
In file included from /usr/include/stdio.h:40,
                 from /usr/include/ncurses.h:76,
		 from dvbapi.h:20,
		 from dvbapi.c:10:
/usr/include/bits/types.h:104: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of
the previous definition
/usr/include/bits/types.h:106: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of
the previous definition
In file included from /usr/include/netinet/in.h:26,
                 from ../DVB/driver/dvb.h:16,
		 from dvbapi.h:23,
		 from dvbapi.c:10:
/usr/include/sys/types.h:201: warning: `__BIT_TYPES_DEFINED__' redefined
/usr/include/linux/types.h:95: warning: this is the location of the
previous definition
In file included from /usr/include/sys/select.h:31,
                 from /usr/include/sys/types.h:209,
		 from /usr/include/netinet/in.h:26,
		 from ../DVB/driver/dvb.h:16,
		 from dvbapi.h:23,
		 from dvbapi.c:10:
/usr/include/bits/select.h:35: warning: `__FD_ZERO' redefined
/usr/include/asm/posix_types.h:76: warning: this is the location of the
previous definition
/usr/include/bits/select.h:41: warning: `__FD_SET' redefined
/usr/include/asm/posix_types.h:52: warning: this is the location of the
previous definition
/usr/include/bits/select.h:46: warning: `__FD_CLR' redefined
/usr/include/asm/posix_types.h:57: warning: this is the location of the
previous definition
/usr/include/bits/select.h:55: warning: `__FD_ISSET' redefined
/usr/include/asm/posix_types.h:65: warning: this is the location of the
previous definition
In file included from /usr/include/netinet/in.h:26,
                 from ../DVB/driver/dvb.h:16,
		 from dvbapi.h:23,
		 from dvbapi.c:10:
/usr/include/sys/types.h:58: conflicting types for `typedef __dev_t
dev_t'
/usr/include/linux/types.h:14: previous declaration as `typedef
__kernel_dev_t dev_t'
/usr/include/sys/types.h:63: conflicting types for `typedef __gid_t
gid_t'
/usr/include/linux/types.h:41: previous declaration as `typedef
__kernel_gid_t gid_t'
/usr/include/sys/types.h:68: conflicting types for `typedef __mode_t
mode_t'
/usr/include/linux/types.h:16: previous declaration as `typedef
__kernel_mode_t mode_t'
/usr/include/sys/types.h:73: conflicting types for `typedef __nlink_t
nlink_t'
/usr/include/linux/types.h:17: previous declaration as `typedef
__kernel_nlink_t nlink_t'
/usr/include/sys/types.h:78: conflicting types for `typedef __uid_t
uid_t'
/usr/include/linux/types.h:40: previous declaration as `typedef
__kernel_uid_t uid_t'
In file included from /usr/include/sys/types.h:209,
                 from /usr/include/netinet/in.h:26,
		 from ../DVB/driver/dvb.h:16,
		 from dvbapi.h:23,
		 from dvbapi.c:10:
/usr/include/sys/select.h:51: conflicting types for `typedef struct
__fd_set fd_set'
/usr/include/linux/types.h:13: previous declaration as `typedef struct
__kernel_fd_set fd_set'
make: *** [dvbapi.o] Error 1
Exit 2

Could someone explain me what I do the wrong way?

Thanks you very much,

	Greg
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch


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



Home | Main Index | Thread Index