Package Details: scilab 6.0.2-1

Git Clone URL: https://aur.archlinux.org/scilab.git (read-only)
Package Base: scilab
Description: A scientific software package for numerical computations.
Upstream URL: https://www.scilab.org
Licenses: GPL2, BSD, custom:CeCILL
Submitter: td123
Maintainer: eolianoe
Last Packager: eolianoe
Votes: 71
Popularity: 0.009516
First Submitted: 2011-12-07 20:36
Last Updated: 2019-03-04 20:28

Dependencies (37)

Sources (7)

Pinned Comments

Potomac commented on 2018-06-27 01:53

scilab 6 has a bug related to jogl jar library, if mesa version is >= 17.2 then scilab will be unable to use graphic hardware acceleration, no graph plotting,

http://forum.jogamp.org/Mesa-17-2-0-renderer-driver-name-change-error-causes-GLProfile-not-mapped-initialization-error-td4038176.html

in the console we can read these error logs : javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0 at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:317) at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:625) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:539) at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:293) ... 2 more

the solution is to build scilab with a beta version of jogl (2.3.3), or to disable gpu hardware acceleration :

export LIBGL_ALWAYS_SOFTWARE=1

eolianoe commented on 2017-05-03 12:22

In order order to update (and/or build), you may need to uninstall scilab then build it and finally reinstall it to avoid conflicts between the two versions.

For now, scilab fails to run when launched from outside a terminal.

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 9 10 11 12 ... Next › Last »

mgd commented on 2017-07-01 14:21

For all of the 6.0.0-x versions I get a compile/build error like this:

make MAKEFLAGS=-j1 ./src/modelica_compiler/parseTree.cmx ./src/modelica_compiler/linenum.cmx ./src/modelica_compiler/parser.cmx ./src/modelica_compiler/lexer.cmx ./src/modelica_compiler/precompilation.cmx ./src/modelica_compiler/compilation.cmx ./src/modelica_compiler/instantiation.cmx ./src/modelica_compiler/graphNodeSet.cmx ./src/modelica_compiler/symbolicExpression.cmx ./src/modelica_compiler/squareSparseMatrix.cmx ./src/modelica_compiler/bipartiteGraph.cmx ./src/modelica_compiler/hungarianMethod.cmx ./src/modelica_compiler/causalityGraph.cmx ./src/modelica_compiler/optimization.cmx ./src/modelica_compiler/xMLCodeGeneration.cmx ./src/modelica_compiler/optimizingCompiler.cmx ./src/modelica_compiler/scicosCodeGeneration.cmx ./src/modelica_compiler/scicosOptimizingCompiler.cmx
make[3]: Verzeichnis „/home/mgd/packages/scilab-6.0.0-7/src/scilab-6.0.0/modules/scicos“ wird betreten
make[3]: „src/modelica_compiler/parseTree.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/linenum.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/parser.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/lexer.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/precompilation.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/compilation.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/instantiation.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/graphNodeSet.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/symbolicExpression.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/squareSparseMatrix.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/bipartiteGraph.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/hungarianMethod.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/causalityGraph.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/optimization.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/xMLCodeGeneration.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/optimizingCompiler.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/scicosCodeGeneration.cmx“ ist bereits aktuell.
make[3]: „src/modelica_compiler/scicosOptimizingCompiler.cmx“ ist bereits aktuell.
make[3]: Verzeichnis „/home/mgd/packages/scilab-6.0.0-7/src/scilab-6.0.0/modules/scicos“ wird verlassen
ocamlopt -o modelicac -I ./src/modelica_compiler -I ./src/xml2modelica nums.cmxa ./src/modelica_compiler/parseTree.cmx ./src/modelica_compiler/linenum.cmx ./src/modelica_compiler/parser.cmx ./src/modelica_compiler/lexer.cmx ./src/modelica_compiler/precompilation.cmx ./src/modelica_compiler/compilation.cmx ./src/modelica_compiler/instantiation.cmx ./src/modelica_compiler/graphNodeSet.cmx ./src/modelica_compiler/symbolicExpression.cmx ./src/modelica_compiler/squareSparseMatrix.cmx ./src/modelica_compiler/bipartiteGraph.cmx ./src/modelica_compiler/hungarianMethod.cmx ./src/modelica_compiler/causalityGraph.cmx ./src/modelica_compiler/optimization.cmx ./src/modelica_compiler/xMLCodeGeneration.cmx ./src/modelica_compiler/optimizingCompiler.cmx ./src/modelica_compiler/scicosCodeGeneration.cmx ./src/modelica_compiler/scicosOptimizingCompiler.cmx
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(fail.o): relocation R_X86_64_32 against symbol `caml_exn_Failure' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_frametable' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(globroots.o): relocation R_X86_64_32 against symbol `caml_global_roots' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals.o): relocation R_X86_64_32S against undefined symbol `caml_pending_signals' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals_asm.o): relocation R_X86_64_32S against symbol `caml_system__code_end' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(major_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(minor_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(alloc.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compare.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(ints.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(floats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(array.o): relocation R_X86_64_32 against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(io.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(extern.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(intern.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(hash.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(sys.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(parsing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(gc_ctrl.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(obj.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(lexing.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(printexc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(callback.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(weak.o): relocation R_X86_64_32 against symbol `caml_ephe_ref_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compact.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32 against symbol `caml_custom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup_aux.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32S against symbol `caml_data_segments' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(freelist.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(misc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: Fehler: ld gab 1 als Ende-Status zurück
File "caml_startup", line 1:
Error: Error during linking
make[2]: *** [Makefile:3797: modelicac] Fehler 2
make[2]: Verzeichnis „/home/mgd/packages/scilab-6.0.0-7/src/scilab-6.0.0/modules/scicos“ wird verlassen
make[1]: *** [Makefile:827: all-recursive] Fehler 1
make[1]: Verzeichnis „/home/mgd/packages/scilab-6.0.0-7/src/scilab-6.0.0/modules“ wird verlassen
make: *** [Makefile:1601: all-recursive] Fehler 1
==> FEHLER: Ein Fehler geschah in build().

