From: Josh K. <jo...@sl...> - 2008-07-14 15:27:13
|
You may get a few of these compilation errors with 0.6 on never version of GCC. To fix this one, add: #include <string> Near the top of options.cpp The problem here is 0.6 relied on implicitly included headers (my mistake). Version 0.7 in svn trunk fixes this, but isn't quite finished yet. On Mon, 14 Jul 2008 16:43:39 +0200 "Wolfgang Morawetz" <wol...@gm...> wrote: > Hi, > i add the > #include <typeinfo> > to lemonmenu.cpp > now i have this error: > > checking for a BSD-compatible install... /bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking whether the compiler implements namespaces... yes > checking whether the compiler supports Standard Template Library... yes > checking for cfg_init in -lconfuse... yes > checking for main in -lstdc++... yes > checking for sdl-config... /usr/bin/sdl-config > checking for SDL - version >= 0.0.0... yes > checking for main in -lSDL_image... yes > checking for main in -lSDL_gfx... yes > checking for main in -lSDL_ttf... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > make all-recursive > make[1]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' > Making all in src > make[2]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make all-am > make[3]: Entering directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -march=i686 -mtune=generic -O2 -pipe -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.cpp; \ > then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi > options.cpp: In function 'int cb_rotate(cfg_t*, cfg_opt_t*, const char*, void*)': > options.cpp:33: error: 'strcmp' was not declared in this scope > options.cpp: In member function 'void ll::options::load(const char*)': > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > options.cpp:81: warning: deprecated conversion from string constant to 'char*' > make[3]: *** [options.o] Error 1 > make[3]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/var/abs/local/lemonlauncher/src/lemon-launcher-0.0.6' > make: *** [all] Error 2 > > Tanks a lot. > -- > Mit freundlichen Grüßen > Wolfgang Morawetz > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Lemonlauncher-general mailing list > Lem...@li... > https://lists.sourceforge.net/lists/listinfo/lemonlauncher-general -- Josh Kropf <jo...@sl...> |