SHOW:
|
|
- or go back to the newest paste.
1 | - | gcc -Wl,--no-as-needed -fPIC -shared -o prova.so prova_Scilab_FMU.c /usr/lib/scilab/* -I/usr/include/scilab/ -I/home/mfabbri/.Scilab/fmu-wrapper-0.6/src/c/ |
1 | + | gcc -fPIC -shared -o prova.so prova_Scilab_FMU.c /usr/lib/scilab/* -I/usr/include/scilab/ -I/home/mfabbri/.Scilab/fmu-wrapper-0.6/src/c/ |
2 | ||
3 | ------------ | |
4 | FMU Checker Output: | |
5 | >> ./fmuCheck.linux64 prova.fmu | |
6 | [INFO][FMUCHK] FMI compliance checker 2.0 [FMILibrary: 2.0] build date: Aug 22 2014 | |
7 | [INFO][FMUCHK] Will process FMU /home/mfabbri/Desktop/prova.fmu | |
8 | [INFO][FMILIB] XML specifies FMI standard version 1.0 | |
9 | [INFO][FMUCHK] Model name: prova | |
10 | [INFO][FMUCHK] Model identifier: prova | |
11 | [INFO][FMUCHK] Model GUID: {e0ba89c:14ca2b2b721:-7fdd} | |
12 | [INFO][FMUCHK] Model version: | |
13 | [INFO][FMUCHK] FMU kind: ModelExchange | |
14 | [INFO][FMUCHK] The FMU contains: | |
15 | 0 constants | |
16 | 1 parameters | |
17 | 0 discrete variables | |
18 | 0 continuous variables | |
19 | 0 inputs | |
20 | 0 outputs | |
21 | 1 internal variables | |
22 | 0 variables with causality 'none' | |
23 | 1 real variables | |
24 | 0 integer variables | |
25 | 0 enumeration variables | |
26 | 0 boolean variables | |
27 | 0 string variables | |
28 | ||
29 | [INFO][FMUCHK] Printing output file header | |
30 | time | |
31 | [INFO][FMILIB] Loading 'linux64' binary with 'standard32' platform types | |
32 | - | [FATAL][FMICAPI] Could not load the DLL: libjava.so: cannot open shared object file: No such file or directory |
32 | + | [FATAL][FMICAPI] Could not load the DLL: /usr/lib/scilab/libsciscicos_blocks-cli.so.5: undefined symbol: mopen_ |
33 | [FATAL][FMUCHK] Could not create the DLL loading mechanism(C-API). | |
34 | FMU check summary: | |
35 | FMU reported: | |
36 | 0 warning(s) and error(s) | |
37 | Checker reported: | |
38 | 0 Warning(s) | |
39 | 0 Error(s) | |
40 | Fatal error occurred during processing | |
41 | ||
42 | ---------------------- | |
43 | ||
44 | >> ldd -d prova.so | |
45 | - | linux-vdso.so.1 => (0x00007fff32bae000) |
45 | + | linux-vdso.so.1 => (0x00007fffc85fe000) |
46 | - | libjava.so => not found |
46 | + | libsciscicos_blocks-cli.so.5 => /usr/lib/scilab/libsciscicos_blocks-cli.so.5 (0x00007fb620ba2000) |
47 | - | libsciaction_binding-disable.so.5 => /usr/lib/scilab/libsciaction_binding-disable.so.5 (0x00007f930838d000) |
47 | + | libsciscicos-cli.so.5 => /usr/lib/scilab/libsciscicos-cli.so.5 (0x00007fb620897000) |
48 | - | libsciaction_binding.so.5 => /usr/lib/scilab/libsciaction_binding.so.5 (0x00007f9308186000) |
48 | + | libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb6204d1000) |
49 | - | libsciarnoldi.so.5 => /usr/lib/scilab/libsciarnoldi.so.5 (0x00007f9307f75000) |
49 | + | libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb6201cb000) |
50 | - | libscicall_scilab.so.5 => /usr/lib/scilab/libscicall_scilab.so.5 (0x00007f9307d70000) |
50 | + | libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb61ffb5000) |
51 | - | libscicommons-disable.so.5 => /usr/lib/scilab/libscicommons-disable.so.5 (0x00007f9307b6d000) |
51 | + | libscisundials.so.5 => /usr/lib/scilab/libscisundials.so.5 (0x00007fb61fd8b000) |
52 | - | libscicommons.so.5 => /usr/lib/scilab/libscicommons.so.5 (0x00007f9307962000) |
52 | + | librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb61fb83000) |
53 | - | libscicompletion.so.5 => /usr/lib/scilab/libscicompletion.so.5 (0x00007f9307750000) |
53 | + | libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb61f965000) |
54 | - | libsciconsole-minimal.so.5 => /usr/lib/scilab/libsciconsole-minimal.so.5 (0x00007f9307544000) |
54 | + | libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb61f760000) |
55 | - | libsciconsole.so.5 => /usr/lib/scilab/libsciconsole.so.5 (0x00007f930733a000) |
55 | + | libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007fb61f53d000) |
56 | - | libsciexternal_objects_java.so.5 => /usr/lib/scilab/libsciexternal_objects_java.so.5 (0x00007f9307102000) |
56 | + | libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fb61f314000) |
57 | - | libsciexternal_objects.so.5 => /usr/lib/scilab/libsciexternal_objects.so.5 (0x00007f9306ed4000) |
57 | + | libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fb61effa000) |
58 | - | libscifunctions.so.5 => /usr/lib/scilab/libscifunctions.so.5 (0x00007f9306c10000) |
58 | + | libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fb61edbe000) |
59 | - | libscigraphic_export-disable.so.5 => /usr/lib/scilab/libscigraphic_export-disable.so.5 (0x00007f9306a0e000) |
59 | + | /lib64/ld-linux-x86-64.so.2 (0x00007fb6210d5000) |
60 | - | libscigraphic_export.so.5 => /usr/lib/scilab/libscigraphic_export.so.5 (0x00007f9306803000) |
60 | + | undefined symbol: pvApiCtx (/usr/lib/scilab/libsciscicos-cli.so.5) |