From: Holger V. <hol...@un...> - 2008-09-13 21:18:23
|
Hi Lionel, not yet successful, getting this error message: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O0 -Wall -I/mingw/include -mwindows -shared -Wl,--version-script=tclspice.map -no-undefined -o libspice.la -rpath C:/Spice/lib ngspice.lo conf.lo spice.lo frontend/libfte.la frontend/wdisp/libwindisp.la frontend/plotting/libplotting.la ... maths/sparse/libsparse.la misc/libmisc.la tclspice.lo -lm -liberty -lpsapi -lm -liberty -lpsapi libtool: link: can not build a shared library libtool: link: See the libtool documentation for more information. libtool: link: Fatal configuration error. A static library will build. Regards Holger SAINTE CLUQUE Lionel schrieb: > Try to respect the following paragraph of the autobook: > (§25.4.3) > > >> libtool provides a macro, ‘AC_LIBTOOL_WIN32_DLL’, which must be >> > added to a package’s ‘configure.in’ to communicate to the libtool > machinery that the package supports dlls. Without this macro, libtool > will never try to build a dll on Windows. Add this macro to > ‘configure.in’ before the ‘AM_PROG_LIBTOOL’ macro, and try again > > In src/Makefile.am please add -no-undefined flag to libspice LDFLAGS. > This flag, necessary for a dll, will fail with xspice for the moment. > Please use the configure flag --disable-xspice too. > > Then you should be able to make the dll. > > If you are successfull, Youhou! > > |