Any suggestions?

ryukinix commented on 2017-06-30 18:55

To execute the scilab GUI, I need to wait a long time after the second warning.

❯ scilab
libEGL warning: DRI2: failed to authenticate
Error parsing gtk-icon-sizes string: ''
java.net.ConnectException: Connection timed out (Connection timed out)


For what stands the java.net.ConnectException? This take a lot of time.

eolianoe commented on 2017-06-29 07:37

@sahash: if it was working with scilab 5.5.2, it's a regression not a bug of the package, please report it upstream (users@lists.scilab.org and http://bugzilla.scilab.org/).

sahash commented on 2017-06-28 23:12

Please help, I can't run my codes that I wrote with scilab 5.5.2.

I have big functions that contain other functions like this example:

function y=fy(x)
function z=fz(t)
z=t-x
endfunction
T=fsolve(1,fz)
y=T-x
endfunction

but when I run <fsolve(1,fy)>, scilab freeze then close.

the error in the terminal is the following:

/usr/bin/scilab : ligne 957 : 25635 Erreur de segmentation (core dumped)"$SCILABBIN" "$@"
scilab 21,50s user 3,52s system 42% cpu 59,240 total

in the case of my program, I got the following error:

[mypc1v300:25873] Signal: Erreur de segmentation (11)
[mypc1v300:25873] Signal code: Address not mapped (1)
[mypc1v300:25873] Failing at address: (nil)

Pile d'appel :
1: 0x8b6d8c <JVM_handle_linux_signal> (/usr/lib/jvm/java-8-openjdk/jre/lib/amd64/server/libjvm.so)
2: 0x8aada8 < > (/usr/lib/jvm/java-8-openjdk/jre/lib/amd64/server/libjvm.so)
3: 0x11940 < > (/usr/lib/libpthread.so.0)
Fin de la pile


eolianoe commented on 2017-06-28 08:22

@fusion809: I have no idea if scilab can work with wayland (and without X11), I have no machine with wayland to test, sorry

fusion809 commented on 2017-06-27 10:44

Under Sway (which runs on Wayland so that may be the problem) all I get is a blank screen for Scilab http://i.imgur.com/J6PXjZC.png.

