Hello all,
i need/want to compile scilab from source. I pulled the latest from github using
git clone -b main git@gitlab.com:scilab/scilab.git
I although unpacked the prerequirements from
./configure finishes nicely.
but make fails with:
rc/c/scicos.c: In function 'scicos_':
src/c/scicos.c:600:31: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic]
600 | Blocks[kf].scsptr = p; /* set scilab function adress for sciblk */
| ^
src/c/scicos.c:328:32: warning: unused variable 'job' [-Wunused-variable]
328 | int i1, kf, lprt, in, out, job = 1;
| ^~~
src/c/scicos.c: In function 'cossim':
src/c/scicos.c:1456:27: error: passing argument 1 of 'SUNContext_Create' makes integer from pointer without a cast [-Wint-conversion]
1456 | if (SUNContext_Create(NULL, &scicos_sunctx) < 0)
| ^~~~
| |
| void *
In file included from ../../modules/differential_equations/src/patched_sundials/include/sundials/sundials_errors.h:23,
from ../../modules/differential_equations/src/patched_sundials/include/sundials/sundials_iterative.h:30,
from ../../modules/differential_equations/src/patched_sundials/include/cvodes/cvodes_ls.h:22,
from ../../modules/differential_equations/src/patched_sundials/include/cvodes/cvodes.h:20,
from src/c/scicos.c:44:
Any help ?
Thanks in advance ….
kaffeesurrogat