Menu

Problems: Compiling on alpha osf4.0f

2002-12-02
2012-09-15
  • Shariff Rahman

    Shariff Rahman - 2002-12-02

    Hi.
    I am having problem compiling it++3.6.6 on an alpha machine. Had anyone come across to this problem before?

    ----- gcc version ---
    alpha-gs160 % gcc -v
    Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0f/2.95/specs
    gcc version 2.95 19990728 (release)

    ----- compile error ---
    alpha-gs160 % gmake
    gmake[1]: Entering directory `/auto/home/is/rahman-s/research/it++3.6.6/src'
    g++ -Wall -pipe   -fPIC -O3 -DNDEBUG -DASSERT_LEVEL=1 -I../include -I../src/base/fftw -c base/itassert.cpp -o base/itassert_pic.o
    as: Error: No source or object files specified on the command line
    base/itassert.cpp: In function `void it_assert_f(basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >, basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >, basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >, int)':
    base/itassert.cpp:56: output pipe has been closed
    gmake[1]: *** [base/itassert_pic.o] Error 1
    gmake[1]: Leaving directory `/auto/home/is/rahman-s/research/it++3.6.6/src'
    gmake: *** [suball] Error 2
    alpha-gs160 %

    Do you have any idea?

     
    • Simon Wood Jr

      Simon Wood Jr - 2003-03-26

      I am having similar problems on a Tru64 machine. I am tryint to compile it++3.7.0 using gcc 3.2. You can get past your immediate problem by removing the "-pipe" option in the g++ call. Do this by editing the "configure" file in /it++3.?.?/. In the configure file remove the "-pipe" option from the c flags. Then reconfigure with ./configure.

      Also, I have found that the Tru64 machine does not like "long_long". So, you must also remove (i.e. comment out) source code lines with "llvec" "llmat" and/or "long_long" in vec.cpp mat.cpp and anywhere else they may occur.

      -Simon

       
      • Tony Ottosson Gadd

        Hi,

        We have also found problems with long_long on other platforms, so we have removed it for next version (3.7.1) which should be out in a few weeks. If you are in a hurry, you can always check-out a version from CVS which should work better for your purposes.

        /Tony

         

Log in to post a comment.