Here is the error it gave at the command-line when being launched (this is the error when the full GUI form being loaded, not the CLI of Scilab, just to be clear):

Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGr
aphicsDevice[type .egl, v0.0.0, connection :1, unitID 0, handle 0x0, owner true, ResourceToolkitLoc
k[obj 0x7511a47e, isOwner true, <301334b8, 1b30c0b>[count 1, qsz 0, owner <main-SharedResourceRunne
r>]]] on thread main-SharedResourceRunner
[0]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGL
DrawableFactory.java:518)
[1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[2]: java.lang.Thread.run(Thread.java:748)
Caused[0] by GLException: Failed to created/initialize EGL display incl. fallback default: native 0x0, error 0x3001/0x3001 on thread main-SharedResourceRunner
[0]: jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:297)
[1]: jogamp.opengl.egl.EGLDisplayUtil.access$300(EGLDisplayUtil.java:58)
[2]: jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay(EGLDisplayUtil.java:320)
[3]: com.jogamp.nativewindow.egl.EGLGraphicsDevice.open(EGLGraphicsDevice.java:125)
[4]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:532)
[5]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:516)
[6]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[7]: java.lang.Thread.run(Thread.java:748)
Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x7558229, isOwner true, <62a7ebb2, 5472f762>[count 1, qsz 0, owner <main-SharedResourceRunner>]]] on thread main-SharedResourceRunner
[0]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:518)
[1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[2]: java.lang.Thread.run(Thread.java:748)
Caused[0] by GLException: Failed to created/initialize EGL display incl. fallback default: native 0x0, error 0x3001/0x3001 on thread main-SharedResourceRunner
[0]: jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:297)
[1]: jogamp.opengl.egl.EGLDisplayUtil.access$300(EGLDisplayUtil.java:58)
[2]: jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay(EGLDisplayUtil.java:320)
[3]: com.jogamp.nativewindow.egl.EGLGraphicsDevice.open(EGLGraphicsDevice.java:125)
[4]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:532)
[5]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:516)
[6]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
[7]: java.lang.Thread.run(Thread.java:748)

eolianoe commented on 2017-06-19 11:35

@Xwang: please paste your log somewhere and make the output in english to be more easy to read.

@all: building fine even in a clean chroot, you may have some special configuration that breaks the build (flags or specific version of packages). You can send me full build log (obtained with 'makepkg -L') to see if there is something different with mine.

Xwang commented on 2017-06-18 16:49

I have this error at compile time:

