Re: [ES40-developers] Compilation Errors
Status: Alpha
Brought to you by:
iamcamiel
From: Pepito G. <pep...@ya...> - 2008-03-14 21:26:56
|
Hi, sorry to say it, but still no success.... .... g++ -I. -I.. -g -DHIDE_COUNTER -DDEBUG_BACKTRACE -O3 -mtune=generic -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -I/usr/include/SDL -c Serial.cpp -o Serial.o Serial.cpp:835:26: error: macro "FAILURE" requires 2 arguments, but only 1 given Serial.cpp:844:28: error: macro "FAILURE" requires 2 arguments, but only 1 given Serial.cpp: In member function 'void CSerial::serial_menu()': Serial.cpp:533: warning: deprecated conversion from string constant to 'char*' Serial.cpp:534: warning: deprecated conversion from string constant to 'char*' Serial.cpp:538: warning: deprecated conversion from string constant to 'char*' Serial.cpp:539: warning: deprecated conversion from string constant to 'char*' Serial.cpp:540: warning: deprecated conversion from string constant to 'char*' Serial.cpp:541: warning: deprecated conversion from string constant to 'char*' Serial.cpp:551: warning: deprecated conversion from string constant to 'char*' Serial.cpp:563: warning: deprecated conversion from string constant to 'char*' Serial.cpp:568: warning: deprecated conversion from string constant to 'char*' Serial.cpp:574: warning: deprecated conversion from string constant to 'char*' Serial.cpp:580: warning: deprecated conversion from string constant to 'char*' Serial.cpp:581: warning: deprecated conversion from string constant to 'char*' Serial.cpp:582: warning: deprecated conversion from string constant to 'char*' Serial.cpp:587: warning: deprecated conversion from string constant to 'char*' Serial.cpp:588: warning: deprecated conversion from string constant to 'char*' Serial.cpp:589: warning: deprecated conversion from string constant to 'char*' Serial.cpp:594: warning: deprecated conversion from string constant to 'char*' Serial.cpp: In member function 'void CSerial::WaitForConnection()': Serial.cpp:784: warning: deprecated conversion from string constant to 'char*' Serial.cpp:794: warning: deprecated conversion from string constant to 'char*' Serial.cpp:835: error: 'FAILURE' was not declared in this scope Serial.cpp:844: error: 'FAILURE' was not declared in this scope make: *** [Serial.o] Error 1 nvlinux:/opt/es40_cvs/es40/src# --- Camiel Vanderhoeven <iam...@gm...> escribió: > Oops. That's something that only works on windows. > Fixed that too. > > Camiel. > > On Fri, Mar 14, 2008 at 10:11 PM, Pepito Grillo > <pep...@ya...> wrote: > > Hi > > I have updated and tried again: > > > > Pepito > > > > > > nvlinux:/opt/es40_cvs/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 > > nvlinux:/opt/es40_cvs/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 > > In file included from StdAfx.h:230, > > from AliM1543C.cpp:262: > > Lock.h: In member function 'bool > > CRWMutex::tryWriteLock(long int)': > > Lock.h:461: error: 'Sleep' was not declared in > this > > scope > > Lock.h: In member function 'bool > > CRWMutex::tryReadLock(long int)': > > Lock.h:496: error: 'Sleep' was not declared in > this > > scope > > Lock.h: In member function 'void > > CRWMutex::writeLock(long int)': > > Lock.h:531: error: 'Sleep' was not declared in > this > > scope > > Lock.h: In member function 'void > > CRWMutex::readLock(long int)': > > Lock.h:563: error: 'Sleep' was not declared in > this > > scope > > > > AliM1543C.cpp: In member function 'virtual void > > CAliM1543C::init()': > > AliM1543C.cpp:404: warning: deprecated conversion > from > > string constant to 'char*' > > make: *** [AliM1543C.o] Error 1 > > > > nvlinux:/opt/es40_cvs/es40/src# > > > > > > > > --- Camiel Vanderhoeven <iam...@gm...> > > escribió: > > > > > > > > > Hello Pepito, > > > > > > I've included <typeinfo> from StdAfx.h. Could > you > > > try again? > > > > > > Camiel. > > > > > > On Fri, Mar 14, 2008 at 9:37 PM, Pepito Grillo > > > <pep...@ya...> wrote: > > > > Hi! > > > > I was trying to compile the latest cvs, > but... > > > > thanks > > > > > > > > > > > > nvlinux:/opt/es40_cvs/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 > > > > nvlinux:/opt/es40_cvs/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 > > > > AliM1543C.cpp: In member function 'virtual > void > > > > CAliM1543C::init()': > > > > AliM1543C.cpp:404: warning: deprecated > conversion > > > from > > > > string constant to 'char*' > > > > 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 > > > > In file included from AliM1543C_ide.cpp:200: > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:319: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:340: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:340: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:340: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:340: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.h:340: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.cpp: In member function > 'virtual > > > void > > > > CAliM1543C_ide::init()': > > > > AliM1543C_ide.cpp:311: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.cpp:312: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.cpp:313: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > AliM1543C_ide.cpp:314: warning: deprecated > > > conversion > > > > from string constant to 'char*' > > > > g++ -I. -I.. -g -DHIDE_COUNTER > -DDEBUG_BACKTRACE > > > -O3 > > > > -mtune=generic -DHAVE_SDL -DHAVE_X11 > -DHAVE_PCAP > > > > -I/usr/include/SDL -c AliM1543C_usb.cpp -o > > > > AliM1543C_usb.o > > > > g++ -I. -I.. -g -DHIDE_COUNTER > -DDEBUG_BACKTRACE > > > -O3 > > > > -mtune=generic -DHAVE_SDL -DHAVE_X11 > -DHAVE_PCAP > > > > -I/usr/include/SDL -c AlphaCPU.cpp -o > AlphaCPU.o > > > > In file included from AlphaCPU.cpp:329: > > > > es40_float.h: In function 'double > s2host(u64)': > > > > es40_float.h:183: warning: division by zero > in > > > '((s != > > > > 0) ? -0.0 : 0.0) / 0.' > > > > es40_float.h:185: warning: division by zero > in > > > '((s != > > > > 0) ? -1.0e+0 : 1.0e+0) / 0.' > > > > g++ -I. -I.. -g -DHIDE_COUNTER > -DDEBUG_BACKTRACE > > > -O3 > > > > -mtune=generic -DHAVE_SDL -DHAVE_X11 > -DHAVE_PCAP > > > > -I/usr/include/SDL -c AlphaCPU_ieeefloat.cpp > -o > > > > AlphaCPU_ieeefloat.o > > > > g++ -I. -I.. -g -DHIDE_COUNTER > -DDEBUG_BACKTRACE > > > -O3 > > > > -mtune=generic -DHAVE_SDL -DHAVE_X11 > -DHAVE_PCAP > > > > -I/usr/include/SDL -c AlphaCPU_vaxfloat.cpp > -o > === message truncated === ______________________________________________ Enviado desde Correo Yahoo! El buzón de correo sin límite de almacenamiento. http://es.docs.yahoo.com/mail/overview/index.html |