compilation error for Chunk.os when using gcc-3.4.6

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install compilation error for Chunk.os when using gcc-3.4.6

Viewing 1 reply thread
  • Author
    Posts
    • #1083
      Anonymous

        Dear developers,
        I am trying to build rosetta 3.3 using gcc-3.4.6 (on debian linux). I am getting following error msg. Please suggest me a way to avoid this error.

        ##BEGIN ERROR MSG##

        g++ -o build/src/release/linux/2.6/64/x86/gcc/apps/public/backrub.o -c -isystem external/boost_1_46_1/boost/ -isystem external/boost_1_46_1/boost/ -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/local/include -I/usr/include src/apps/public/backrub.cc
        `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_mh’ referenced in section `.rodata’ of build/src/release/linux/2.6/64/x86/gcc/protocols/nonlocal/Chunk.os: defined in discarded section `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_mh’ of build/src/release/linux/2.6/64/x86/gcc/protocols/nonlocal/Chunk.os
        collect2: ld returned 1 exit status
        scons: *** [build/src/release/linux/2.6/64/x86/gcc/libprotocols.so] Error 1
        scons: building terminated because of errors.

        ##END ERROR MSG##

      • #6257
        Anonymous

          I’ve no idea what it means, other than that it appears to be a linker error. GCC 3.4.6 is pretty old; I’m not sure we’ve tested against it, so the first two things I’d try are a different GCC version and checking the integrity of your downloaded code (I can give you an md5sum if you’ll tell me if you need it for the large tarball or just the source).

        • #6262
          Anonymous

            Thanks! I tried gcc-4.3 as well as gcc4.5. Both are working fine for rosetta3.3.

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.