Menu

Error compiling CVS code

2008-02-05
2013-04-03
  • Pepito Grillo

    Pepito Grillo - 2008-02-05

    Hello
    When I try to build es40 in Debian, I get this error:

    ruben@nvlinux:/opt/es40_cvs/es40/src$ make
    g++ -I. -I.. -g -DHIDE_COUNTER  -O3 -mtune=generic  -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -DHAVE_NEW_IDE -I/usr/include/SDL -c AliM1543C.cpp  -o AliM1543C.o
    AliM1543C.cpp: In constructor 'CAliM1543C::CAliM1543C(CConfigurator*, CSystem*, int, int)':
    AliM1543C.cpp:352: warning: deprecated conversion from string constant to 'char*'
    AliM1543C.cpp:379: warning: deprecated conversion from string constant to 'char*'
    AliM1543C.cpp:419: warning: deprecated conversion from string constant to 'char*'
    g++ -I. -I.. -g -DHIDE_COUNTER  -O3 -mtune=generic  -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -DHAVE_NEW_IDE -I/usr/include/SDL -c AliM1543C_ide.cpp  -o AliM1543C_ide.o
    g++ -I. -I.. -g -DHIDE_COUNTER  -O3 -mtune=generic  -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -DHAVE_NEW_IDE -I/usr/include/SDL -c AliM1543C_usb.cpp  -o AliM1543C_usb.o
    g++ -I. -I.. -g -DHIDE_COUNTER  -O3 -mtune=generic  -DHAVE_SDL -DHAVE_X11 -DHAVE_PCAP -DHAVE_NEW_IDE -I/usr/include/SDL -c AlphaCPU.cpp  -o AlphaCPU.o
    AlphaCPU.cpp:809: error: integer constant is too large for 'long' type
    AlphaCPU.cpp: In constructor 'CAlphaCPU::CAlphaCPU(CConfigurator*, CSystem*)':
    AlphaCPU.cpp:320: warning: deprecated conversion from string constant to 'char*'
    AlphaCPU.cpp: In member function 'void CAlphaCPU::restore_icache()':
    AlphaCPU.cpp:1666: warning: deprecated conversion from string constant to 'char*'
    make: *** [AlphaCPU.o] Error 1
    ruben@nvlinux:/opt/es40_cvs/es40/src$            

    Any ideas?

    Thanks in advace!

     
    • Camiel Vanderhoeven

      Hello Pepito,

      There was a 64-bit constant value in cpu_fp_operate.h that did not have the X64(...) construction ("ui64" suffix on windows, "ll" suffix on most others).

      I fixed this a minute ago, so if you sync with CVS, it should be ok.

      Please consider joining the es40 developers mailing list (es40-developers@lists.sourceforge.net), it would be the perfect place for this kind of question.

      To join, send an e-mail message to es40-developers-request@lists.sourceforge.net with "subscribe" in the body of your e-mail.

      Camiel.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.