[scilab-Users] C and Fortran not seen.
Yann Collette
yann.collette at scilab.org
Sat Aug 29 07:49:39 CEST 2009
Hello,
Can you post the file TMPDIR/config.log ?
YC
Plaisant a écrit :
> Hi.
>
> Thanks to Allan CORNET and to Serge Steer for helping.
>
> I have now installed the two suggested Linux packages:
>
> gcc - GNU Compiler Collection
> gcc-gfortran - Fortran 95 support for gcc
>
> I still get the error messages below. I see that things
> don't happen automatically...
>
> Now, how do I let Scicos know that I have installed them,
> so that I manage to get the "Electrical" demonstration file
> of the Boost Converter to run?
>
>
> Thanks.
> André.
>
> ___________________________________________________
>
>
> Modelica code generated at /tmp/SD_10388_/imppart_Boost_Converter.mo
> C code generated at /tmp/SD_10388_/imppart_Boost_Converter.c
>
> Modelica blocks are reduced to a block with:
> Number of continuous time states: 4
> Number of discrete time states : 0
> Number of zero-crossing surfaces: 1
> Number of modes : 1
> Number of inputs : 1
> Number of outputs: 2
>
> Compile and link Modelica generated C code
> Generate a loader file
> Generate a Makefile
> ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
> ilib_gen_Make: Copy imppart_Boost_Converter.c to TMPDIR
> ilib_gen_Make: configure : Generate Makefile.
> ilib_gen_Make: Modification of the Makefile in TMPDIR.
> Running the Makefile
> ilib_compile: An error occured during the compilation:
>
> sh: make: command not found
>
> ilib_compile: The command was:
> make
> CFLAGS="-I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/malloc/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/output_stream/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/mexlib/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/core/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/scicos_blocks/"
> CXXFLAGS="-I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/malloc/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/output_stream/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/mexlib/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/core/ -I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/scicos_blocks/"
> FFLAGS="-I/usr/bin/scilab-5.1.1/share/scilab/../../include/scilab/core/ "
> Link failed for dynamic
> library '/tmp/SD_10388_/libimppart_Boost_Converter.so'.
> An error occurred: /tmp/SD_10388_/libimppart_Boost_Converter.so: cannot open
> shared object file: No such file or directory
> I recovered from the following error:
> link: The shared archive was not loaded: (null)
> in Run_ action.
>
>
More information about the users
mailing list