[Scilab-users] Fatal Error MinGW Linker in building a toolbox with scilab 5.5.2 (windows)

Perrichon perrichon.pierre at wanadoo.fr
Wed Nov 16 19:58:19 CET 2016



Dear Scilab Team,

 

 

Trying to build a simple toolbox as described in book "Scilab : De la
théorie à la pratique : MaPalette-PlusInt", produce error at link time with

options automatically generated to the linker ; wrong ,W1 option at the end
of the command line.

 

This bug blocks my project.

 

It is also well know in another context (see bugzilla #14816) where a
workaround was proposed by Paul Binier.

But that workaround doens't work with the builder.sce in case of a toolbox.

 

Error :

 

 

!------------- Link files --------------
!

!
!

!x86_64-w64-mingw32-gcc.exe --shared PlusSim.o
-L"C:\Users\pierre\gcc\x86_64-!

!     w64-mingw32\lib"
-LC:\Users\pierre\AppData\Roaming\Scilab\scilab-5.5.2\m!

!     ingwlib_x64 -lstdc++ -lgfortran -lMALLOC -lblasplus -lf2c -llapack
-lcor!

!     e -lcore_f -lintersci -loutput_stream -ldynamic_link -linteger
-loptimiz!

!     ation_f -ljvm -lscilocalization -lintl -llinpack_f -lcall_scilab
-ltime !

!     -lapi_scilab -lscilab_windows -lscicos -lscicos_blocks
-lscicos_blocks_f!

!      -lscicos_f -o libxcos_tbx_skel.dll
-Wl,--out-implib=libxcos_tbx_skel.a!

!      -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,
!

!
!

!c:/users/pierre/gcc/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86
_6!

!     4-w64-mingw32/bin/ld.exe: cannot find : Invalid argument
!

 

 

 

See also bugzilla #14868 for attached file.

 

Best regards

 

Pierre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161116/5ef0686f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20161116/5ef0686f/attachment.gif>


More information about the users mailing list