lcars build error

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

lcars build error

Beitrag von dietmarw »

seit einiger zeit bricht das compilen von lcars mit diesem fehler ab:
cd /home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars && ./autogen.sh && CC=powerpc-tuxbox-linux-gnu-gcc CXX=powerpc-tuxbox-linux-gnu-g++ CFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" CXXFLAGS="-Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2" ./configure --build=i686-suse-linux --host=powerpc-tuxbox-linux-gnu --prefix=/home/tux/20040616_0600_yadd/dbox2/cdkroot --with-driver=/home/tux/20040616_0600_yadd/tuxbox-cvs/driver --with-dvbincludes=/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/dvb/include --with-target=cdk --enable-maintainer-mode
Generating configuration files for lcars, please wait....
aclocal
autoconf
autoheader
automake --add-missing
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
Makefile.am: installing `./COPYING'
Makefile.am: installing `./INSTALL'
src/Makefile.am: installing `./depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-tuxbox-linux-gnu-strip... powerpc-tuxbox-linux-gnu-strip
checking for style of include used by make... GNU
checking for powerpc-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of powerpc-tuxbox-linux-gnu-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking target... cdk
checking build system type... i686-suse-linux
checking host system type... powerpc-tuxbox-linux-gnu
checking for powerpc-tuxbox-linux-gnu-g++... powerpc-tuxbox-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-tuxbox-linux-gnu-g++ accepts -g... yes
checking dependency style of powerpc-tuxbox-linux-gnu-g++... gcc3
checking how to run the C preprocessor... powerpc-tuxbox-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/dvb/version.h usability... yes
checking linux/dvb/version.h presence... yes
checking for linux/dvb/version.h... yes
configure: found dvb version 3
checking for curl-config... /home/tux/20040616_0600_yadd/dbox2/cdk/bin/curl-config
checking for freetype-config... /home/tux/20040616_0600_yadd/dbox2/cdk/bin/freetype-config
checking for pkg-config... /usr/bin/pkg-config
checking for package tuxbox-plugins... yes
checking for package tuxbox... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make -C /home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars all install
make[1]: Entering directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars'
make all-recursive
make[2]: Entering directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars'
Making all in src
make[3]: Entering directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars/src'
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/freetype2 -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/tuxbox -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/dvb/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/freetype2 -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/tuxbox -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/dvb/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT timer.o -MD -MP -MF ".deps/timer.Tpo" \
-c -o timer.o `test -f 'timer.cpp' || echo './'`timer.cpp; \
then mv -f ".deps/timer.Tpo" ".deps/timer.Po"; \
else rm -f ".deps/timer.Tpo"; exit 1; \
fi
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/freetype2 -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/tuxbox -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/dvb/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT pig.o -MD -MP -MF ".deps/pig.Tpo" \
-c -o pig.o `test -f 'pig.cpp' || echo './'`pig.cpp; \
then mv -f ".deps/pig.Tpo" ".deps/pig.Po"; \
else rm -f ".deps/pig.Tpo"; exit 1; \
fi
if powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/freetype2 -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include/tuxbox -I/home/tux/20040616_0600_yadd/dbox2/cdkroot/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/dvb/include -I/home/tux/20040616_0600_yadd/tuxbox-cvs/driver/include -Wall -mcpu=823 -mmultiple -mstring -meabi -pipe -O2 -g3 -gdwarf-2 -MT plugins.o -MD -MP -MF ".deps/plugins.Tpo" \
-c -o plugins.o `test -f 'plugins.cpp' || echo './'`plugins.cpp; \
then mv -f ".deps/plugins.Tpo" ".deps/plugins.Po"; \
else rm -f ".deps/plugins.Tpo"; exit 1; \
fi
plugins.cpp: In member function `PluginParam*
plugins::makeParam(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, PluginParam*)':
plugins.cpp:254: error: invalid conversion from `const char*' to `char*'
make[3]: *** [plugins.o] Error 1
make[3]: Leaving directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tux/20040616_0600_yadd/tuxbox-cvs/apps/tuxbox/lcars'
make: *** [.deps/lcars] Error 2
FEHLER: make all abgebrochen!!
rasc
Senior Member
Beiträge: 5071
Registriert: Dienstag 18. September 2001, 00:00

Beitrag von rasc »

make -i lcars

... damit erstmal drueber weg.
Vielleicht fixt TheDoc das ja noch...
SnowHead
Einsteiger
Einsteiger
Beiträge: 105
Registriert: Sonntag 6. Juni 2004, 16:04

Beitrag von SnowHead »

@dietmarw

Ich konnte das Problem mit der Lösung aus diesem Thread fixen.
Unchained
Einsteiger
Einsteiger
Beiträge: 175
Registriert: Freitag 14. Februar 2003, 16:50

Beitrag von Unchained »

Index: enigma_plugins.cpp
===================================================================
RCS file: /cvs/tuxbox/apps/tuxbox/enigma/src/enigma_plugins.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- enigma_plugins.cpp 25 May 2004 20:04:19 -0000 1.44
+++ enigma_plugins.cpp 11 Jun 2004 15:17:46 -0000 1.45
@@ -54,15 +54,14 @@

PluginParam *first=0, *tmp=0;

-void MakeParam(char* id, int val)
+void MakeParam(const char * const id, int val)
{
PluginParam* p = new PluginParam;

Oder diese Änderung rückgängig machen, dann löppts auch.
Dreambox 7020S - 160GB Samsung HDD
Dreambox 7020S - NFS
Dbox 2 Nokia Sat - Enigma
mash4077
Tuxboxer
Tuxboxer
Beiträge: 4654
Registriert: Samstag 27. April 2002, 13:19

Beitrag von mash4077 »

Hi,

http://cvs.tuxbox-cvs.sourceforge.net/l ... 00363.html

thegoodguy hat's wohl gefixed...

Gruß
mash