Mailing List archive

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

[vdr] Re: ANNOUNCE: vdr-osdteletext-0.2



Am Montag, 24. Februar 2003 20:51 schrieb Matthias Raus:
> Zierath Bernd wrote:
> >Hi,
> >
> >please remove the replace spaces with tabs in the makefile line 68 and 69
There is an updated version on the server by now which hopefully works.
I had already corrected that and then took the old version in the package ;-) 
Last minute changes are not good, no good.
> >
> >CU
> >Bernd Zierath
>
> OK, did it, but it still doesn't compile; however, I am using an
> AIO-patched version of VDR, certainly this makes compilation fail..
>
> make[1]: Entering directory
> `/usr/local/src/VDR/PLUGINS/src/osdteletext-0.2' g++ -O2 -g -Wall
> -Woverloaded-virtual -c
> -DPLUGIN_NAME_I18N='"osdteletext"' -I../../../include
> -I../../../../DVB/include menu.c
> menu.c:84: warning: `/*' within comment
> In file included from /usr/include/g++/stl_tree.h:56,
>                  from /usr/include/g++/map:31,
>                  from menu.c:14:
> /usr/include/g++/stl_algobase.h:76: redefinition of `template <class
> _Tp> void swap(_Tp &, _Tp &)'
> ../../../include/vdr/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 &)'
> ../../../include/vdr/tools.h:52: `void swap(T &, T &)' previously
> defined here

The problem is triggered by the lines 48-53 in vdr/tools.h. There "swap" is 
redefined, in an ifndef __STL_CONFIG_H, the comment says "in case some plugin 
needs to use the STL". Yes I do use the STL. Obviously on your system this 
define was not defined.
Does anyone know what this is about?
Perhaps a problem with gcc or its includes?

> menu.c: In method `void TeletextBrowser::ShowAskForChannel()':
> menu.c:410: implicit declaration of function `int asprintf(...)'
> make[1]: *** [menu.o] Error 1
> make[1]: Leaving directory `/usr/local/src/VDR/PLUGINS/src/osdteletext-0.2'
asprintf is declared in stdio.h and used throughout VDR's core. See above.



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



Home | Main Index | Thread Index