[vls-devel] Re: ps2to broken in CVS

Alexis de Lattre alexis at via.ecp.fr
Mon Dec 15 15:23:11 CET 2003


On Mon, Dec 15, 2003, Andrew de Quincey wrote :
> Hi, I have found a corruption causing bug! Yay! Only took two days :)

Great !

> Can you try it out and see if it helps?

For this, I'd need to be able to compile VLS CVS... which is not an easy
task :)

Since the arrival of the package "linux-kernel-headers" in Debian Sid, I
can't compile it any more :

if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../..   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -Wall -O2 -MT pvrreader_la-pvrreader.lo -MD -MP
-MF ".deps/pvrreader_la-pvrreader.Tpo" \
  -c -o pvrreader_la-pvrreader.lo `test -f 'pvrreader.cpp' || echo
'./'`pvrreader.cpp; \
then mv -f ".deps/pvrreader_la-pvrreader.Tpo"
".deps/pvrreader_la-pvrreader.Plo"; \
else rm -f ".deps/pvrreader_la-pvrreader.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -MT
pvrreader_la-pvrreader.lo -MD -MP -MF .deps/pvrreader_la-pvrreader.Tpo
-c pvrreader.cpp  -fPIC -DPIC -o .libs/pvrreader_la-pvrreader.o
In file included from /usr/include/linux/videodev2.h:16,
                 from /usr/include/linux/videodev.h:8,
                 from pvrreader.h:29,
                 from pvrreader.cpp:47:
/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:354: error: redefinition of `struct
itimerspec'
/usr/include/time.h:160: error: previous definition of `struct
itimerspec'
/usr/include/linux/time.h:359: error: redefinition of `struct itimerval'
/usr/include/sys/time.h:108: error: previous definition of `struct
itimerval'
make[6]: *** [pvrreader_la-pvrreader.lo] Erreur 1

We need to find a way to fix this (there is a workaround in VLC for this
bug) or add a --disable-video in the configure script !

-- 
Alexis

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list