[Kwintv] Compile Error for current CVS

John Campbell kwintv@mail.kde.org
Sun, 24 Nov 2002 19:09:46 -0800


On Sunday 24 November 2002 07:11 pm, Chris Hammond wrote:
> I may have missed it but what was the fix for this?
> /usr/include/linux/types.h:20: previous declaration as `typedef
> __kernel_uid_t uid_t'
> In file included from /usr/include/sys/types.h:215,
>                  from /usr/include/stdlib.h:390,
>                  from /usr/include/g++-3/stl_algobase.h:50,
>                  from /usr/include/g++-3/list:30,
>                  from /usr/lib/qt3-gcc2.96/include/qvaluelist.h:49,
>                  from /usr/lib/qt3-gcc2.96/include/qstringlist.h:42,
>                  from /usr/lib/qt3-gcc2.96/include/qimage.h:44,
>                  from v4limage.h:29,
>                  from v4limage.cpp:36:
> /usr/include/sys/select.h:74: conflicting types for `typedef struct
> fd_set fd_set'
> /usr/include/linux/types.h:9: previous declaration as `typedef struct
> __kernel_fd_set fd_set'
> make[1]: *** [v4limage.lo] Error 1
> make[1]: Leaving directory
> `/root/installed/cvs/qtvision/kdenonbeta/kwintv3/kvideoio'
> make: *** [all-recursive] Error 1

I don't know what the real fix is, you'll have to ask George Staikos, it'=
s his=20
code.  Just move the #include <v4limage.h> down so it sits somewhere belo=
w=20
the #include <limits.h>.  This causes the definitions from <sys/types.h> =
to=20
take precedence over those from <linux/types.h>.