Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Compile Error with AutoPID patch



Hi,

On Friday 18 April 2003 00:20, Stephan Martin wrote:
> Hi,
>
> I have a problem compiling vdr-2.1.27 with vdr-1.1.27-autopid-1.diff
> from http://www.cs.uni-magdeburg.de/~aschultz/dvd/

Please do not use this version of the patch. It has lots of open ends and will 
probably cause lots of problems.

> I'm using SuSE Linux 7.3
>
> g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_
> -D_GNU_SOURCE -I../DVB/include device.c
> In file included from /usr/include/g++/stl_tree.h:56,
>                  from /usr/include/g++/set:31,
>                  from channels.h:14,
>                  from device.c:15:
> /usr/include/g++/stl_algobase.h:76: redefinition of `template <class
> _Tp> void swap(_Tp &, _Tp &)'
> tools.h:52: `template <class T> void swap(T &, T &)' previously declared
> here
> /usr/include/g++/stl_algobase.h:76: redefinition of `void swap(_Tp &,
> _Tp &)'
> tools.h:52: `void swap(T &, T &)' previously defined here
> make: *** [device.o] Error 1

You are using an older g++ version, 2.95.x maybe. Newer g++ versions also 
include an updated version of the STL which defines everything in the std:: 
namespace thereby avoiding those conflicts.

Andreas


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index