[GEM-dev] compile error
guenter geiger
geiger at xdv.org
Wed Nov 19 16:52:58 CET 2003
On Wed, 19 Nov 2003 rat at telecoma.net wrote:
> hi,
>
> i tried to compile gem-cvs with gcc-3.2 from today 15h (vienna,berlin,
> oslo etc :-),
> is it me or a bug in cvs ?
Its a bug in debians glibc-kernel-headers ...
( a long story ...)
as a quick fix, exchange linux/time.h with time.h in
/usr/include/linux/videodev2.h
G.
>
> cheers e
>
> following errors:
>
> -------------------------------
>
> In file included from /usr/include/linux/videodev2.h:16,
> from /usr/include/linux/videodev.h:8,
> from pix_videoLinux.h:32,
> from pix_videoLinux.cpp:46:
> /usr/include/linux/time.h:9: error: redefinition of `struct timespec'
> /usr/include/time.h:119: error: previous definition of `struct timespec'
> /usr/include/linux/time.h:15: error: redefinition of `struct timeval'
> /usr/include/bits/time.h:70: error: previous definition of `struct
> timeval'
> /usr/include/linux/time.h:20: error: redefinition of `struct timezone'
> /usr/include/sys/time.h:57: error: previous definition of `struct
> timezone'
> /usr/include/linux/time.h:359: error: redefinition of `struct itimerval'
> /usr/include/sys/time.h:108: error: previous definition of `struct
> itimerval'
> In file included from /usr/include/pthread.h:21,
> from pix_videoLinux.h:34,
> from pix_videoLinux.cpp:46:
> /usr/include/time.h:160: error: redefinition of `struct itimerspec'
> /usr/include/linux/time.h:354: error: previous definition of `struct
> itimerspec
> '
> In file included from /usr/include/linux/videodev2.h:16,
> from /usr/include/linux/videodev.h:8,
> from ../Pixes/videoV4L.h:34,
> from pix_videoNEW.cpp:18:
> /usr/include/linux/time.h:9: error: redefinition of `struct timespec'
> /usr/include/time.h:119: error: previous definition of `struct timespec'
> /usr/include/linux/time.h:15: error: redefinition of `struct timeval'
> /usr/include/bits/time.h:70: error: previous definition of `struct
> timeval'
> /usr/include/linux/time.h:20: error: redefinition of `struct timezone'
> /usr/include/sys/time.h:57: error: previous definition of `struct
> timezone'
> /usr/include/linux/time.h:359: error: redefinition of `struct itimerval'
> /usr/include/sys/time.h:108: error: previous definition of `struct
> itimerval'
> c++ -c -g -fPIC -mmmx -DHAVE_MMX -I../ -I/usr/include/avifile-0.7
> -I/usr/include/freetype2/ -fno-builtin -O3 -funroll-loops -ffast-math
> pix_videoNT.cpp -o pix_vid
> eoNT.o
> In file included from /usr/include/pthread.h:21,
> from ../Pixes/videoV4L.h:37,
> from pix_videoNEW.cpp:18:
> /usr/include/time.h:160: error: redefinition of `struct itimerspec'
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/gem-dev
>
More information about the GEM-dev
mailing list