[MBDyn-users] Error in compiling MBdyn 1.5.2 on minGW32+MSYS

徐志華(Gmail) zionman.hsu at gmail.com
Sat Oct 20 07:40:18 CEST 2012


 

I had try to build MBDyn 1.5.2 on minGW32+MSYS, there is a tricky error

 

make[2]: Entering directory `/home/…/mbdyn-1.5.2/libraries/libmbc'

/bin/sh ../../libtool --tag=CC   --mode=compile /mingw/bin/gcc.exe -DHAVE_CONFIG_H -I. -I../../include -I../../include -I./../../include -I./../../libraries/libmbc -I./../../mbdyn   -fexceptions -I/mingw/include -I/local/include  -DWINVER=0x0501 -D_WIN32_IE=0x0501 -fno-builtin -pipe -O2 -mms-bitfields -Wno-pedantic-ms-format -march=i686 -mtune=i686 -MT mbc.lo -MD -MP -MF .deps/mbc.Tpo -c -o mbc.lo mbc.c

mv -f .deps/mbc.Tpo .deps/mbc.Plo

mv: cannot stat `.deps/mbc.Tpo': No such file or directory

make[2]: *** [mbc.lo] Error 1

 

I download version 1.5.1 source, the same problem exists.

I download version 1.2.6 source, the similar lines in make log shows that “… --mode=compile if /mingw/bin/gcc.exe … then; ….; exit fi ..”, the error doesnot exists.

 

it seems like MBDyn taylored libtool of 1.5.1 and 1.5.2 had ate the next line in make file together, so that it would not get the correct result.

I had try to paste the line “/bin/sh ../../libtool … mbc.c” to the MSYS console, it not work (no mbc.Tpo generated)

Then I try to paste the partial line “/mingw/bin/gcc.exe … mbc.c” to MSYS console, it work. (mbc.Tpo generated)

I try the previous line with original mingw libtool, it works. (mbc.Tpo generated)

 

It seems that MBDyn taylored libtool not workable on minGW32+MSYS

Is there any mingw workable MBDyn taylored libtool to be release?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20121020/76afd59c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: application/octet-stream
Size: 569 bytes
Desc: not available
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20121020/76afd59c/attachment.obj>


More information about the MBDyn-users mailing list