Re: [ES40-developers] Compilation Errors
Status: Alpha
Brought to you by:
iamcamiel
From: Paco L. <pac...@gm...> - 2008-03-05 22:36:45
|
Hi: Problem solved :) Apt-get remove libpocoxxx (in debian systems) Get latest Poco lib from their home: http://pocoproject.org/poco/download.php?uri=http://prdownloads.sourceforge.net/poco/poco-1.3.2.tar.gz?download compile, install poco .. and.. compile es40 without problems Paco On Wed, Mar 5, 2008 at 11:10 PM, Paco Linux <pac...@gm...> wrote: > Hi: > > Seems that in debian systems the Poco library is ver 1.2: ??? > > :/usr/include/Poco$ more Thread.h > // > // Thread.h > // > // $Id: //poco/1.2/Foundation/include/Poco/Thread.h#1 $ > > > And the Poco library in the web is : POCO C++ Libraries 1.3.2 > > Paco > > > > On Wed, Mar 5, 2008 at 10:54 PM, Paco Linux <pac...@gm...> wrote: > > > I have the same problem : > > > > paco@javier:~/es40/src$ make clean > > rm -f es40 es40_idb es40_lss es40_lsm *.o *.do *.mao *.slo *.trc gui/*.o > > gui/*.mao gui/*.slo gui/*.do > > paco@javier:~/es40/src$ make > > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 -mtune=generic > > -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -I/usr/include/SDL -c AliM1543C.cpp > > -o AliM1543C.o > > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 -mtune=generic > > -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -I/usr/include/SDL -c AliM1543C_ide.cpp > > -o AliM1543C_ide.o > > AliM1543C_ide.cpp: In constructor > > 'CAliM1543C_ide::CAliM1543C_ide(CConfigurator*, CSystem*, int, int)': > > AliM1543C_ide.cpp:293: error: 'class Poco::Thread' no tiene un miembro > > llamado 'getName' > > make: *** [AliM1543C_ide.o] Error 1 > > paco@javier:~/es40/src$ gcc -v > > Usando especificaciones internas. > > Objetivo: i486-linux-gnu > > Configurado con: ../src/configure -v > > --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr > > --enable-shared --with-system-zlib --libexecdir=/usr/lib > > --without-included-gettext --enable-threads=posix --enable-nls > > --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug > > --enable-mpfr --enable-checking=release i486-linux-gnu > > Modelo de hilos: posix > > gcc versión 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) > > paco@javier:~/es40/src$ locate libPoco > > /usr/lib/libPocoXML.so.2 > > /usr/lib/libPocoFoundationd.so > > /usr/lib/libPocoXML.so > > /usr/lib/libPocoFoundationd.so.2 > > /usr/lib/libPocoNetd.so > > /usr/lib/libPocoXMLd.so > > /usr/lib/libPocoXMLd.so.2 > > /usr/lib/libPocoNetd.so.2 > > /usr/lib/libPocoNetSSLd.so > > /usr/lib/libPocoFoundation.so.2 > > /usr/lib/libPocoNetSSL.so.2 > > /usr/lib/libPocoUtil.so > > /usr/lib/libPocoNetSSL.so > > /usr/lib/libPocoFoundation.so > > /usr/lib/libPocoNet.so > > /usr/lib/libPocoUtil.so.2 > > /usr/lib/libPocoNetSSLd.so.2 > > /usr/lib/libPocoNet.so.2 > > /usr/lib/libPocoUtild.so.2 > > /usr/lib/libPocoUtild.so > > paco@javier:~/es40/src$ > > > > Paco > > > > > > > > On Wed, Mar 5, 2008 at 9:11 PM, Pepito Grillo < > > pep...@ya...> wrote: > > > > > Hi! > > > > > > I've just updated from cvs and I have these little > > > problems: > > > > > > In the new Makefile > > > CCTUNINGFLAGS = -O3 -mtune=core2 > > > Only works for that processor > > > For GCC 4.2 you can use -mtune=native > > > > > > Compilation errors: > > > nvlinux:/opt/es40_cvs/es40/src# make > > > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > > > -mtune=native -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > > > -I/usr/include/SDL -c AliM1543C.cpp -o AliM1543C.o > > > g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 > > > -mtune=native -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP > > > -I/usr/include/SDL -c AliM1543C_ide.cpp -o > > > AliM1543C_ide.o > > > In file included from AliM1543C_ide.cpp:182: > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:290: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:311: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:311: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:311: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:311: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.h:311: warning: deprecated conversion > > > from string constant to 'char*' > > > AliM1543C_ide.cpp: In constructor > > > 'CAliM1543C_ide::CAliM1543C_ide(CConfigurator*, > > > CSystem*, int, int)': > > > AliM1543C_ide.cpp:293: error: 'class Poco::Thread' has > > > no member named 'getName' > > > make: *** [AliM1543C_ide.o] Error 1 > > > nvlinux:/opt/es40_cvs/es40/src# > > > > > > > > > > > > > > > > > > ______________________________________________ > > > Enviado desde Correo Yahoo! > > > Disfruta de una bandeja de entrada más inteligente. > > > http://es.docs.yahoo.com/mail/overview/index.html > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Es40-developers mailing list > > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > > > |