[scilab-Users] ilib_for_link

Sylvestre Ledru sylvestre.ledru at inria.fr
Wed Jun 4 14:14:52 CEST 2008


Tested with the latest Ubuntu with Scilab 4.1.2-4:

-->f1=['int ext1c(n, a, b, c)'
[...]
   compilation of fun1
   building shared library (be patient)
 ans  =
 
 libext1c.so   

[...]

-->link(ext1c_path+'libext1c.so',['ext1c'],'c');
shared archive loaded
Link done

 [...]

-->if norm(c-(a+b)) > %eps then pause,end
 
-->disp(c)
 
    5.    7.    9.  

I really cannot reproduce your bug.

Sylvestre

Le mercredi 04 juin 2008 à 14:01 +0200, Stéphane Paris a écrit :
> Here is the gcc -v :
> =========
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --enable-languages=c,c
> ++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
> --enable-mpfr --enable-targets=all --enable-checking=release
> --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
> =========
> Perhaps I'm missing something else since it works under Debian... ?
> Thanks
> stf
> 
> 2008/6/4 Sylvestre Ledru <sylvestre.ledru at inria.fr>:
>         Le vendredi 30 mai 2008 à 19:59 +0200, Stéphane Paris a
>         écrit :
>         
>         > Le 30 mai 2008 10:06, Sylvestre Ledru
>         <sylvestre.ledru at inria.fr> a
>         > écrit :
>         >         Le vendredi 30 mai 2008 à 10:03 +0200, Stéphane
>         Paris a
>         >         écrit :
>         >         > Hi,
>         >         > I use Scilab version 4.1.2on a linux plateform
>         (Ubuntu 8.04
>         >         - Hardy
>         >         > Heron - )
>         >
>         >
>         >         The version provided in Ubuntu or by the Scilab
>         Consortium ?
>         >
>         >         Sylvestre
>         >
>         >
>         > The one provided by Ubuntu Synaptic.
>         
>         I tried with the package provided in Debian (which is the
>         same) and I
>         don't get the issue.
>         Are you sure you have a compiler (gcc) on your computer ? If
>         yes, which
>         version ? (gcc -v)
>         
>         Thx
>         S
>         
>         
> 




More information about the users mailing list