In file included from /usr/include/c++/7.1.1/map:60:0,
from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:38,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/c++/7.1.1/bits/stl_tree.h:141:3: error: template with C linkage
template<typename _Key_compare>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:215:3: error: template with C linkage
template<typename _Val>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:247:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_increment(const std::_Rb_tree_node_base*)'
_Rb_tree_increment(const _Rb_tree_node_base* __x) throw ();
^~~~~~~~~~~~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:244:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
_Rb_tree_increment(_Rb_tree_node_base* __x) throw ();
^~~~~~~~~~~~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:253:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_decrement(const std::_Rb_tree_node_base*)'
_Rb_tree_decrement(const _Rb_tree_node_base* __x) throw ();
^~~~~~~~~~~~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:250:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
_Rb_tree_decrement(_Rb_tree_node_base* __x) throw ();
^~~~~~~~~~~~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:255:3: error: template with C linkage
template<typename _Tp>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:325:3: error: template with C linkage
template<typename _Tp>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:404:3: error: template with C linkage
template<typename _Val>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:410:3: error: template with C linkage
template<typename _Val>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:427:3: error: template with C linkage
template<typename _Cmp, typename _SfinaeType, typename = __void_t<>>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:431:3: error: template with C linkage
template<typename _Cmp, typename _SfinaeType>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:442:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1530:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1540:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1550:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1557:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1564:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1571:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1578:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1586:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1597:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1618:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1631:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1657:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1670:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1683:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1697:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1732:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1761:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1786:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1810:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KoV,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1847:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1863:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1879:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1895:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1911:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1927:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1959:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:1991:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2022:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2054:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2075:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2104:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2124:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2183:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2210:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2265:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2294:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2310:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2326:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2343:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2370:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2391:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2417:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2443:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KoV,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2455:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KoV,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2467:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2481:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2494:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2506:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2516:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2529:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2542:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_tree.h:2557:3: error: template with C linkage
template<typename _Key, typename _Val, typename _KeyOfValue,
^~~~~~~~
In file included from /usr/include/c++/7.1.1/map:61:0,
from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:38,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/c++/7.1.1/bits/stl_map.h:70:3: error: template with C linkage
template <typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:97:3: error: template with C linkage
template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1378:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1395:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1402:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1409:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1416:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1423:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_map.h:1430:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
In file included from /usr/include/c++/7.1.1/map:62:0,
from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:38,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/c++/7.1.1/bits/stl_multimap.h:68:3: error: template with C linkage
template <typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:95:3: error: template with C linkage
template <typename _Key, typename _Tp,
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1043:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1060:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1067:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1074:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1081:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1088:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
/usr/include/c++/7.1.1/bits/stl_multimap.h:1095:3: error: template with C linkage
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc>
^~~~~~~~
In file included from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:205:0,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/openmpi/ompi/mpi/cxx/functions.h:71:1: error: conflicting declaration of C function 'void MPI::Init()'
Init();
^~~~
/usr/include/openmpi/ompi/mpi/cxx/functions.h:68:1: note: previous declaration 'void MPI::Init(int&, char**&)'
Init(int& argc, char**& argv);
^~~~
/usr/include/openmpi/ompi/mpi/cxx/functions.h:96:1: error: conflicting declaration of C function 'int MPI::Init_thread(int)'
Init_thread(int required);
^~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/functions.h:93:1: note: previous declaration 'int MPI::Init_thread(int&, char**&, int)'
Init_thread(int &argc, char**&argv, int required);
^~~~~~~~~~~
In file included from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:240:0,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/openmpi/ompi/mpi/cxx/file.h:36:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:29:6: note: previous declaration 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:43:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:36:6: note: previous declaration 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:43:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:29:6: note: previous declaration 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:50:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:43:6: note: previous declaration 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:50:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:36:6: note: previous declaration 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:50:6: error: conflicting declaration of C function 'void MPI::Register_datarep(const char*, int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), int (*)(void*, MPI_Datatype, int, void*, MPI_Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
/usr/include/openmpi/ompi/mpi/cxx/file.h:29:6: note: previous declaration 'void MPI::Register_datarep(const char*, void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(void*, MPI::Datatype&, int, void*, MPI::Offset, void*), void (*)(const MPI::Datatype&, MPI::Aint&, void*), void*)'
void Register_datarep(const char* datarep,
^~~~~~~~~~~~~~~~
In file included from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:289:0,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h: In function 'void MPI::Init(int&, char**&)':
/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h:119:1: error: conflicting declaration of C function 'void MPI::Init(int&, char**&)'
MPI::Init(int& argc, char**& argv)
^~~
In file included from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:205:0,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/openmpi/ompi/mpi/cxx/functions.h:71:1: note: previous declaration 'void MPI::Init()'
Init();
^~~~
In file included from /usr/include/openmpi/ompi/mpi/cxx/mpicxx.h:289:0,
from /usr/include/mpi.h:2673,
from /usr/include/H5public.h:61,
from /usr/include/hdf5.h:24,
from ./includes/h5_writeDataToFile.h:21,
from src/cpp/handle_properties.cpp:26:
/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h: In function 'int MPI::Init_thread(int&, char**&, int)':
/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h:170:1: error: conflicting declaration of C function 'int MPI::Init_thread(int&, char**&, int)'
MPI::Init_thread(int& argc, char**& argv, int required)
^~~
/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h:160:1: note: previous declaration 'int MPI::Init_thread(int)'
MPI::Init_thread(int required)
^~~
src/cpp/handle_properties.cpp: In function 'void import_userdata(int, int)':
src/cpp/handle_properties.cpp:294:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
previous = ((types::InternalType*) * p);
^
src/cpp/handle_properties.cpp: In function 'bool export_handle_userdata(int, int)':
src/cpp/handle_properties.cpp:2136:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
pUD = ((types::InternalType*) * p);
^
make[3]: *** [Makefile:1501: src/cpp/libscihdf5_algo_la-handle_properties.lo] Error 1
make[3]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-scilab/src/scilab-6.0.0/modules/hdf5"
make[2]: *** [Makefile:910: all] Error 2
make[2]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-scilab/src/scilab-6.0.0/modules/hdf5"
make[1]: *** [Makefile:827: all-recursive] Error 1
make[1]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-scilab/src/scilab-6.0.0/modules"
make: *** [Makefile:1601: all-recursive] Error 1
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare scilab.


Anonymous comment on 2017-06-14 06:00

src/cpp/loadlib.cpp:41:77: error: conversion invalide

Any ideas ?

Anonymous comment on 2017-06-14 06:00

@dentalfloss
I am experiencing the same compilation problem. You said you had something wrong in your config. Can you tell me a bit more ?