#11119: ECL 11.1.1 fails on Cygwin
-----------------------+----------------------------------------------------
   Reporter:  mhansen  |          Owner:  tbd
       Type:  defect   |         Status:  new
   Priority:  major    |      Milestone:     
  Component:  cygwin   |       Keywords:     
Work_issues:           |       Upstream:  N/A
   Reviewer:           |         Author:     
     Merged:           |   Dependencies:     
-----------------------+----------------------------------------------------

Comment(by dimpase):

 Replying to [comment:4 dimpase]:
 > Replying to [comment:2 mhansen]:
 > > I believe fixing it is just a matter of including {{{sys/stat.h}}} in
 that file on Cygwin.
 >
 > no, this redefines a bunch of stuff and does not compile as a result.
 oops, please ignore this. Adding the include to libraries.d fixes this
 particular problem.

 The next one is in c/numbers/cos.d:
 {{{
 ...
 if test -f ../CROSS-DPP ; then ../CROSS-DPP
 /home/dima/sage-4.7.alpha5/spkg/buil
 d/ecl-11.1.1.p0/src/src/c/numbers/cos.d tmp.c ; else ./dpp.exe
 /home/dima/sage-4
 .7.alpha5/spkg/build/ecl-11.1.1.p0/src/src/c/numbers/cos.d tmp.c ; fi
 dpp:
 /home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/src/src/c/numbers/cos.d
  -> tmp.c
 gcc -DECLDIR="\"/home/dima/sage-4.7.alpha5/local/lib/ecl-11.1.1\"" -I.
 -I/home/d
 ima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/src/build
 -I/home/dima/sage-4.7.alp
 ha5/spkg/build/ecl-11.1.1.p0/src/src/c -I../ecl/gc -DECL_API
 -DECL_NO_LEGACY   -
 I/home/dima/sage-4.7.alpha5/local/include  -g -O2   -Dcygwin -c -o
 numbers/cos.o
  tmp.c
 In file included from
 /home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/src/bu
 ild/ecl/impl/math_fenv.h:68,
                  from
 /home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/src/bu
 ild/ecl/impl/math_dispatch.h:20,
                  from
 /home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/src/sr
 c/c/numbers/cos.d:21:
 /usr/include/fenv.h:52: error: redefinition of `struct _fenv_t'
 /usr/include/fenv.h:53: error: redefinition of `struct _fpu_env_info'
 /usr/include/fenv.h:63: error: conflicting types for `fenv_t'
 /usr/include/fenv.h:63: error: previous declaration of `fenv_t' was here
 /usr/include/fenv.h:75: error: redefinition of `struct _fexcept_t'
 /usr/include/fenv.h:78: error: conflicting types for `fexcept_t'
 /usr/include/fenv.h:78: error: previous declaration of `fexcept_t' was
 here
 /usr/include/fenv.h:127: error: conflicting types for `_fe_dfl_env'
 /usr/include/fenv.h:127: error: previous declaration of `_fe_dfl_env' was
 here
 /usr/include/fenv.h:148: error: conflicting types for `fegetexceptflag'
 /usr/include/fenv.h:148: error: previous declaration of `fegetexceptflag'
 was he
 re
 /usr/include/fenv.h:150: error: conflicting types for `fesetexceptflag'
 /usr/include/fenv.h:150: error: previous declaration of `fesetexceptflag'
 was he
 re
 /usr/include/fenv.h:154: error: conflicting types for `fegetenv'
 /usr/include/fenv.h:154: error: previous declaration of `fegetenv' was
 here
 /usr/include/fenv.h:155: error: conflicting types for `feholdexcept'
 /usr/include/fenv.h:155: error: previous declaration of `feholdexcept' was
 here
 /usr/include/fenv.h:156: error: conflicting types for `fesetenv'
 /usr/include/fenv.h:156: error: previous declaration of `fesetenv' was
 here
 /usr/include/fenv.h:157: error: conflicting types for `feupdateenv'
 /usr/include/fenv.h:157: error: previous declaration of `feupdateenv' was
 here
 make[4]: *** [numbers/cos.o] Error 1
 make[4]: Leaving directory
 `/home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/
 src/build/c'
 make[3]: *** [libeclmin.a] Error 2
 make[3]: Leaving directory
 `/home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/
 src/build'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/home/dima/sage-4.7.alpha5/spkg/build/ecl-11.1.1.p0/
 src'
 Error - Failed to build ECL ... exiting
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11119#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to