C and Fortran not seen.

classic Classic list List threaded Threaded
4 messages Options
Plaisant Plaisant
Reply | Threaded
Open this post in threaded view
|

C and Fortran not seen.


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.

--
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.


Collette yann-2 Collette yann-2
Reply | Threaded
Open this post in threaded view
|

Re: C and Fortran not seen.

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.
>
>  


sylvestre sylvestre
Reply | Threaded
Open this post in threaded view
|

Re: C and Fortran not seen.

In reply to this post by Plaisant
Le vendredi 28 août 2009 à 21:20 -0300, 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​
[...]
>  sh: make: command not found  
[...]

Make is also missing. Install the appropriate package (probably named
"make").

Sylvestre



Plaisant Plaisant
Reply | Threaded
Open this post in threaded view
|

Re: C and Fortran not seen.


Hi.

Thanks to Sylvestre and Yann.

As soon as I installed the "make" file, it worked.

Till next time.
André.



> Hello,
>
> Can you post the file TMPDIR/config.log ?
>
> YC


On Saturday 29 August 2009 04:26:33 Sylvestre Ledru wrote:

> Le vendredi 28 août 2009 à 21:20 -0300, 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​
>
> [...]
>
> >  sh: make: command not found
>
> [...]
>
> Make is also missing. Install the appropriate package (probably named
> "make").
>
> Sylvestre



--
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.