From: Rett W. <re...@rt...> - 2003-03-17 15:18:08
|
Hello Again: d18c7db (d1...@ho...) wrote: > >If the suggestion below still produces "redefinition" of symbol type >messages, try putting the include "linux/videodev.h" line as the first >include (before all the others). > >A I actually had done the symbolic link from /usr/src/linux/include/linux to /usr/include/linux before I wrote my original message. That fixed some of the compile errors I was having, but introduced the ones I mentioned. Now, at the advice of d18c7db, I moved the linux/videodev.h include statement to the top and now I get 2-3 times as many redefinitions: In file included from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from input_select.c:3: /usr/include/sys/types.h:61: conflicting types for `dev_t' /usr/include/linux/types.h:14: previous declaration of `dev_t' /usr/include/sys/types.h:66: conflicting types for `gid_t' /usr/include/linux/types.h:41: previous declaration of `gid_t' /usr/include/sys/types.h:71: conflicting types for `mode_t' /usr/include/linux/types.h:16: previous declaration of `mode_t' /usr/include/sys/types.h:76: conflicting types for `nlink_t' /usr/include/linux/types.h:17: previous declaration of `nlink_t' /usr/include/sys/types.h:81: conflicting types for `uid_t' /usr/include/linux/types.h:40: previous declaration of `uid_t' In file included from /usr/include/sys/select.h:44, from /usr/include/sys/types.h:215, from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from input_select.c:3: /usr/include/time.h:117: redefinition of `struct timespec' In file included from /usr/include/sys/select.h:46, from /usr/include/sys/types.h:215, from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from input_select.c:3: /usr/include/bits/time.h:68: redefinition of `struct timeval' In file included from /usr/include/sys/types.h:215, from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from input_select.c:3: /usr/include/sys/select.h:78: conflicting types for `fd_set' /usr/include/linux/types.h:13: previous declaration of `fd_set' Anyone have any other suggestions? Rett Walters >> -----Original Message----- >> From: ivt...@li... >> [mailto:ivt...@li...] On Behalf Of >> kevin thayer >> Sent: Monday, 17 March 2003 10:40 a.m. >> To: ivt...@li... >> Subject: Re: [ivtv-devel] IVTV- Success with CVS from 3-15 >> >> >> > Just a note to the developers.... great job so >> > far!!!! Its been a long wait for a >> > stable MPEG2 encoder under linux! >> >> thanks :) and yes, it has. >> >> > I am curious on the a/v >> > bitrates used by default, -- the video seems like >> > its about 8Mbit/sec based on file >> > sizes compared to capture time. Does anyone know >> > what they are? >> >> yeah it's currently set to 8mb, there will be an >> option eventually :) Part of the problem is that v4l2 >> really isn't ready for mpg so we're kind of playing it >> by ear as far as IOCTLS go. >> >> >> > bitrate and frame size (720x480, 352x240, etc) will >> > be adjustable at some point? >> >> indeed. Soon even. >> >> > Also, I have been playing with the basic ioctl >> > example post a few days ago to change >> > the input (for setting S-Video, etc) and I am unable >> > to get it to compile, after >> > getting the appropriate header files in place >> >> You'll need to fix your include dirs on redhat 8.0. >> /usr/include/linux has a very old version of the v4l2 stuff, >> the best way to go is to symlink /usr/include/linux to >> /usr/src/linux/include/linux >> >> like so: >> root# mv /usr/include/linux /usr/include/linux.old >> root# ln -s /usr/src/linux/include/linux >> /usr/include/linux >> >> -tmk >> >> >> >> >> __________________________________________________ >> Do you Yahoo!? >> Yahoo! Web Hosting - establish your business online >> http://webhosting.yahoo.com >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by:Crypto Challenge is now open! >> Get cracking and register here for some mind boggling fun and >> the chance of winning an Apple iPod: >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >> >> _______________________________________________ >> ivtv-devel mailing list >> ivt...@li... >> https://lists.sourceforge.net/lists/listinfo/ivtv-devel >> > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! >Get cracking and register here for some mind boggling fun and >the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >ivtv-devel mailing list >ivt...@li... >https://lists.sourceforge.net/lists/listinfo/ivtv-devel > |