[GEM-dev] compile error

rat at telecoma.net rat at telecoma.net
Wed Nov 19 14:40:53 CET 2003


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 ?

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'






More information about the GEM-dev mailing list