[Kwintv] Re: [Kwintv] kdenonbeta/kwintv3/qtvision/plugins/video/v4l/kv4lsetup

James Greenhalgh kwintv@mail.kde.org
26 Nov 2002 05:13:19 -0500


George,

I just checked out the latest CVS and I am still receiving the same problems 
with compilation as Chris Hammond reported.  I found by moving the 
#include "v4limage.h" in kvideio/v4limage.cpp before any other includes, 
the compilation succeeded.  I don't know what help that may give you as 
I am not a cpp person at all, but compilation succeeded and as far as I can see,
things are working.

I've included the failure I was receiving as well.

Hope that helps,
James

make[3]: Entering directory `/home/orthwein/CVS/kdenonbeta/kwintv3/kvideoio'
source='v4limage.cpp' object='v4limage.lo' libtool=yes \
depfile='.deps/v4limage.Plo' tmpdepfile='.deps/v4limage.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++-3.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -c -o v4limage.lo `test -f v4limage.cpp || echo './'`v4limage.cpp
In file included from /usr/include/stdlib.h:414,
                 from /usr/include/c++/3.2/cstdlib:52,
                 from /usr/include/c++/3.2/bits/stl_algobase.h:67,
                 from /usr/include/c++/3.2/memory:54,
                 from /usr/include/c++/3.2/string:48,
                 from /usr/include/kde/qstring.h:47,
                 from /usr/include/kde/qwindowdefs.h:44,
                 from /usr/include/kde/qpaintdevice.h:42,
                 from /usr/include/kde/qpixmap.h:42,
                 from /usr/include/kde/qimage.h:42,
                 from v4limage.h:29,
                 from v4limage.cpp:36:
/usr/include/sys/types.h:61: 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:66: 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:71: 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:76: 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:81: 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:215,
                 from /usr/include/stdlib.h:414,
                 from /usr/include/c++/3.2/cstdlib:52,
                 from /usr/include/c++/3.2/bits/stl_algobase.h:67,
                 from /usr/include/c++/3.2/memory:54,
                 from /usr/include/c++/3.2/string:48,
                 from /usr/include/kde/qstring.h:47,
                 from /usr/include/kde/qwindowdefs.h:44,
                 from /usr/include/kde/qpaintdevice.h:42,
                 from /usr/include/kde/qpixmap.h:42,
                 from /usr/include/kde/qimage.h:42,
                 from v4limage.h:29,
                 from v4limage.cpp:36:
/usr/include/sys/select.h:78: 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[3]: *** [v4limage.lo] Error 1
make[3]: Leaving directory `/home/orthwein/CVS/kdenonbeta/kwintv3/kvideoio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/orthwein/CVS/kdenonbeta/kwintv3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/orthwein/CVS/kdenonbeta'
make: *** [all] Error 2


On Tue, 2002-11-26 at 04:28, George Staikos wrote:
> CVS commit by staikos: 
> 
> update v4l2 header and make some possible compile fixes.
> 
> How does this help?
> Which errors exist now?
> 
> CCMAIL: kwintv@mail.kde.org
> 
> 
>   M +27 -6     kv4lsetup.c   1.5
>   M +2 -3      videodev2.h   1.2
> 
> _______________________________________________
> kwintv mailing list
> kwintv@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwintv
-- 
James Greenhalgh <jgreenhalgh@opendoorsoftware.com>
Open Door Software Inc.