Hallo,
ich versuche für vdr-plugin-live ein rpm Paket unter Fedora 17beta zu erstellen, leider scheitert es an den folgenden Fehlermeldungen.
Die aktuellen Sourcen habe ich mir mit
gezogen.
Code
In file included from /usr/include/string.h:642:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cstring:44,
from /usr/include/tnt/messageheader.h:35,
from /usr/include/tnt/httpmessage.h:33,
from /usr/include/tnt/httprequest.h:33,
from /usr/include/tnt/ecpp.h:36,
from /usr/include/tnt/mbcomponent.h:32,
from styles.cpp:6:
/usr/include/bits/string3.h:142:36: error: 'strcat' declared as an 'inline' variable
/usr/include/bits/string3.h:142:36: error: 'char* strcat' redeclared as different kind of symbol
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cstring:44:0,
from /usr/include/tnt/messageheader.h:35,
from /usr/include/tnt/httpmessage.h:33,
from /usr/include/tnt/httprequest.h:33,
from /usr/include/tnt/ecpp.h:36,
from /usr/include/tnt/mbcomponent.h:32,
from styles.cpp:6:
/usr/include/string.h:136:14: error: previous declaration of 'char* strcat(char*, const char*)'
In file included from /usr/include/string.h:642:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cstring:44,
from /usr/include/tnt/messageheader.h:35,
from /usr/include/tnt/httpmessage.h:33,
from /usr/include/tnt/httprequest.h:33,
from /usr/include/tnt/ecpp.h:36,
from /usr/include/tnt/mbcomponent.h:32,
from styles.cpp:6:
/usr/include/bits/string3.h:142:36: error: 'chap' was not declared in this scope
/usr/include/bits/string3.h:142:42: error: expected primary-expression before '__restrict'
/usr/include/bits/string3.h:142:61: error: expected primary-expression before '__const'
make[1]: *** [styles.o] Error 1
rm styles.cpp
make[1]: Leaving directory `/home/martin/rpmbuild/BUILD/vdr-plugin-live-0.2.0.99+cvs20120325/css'
make: *** [code=css] Error 2
make: *** Waiting for unfinished jobs....
ar r libjavascript.a treeview.o
ar: creating libjavascript.a
rm treeview.cpp
Alles anzeigen
hat jemand vielleicht schon eine Patch dazu, oder weiß wie man es beheben kann.