Okay I have what looks like the same problem on a similar system,
and there libffi-devel-gcc5 is installed. I opened
https://trac.sagemath.org/ticket/21811
On Monday, May 9, 2016 at 3:08:58 PM UTC+2, Johannes Martin wrote:
>
> Hi,
>
> I cannot compile the source files of sage on
> openSuse Leap 42
>
> Linux linux-noh5 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC
> 2016 (0a392b2) x86_
> 64 x86_64 x86_64 GNU/Linux
>
> The corresponding log-file shows the following information
>
> gcc -DECLDIR="\"/home/jmartin/Downloads/sage-7.1/local/lib/ecl-15.3.7\""
> -I. -I/home/jmartin/
> Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/build
> -I/home/jmartin/Downloads/
> sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c -I../ecl/gc
> -DECL_API -DECL_NO_LEGAC
> Y -I/home/jmartin/Downloads/sage-7.1/local/include
> -I/home/jmartin/Downloads/sage-7.1/local
> /include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -c -o
> ffi.o ffi.o.c
>
> /home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c/ffi.d:146:27
> : error: 'FFI_SYSV' undeclared here (not in a function)
> {@':cdecl', FFI_SYSV},
> ^
> Makefile:81: recipe for target 'ffi.o' failed
> make[5]: *** [ffi.o] Error 1
> make[5]: Leaving directory
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build/c'
> Makefile:109: recipe for target 'libeclmin.a' failed
> make[4]: *** [libeclmin.a] Error 2
> make[4]: Leaving directory
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build'
> Makefile:70: recipe for target 'all' failed
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src'
> Error - Failed to build ECL ... exiting
>
> real 0m22.295s
> user 0m17.176s
> sys 0m1.792s
> ************************************************************************
> Error installing package ecl-15.3.7p0
> ************************************************************************
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.