[Ecls-list] CVS HEAD:

Matthew Mondor mm_lists at pulsar-zone.net
Mon Nov 15 09:40:19 UTC 2010

Hello again,

With CVS HEAD ECL on NetBSD-5, I get the following build error:

if test -f ../CROSS-DPP ; then ../CROSS-DPP /home/mmondor/work/ecl-cvs/src/c/numbers/cos.d tmp.c ; else ./dpp /home/mmondor/work/ecl-cvs/src/c/numbers/cos.d tmp.c ; fi
dpp: /home/mmondor/work/ecl-cvs/src/c/numbers/cos.d -> tmp.c
gcc -DECLDIR="\"/usr/local/ecl/lib/ecl-10.7.1\"" -I. -I/home/mmondor/work/ecl-cvs/build -I/home/mmondor/work/ecl-cvs/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY    -march=i686 -O2 -g -fPIC  -Dnetbsd -c -o numbers/cos.o tmp.c
/home/mmondor/work/ecl-cvs/src/c/numbers/cos.d: In function 'ecl_cos':
/home/mmondor/work/ecl-cvs/src/c/numbers/cos.d:71: error: 'ECL_MATHERR_CLEAR' undeclared (first use in this function)
/home/mmondor/work/ecl-cvs/src/c/numbers/cos.d:71: error: (Each undeclared identifier is reported only once
/home/mmondor/work/ecl-cvs/src/c/numbers/cos.d:71: error: for each function it appears in.)
/home/mmondor/work/ecl-cvs/src/c/numbers/cos.d:71: error: 'ECL_MATHERR_TEST' undeclared (first use in this function)
*** Error code 1


At first I thought the file was missing a header file include, although
adding it still displayed the same behaviour.  Then I noticed that it
appears to be a problem with the conditionals in math_dispatch.h.  This
also fails if supplying --disable-longdouble.


More information about the ecl-devel mailing list