Menu

Error making GDL on Suse Linux

Help
2004-10-28
2013-06-03
  • cesar otero

    cesar otero - 2004-10-28

    Hello:

    I just wanted to start off by saying this project is great idea.

    I am having problems compiling gdl on Suse Linux. I am using gcc 3.3.3, but I have also tried with 3.3.2 and that doesn't seem to work either.  I successfully configure gdl, and "make" starts off ok, but after a few iterations I get the following error:

    basic_op.cpp: In member function `Data_<<anonymous template type parameter> >*
       Data_<<anonymous template type parameter> >::Pow(BaseGDL*) [with Sp =
       SpDByte]':
    datatypes.cpp:1468:   instantiated from here
    basic_op.cpp:1710: error: call of overloaded `pow(unsigned char&, DByte&)' is
       ambiguous
    /usr/include/bits/mathcalls.h:154: error: candidates are: double pow(double,
       double)

    ...and then a whole bunch of errors like the following:

    basic_op.cpp:1668: error:                 DInt pow(const DInt&, const DInt&)

    Is it the code, my linux distro, or am I doing something wrong?
    Any help would be greatly appreciated!

    Regards,
    hfrequency

     
    • cesar otero

      cesar otero - 2004-11-01

      Oops, nevermind, found out what's wrong. I got it too compile now....

       

Log in to post a comment.