[Ecls-list] trouble building Maxima w/ ECL

Robert Dodier robert.dodier at gmail.com
Mon Jun 21 19:07:51 UTC 2010


Hi, I'm trying to build Maxima w/ ECL.
I updated ECL from CVS and built it w/ ./configure --enable-rpath.
I updated Maxima from CVS and tried to build it w/ ECL,
but I get the following errors.

/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:
In function `L109dsin':
/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:2513:
error: incompatible type for argument 1 of `sin'
/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:2513:
error: incompatible types in assignment
/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:
In function `L110csin':
/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:2528:
error: incompatible type for argument 1 of `sin'
/home/robertdodier/tmp/maxima-cvs-build/maxima/src/binary-ecl/numerical/f2cl-lib.c:2528:
error: incompatible types in assignment

Looks like these are the offending functions.

/*  function definition for DSIN                                  */
/*  optimize speed 3, debug 2, space 0, safety 2                  */
static cl_object L109dsin(cl_object V1)
{ VT98 VLEX98 CLSR98 STCK98
    const cl_env_ptr cl_env_copy = ecl_process_env();
    cl_object value0;
    ecl_cs_check(cl_env_copy,value0);
    {
TTL:
    {bool V2;
    V2= ECL_DOUBLE_FLOAT_P(V1);
    if (ecl_unlikely(!(V2)))
         FEwrong_type_argument(ECL_SYM("DOUBLE-FLOAT",313),V1);}
    value0=sin(V1); cl_env_copy->nvalues=1;
    return value0;
}}
/*  function definition for CSIN                                  */
/*  optimize speed 3, debug 2, space 0, safety 2                  */
static cl_object L110csin(cl_object V1)
{ VT99 VLEX99 CLSR99 STCK99
    const cl_env_ptr cl_env_copy = ecl_process_env();
    cl_object value0;
    ecl_cs_check(cl_env_copy,value0);
    {
TTL:
    T0= cl_complexp(V1)                       /*  COMPLEXP        */;
    if (ecl_unlikely(!((T0)!=Cnil)))
         FEwrong_type_argument(ECL_SYM("COMPLEX",239),V1);
    value0=sin(V1); cl_env_copy->nvalues=1;
    return value0;
}}


Not sure what to make of it. Thanks for any advice.

best

Robert Dodier




More information about the ecl-devel mailing list