Hello. I▓m trying to make my own Synfig build for Windows via MinGW. I▓m use 
MinGW-5.0.3 (mingw-runtime-3.10, w32api-3.7, binutils--2.16.91-20060119-1, 
gcc-core--3.4.5-20060117-1, gcc-g ++--3.4.5-20060117-1, 
mingw32-make--3.80.0-3). Also MSYS-1.0.10, msysDTK-1.0.1 (autoconf-2.56, 
automake-1.7.1, libtool-1.4e), bash-3.1-MSYS-1.0.11.

And gtk-dev-2.8.20-win32-1 (http://gladewin32.sourceforge.net/modules/news/) 
with gtkmm-devel-2.8.8-2 
(http://www.pcpm.ucl.ac.be/~gustin/win32_ports/gtkmm.html).

I▓m also trying to use computers with Windows 2000 SP4 and Windows XP SP2.

The first problem was absence in MinGW cygpath tool which demands libtool. As 
this utility from cygwin has refused to work in MinGW, I▓m read the 
documentation and have replaced with it▓s by following script:
#!/bin/bash
# Simple Cygpath replacement

until [ -z "$1" ]
do
  if [ "${1:0:1}" != "-" ]; then
    echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'
  fi
  shift
done

But this is not an end of my problems. Attempt to build version 0.61.05 using 
sources from the site has ended with an error of make:
*** Warning: This system can not link to static lib archive 
../../libltdl/libltdl.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
mingw32-g++ -shared -nostdlib /mingw/lib/dllcrt2.o 
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/crtbegin.o  
.libs/libsynfig_la-blinepoint.o .libs/libsynfig_la-gradient.o 
.libs/libsynfig_la-value.o .libs/libsynfig_la-layer_motionblur.o 
.libs/libsynfig_la-layer_pastecanvas.o .libs/libsynfig_la-layer_solidcolor.o 
.libs/libsynfig_la-layer_polygon.o .libs/libsynfig_la-layer_composite.o 
.libs/libsynfig_la-layer_bitmap.o .libs/libsynfig_la-layer_mime.o 
.libs/libsynfig_la-layer_shape.o .libs/libsynfig_la-target_scanline.o 
.libs/libsynfig_la-target_tile.o .libs/libsynfig_la-target_multi.o 
.libs/libsynfig_la-target_null.o .libs/libsynfig_la-target_null_tile.o 
.libs/libsynfig_la-valuenode_sine.o 
.libs/libsynfig_la-valuenode_radialcomposite.o 
.libs/libsynfig_la-valuenode_bline.o 
.libs/libsynfig_la-valuenode_segcalcvertex.o 
.libs/libsynfig_la-valuenode_segcalctangent.o 
.libs/libsynfig_la-valuenode_twotone.o .libs/libsynfig_la-valuenode_stripes.o 
.libs/libsynfig_la-valuenode_subtract.o .libs/libsynfig_la-valuenode_const.o 
.libs/libsynfig_la-valuenode_reference.o .libs/libsynfig_la-valuenode_linear.o 
.libs/libsynfig_la-valuenode_composite.o 
.libs/libsynfig_la-valuenode_dynamiclist.o 
.libs/libsynfig_la-valuenode_animated.o .libs/libsynfig_la-valuenode_scale.o 
.libs/libsynfig_la-valuenode_timedswap.o 
.libs/libsynfig_la-valuenode_gradientrotate.o .libs/libsynfig_la-mutex.o 
.libs/libsynfig_la-timepointcollect.o .libs/libsynfig_la-rect.o 
.libs/libsynfig_la-node.o .libs/libsynfig_la-guid.o 
.libs/libsynfig_la-loadcanvas.o .libs/libsynfig_la-distance.o 
.libs/libsynfig_la-palette.o .libs/libsynfig_la-paramdesc.o 
.libs/libsynfig_la-waypoint.o .libs/libsynfig_la-activepoint.o 
.libs/libsynfig_la-gamma.o .libs/libsynfig_la-uniqueid.o 
.libs/libsynfig_la-context.o .libs/libsynfig_la-renddesc.o 
.libs/libsynfig_la-time.o .libs/libsynfig_la-exception.o 
.libs/libsynfig_la-keyframe.o .libs/libsynfig_la-main.o 
.libs/libsynfig_la-surface.o .libs/libsynfig_la-module.o 
.libs/libsynfig_la-importer.o .libs/libsynfig_la-layer.o 
.libs/libsynfig_la-color.o .libs/libsynfig_la-canvas.o 
.libs/libsynfig_la-render.o .libs/libsynfig_la-target.o 
.libs/libsynfig_la-savecanvas.o .libs/libsynfig_la-valuenode.o 
.libs/libsynfig_la-blur.o .libs/libsynfig_la-curve_helper.o 
.libs/libsynfig_la-polynomial_root.o .libs/libsynfig_la-transform.o 
.libs/libsynfig_la-curveset.o .libs/libsynfig_la-listimporter.o  -LC:/GTK/lib 
-L/C/GTK/lib -lole32 -L/c/GTK/lib -lxml++-2.6 -lxml2 -lz -lws2_32 -lglibmm-2.4 
-lgobject-2.0 -lglib-2.0 -lintl -liconv -lkernel32 -luser32 -lsigc-2.0 
-LC:/MinGW/bin/../lib/gcc/mingw32/3.4.5 -LC:/MinGW/bin/../lib/gcc -Lc:/GTK/lib 
-LC:/msys/1.0/synfig/ffmpeg-r6800/lib -L/mingw/lib/gcc/mingw32/3.4.5 
-LC:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib 
-L/mingw/lib/gcc/mingw32/3.4.5/../../../../mingw32/lib -L/mingw/lib 
-LC:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../.. 
-L/mingw/lib/gcc/mingw32/3.4.5/../../.. -lstdc++ -lmingw32 -lgcc -lmoldname 
-lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc 
-lmoldname -lmingwex -lmsvcrt C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/crtend.o  
-Wl,--export-all-symbols -Wl,--subsystem=console 
-Wl,--enable-runtime-pseudo-reloc -o .libs/libsynfig-0.dll 
-Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libsynfig.dll.a
Creating library file: .libs/libsynfig.dll.a
.libs/libsynfig_la-module.o:module.cpp:(.text+0x3d): undefined reference to 
`lt_dlinit'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x52): undefined reference to 
`lt_dlerror'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x79): undefined reference to 
`lt_dladdsearchdir'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x85): undefined reference to 
`lt_dladdsearchdir'
.libs/libsynfig_la-module.o:module.cpp:(.text+0xb4): undefined reference to 
`lt_dladdsearchdir'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x227): undefined reference to 
`lt_dladdsearchdir'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x233): undefined reference to 
`lt_dladdsearchdir'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x23f): more undefined references 
to `lt_dladdsearchdir' follow
.libs/libsynfig_la-module.o:module.cpp:(.text+0x37a): undefined reference to 
`lt_dlexit'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x89a): undefined reference to 
`lt_dlopenext'
.libs/libsynfig_la-module.o:module.cpp:(.text+0xbb1): undefined reference to 
`lt_dlopenext'
.libs/libsynfig_la-module.o:module.cpp:(.text+0xbd8): undefined reference to 
`lt_dlerror'
.libs/libsynfig_la-module.o:module.cpp:(.text+0xfed): undefined reference to 
`lt_dlsym'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x11fe): undefined reference to 
`lt_dlsym'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x16e7): undefined reference to 
`lt_dlsym'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x1bd0): undefined reference to 
`lt_dlsym'
.libs/libsynfig_la-module.o:module.cpp:(.text+0x2100): undefined reference to 
`lt_dlerror'
collect2: ld returned 1 exit status
make[3]: *** [libsynfig.la] Error 1
make[3]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build/src/synfig'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build'
make: *** [all] Error 2

Attempt to build the svn version (revision: 228) was successful (make has not 
come to the end with an error). However, during assembly I received similar 
messages:
/bin/sh ../../libtool --mode=link mingw32-g++  -DNDEBUG -Wno-deprecated -O1 -W 
-Wall -Wno-unused-parameter -LC:/GTK/lib -fpermissive  -lole32 -no-undefined 
-Wl,--export-all-symbols -Wl,--subsystem=console 
-Wl,--enable-runtime-pseudo-reloc -o libsynfig.la -rpath C:/PROGRA~1/Synfig/lib 
-export-dynamic -no-undefined -version-info 0:0:0  libsynfig_la-blinepoint.lo 
libsynfig_la-gradient.lo libsynfig_la-value.lo libsynfig_la-layer_motionblur.lo 
libsynfig_la-layer_pastecanvas.lo libsynfig_la-layer_solidcolor.lo 
libsynfig_la-layer_polygon.lo libsynfig_la-layer_composite.lo 
libsynfig_la-layer_bitmap.lo libsynfig_la-layer_mime.lo 
libsynfig_la-layer_shape.lo   libsynfig_la-target_scanline.lo 
libsynfig_la-target_tile.lo libsynfig_la-target_multi.lo 
libsynfig_la-target_null.lo libsynfig_la-target_null_tile.lo  
libsynfig_la-valuenode_sine.lo libsynfig_la-valuenode_radialcomposite.lo 
libsynfig_la-valuenode_bline.lo libsynfig_la-valuenode_segcalcvertex.lo 
libsynfig_la-valuenode_segcalctangent.lo libsynfig_la-valuenode_twotone.lo 
libsynfig_la-valuenode_stripes.lo libsynfig_la-valuenode_subtract.lo 
libsynfig_la-valuenode_const.lo libsynfig_la-valuenode_reference.lo 
libsynfig_la-valuenode_linear.lo libsynfig_la-valuenode_composite.lo 
libsynfig_la-valuenode_dynamiclist.lo libsynfig_la-valuenode_animated.lo 
libsynfig_la-valuenode_scale.lo libsynfig_la-valuenode_timedswap.lo 
libsynfig_la-valuenode_gradientrotate.lo  libsynfig_la-mutex.lo 
libsynfig_la-timepointcollect.lo libsynfig_la-rect.lo libsynfig_la-node.lo 
libsynfig_la-guid.lo libsynfig_la-loadcanvas.lo libsynfig_la-distance.lo 
libsynfig_la-palette.lo libsynfig_la-paramdesc.lo libsynfig_la-waypoint.lo 
libsynfig_la-activepoint.lo libsynfig_la-gamma.lo libsynfig_la-uniqueid.lo 
libsynfig_la-context.lo libsynfig_la-renddesc.lo libsynfig_la-time.lo 
libsynfig_la-exception.lo libsynfig_la-keyframe.lo libsynfig_la-main.lo 
libsynfig_la-surface.lo libsynfig_la-module.lo libsynfig_la-importer.lo 
libsynfig_la-layer.lo libsynfig_la-color.lo libsynfig_la-canvas.lo 
libsynfig_la-render.lo libsynfig_la-target.lo libsynfig_la-savecanvas.lo 
libsynfig_la-valuenode.lo libsynfig_la-blur.lo libsynfig_la-curve_helper.lo 
libsynfig_la-polynomial_root.lo libsynfig_la-transform.lo 
libsynfig_la-curveset.lo  libsynfig_la-listimporter.lo ../../libltdl/libltdl.la 
-Lc:/GTK/lib -lxml++-2.6 -lxml2 -lz -lws2_32 -lglibmm-2.4 -lgobject-2.0 
-lsigc-2.0 -lglib-2.0 -lintl -liconv -lkernel32 -luser32 -Lc:/GTK/lib -lsigc-2.0

*** Warning: This system can not link to static lib archive 
../../libltdl/libltdl.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lole32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libole32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/mingw/lib//libole32.a

*** Warning: linker path does not have real file for library -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libz and none of the candidates passed a file format test
*** using a file magic. Last file checked: c:/GTK/lib//libz.dll.a

*** Warning: linker path does not have real file for library -lws2_32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libws2_32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/mingw/lib//libws2_32.a


*** Warning: linker path does not have real file for library -lintl.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libintl and none of the candidates passed a file format test
*** using a file magic. Last file checked: c:/GTK/lib//libintl.dll.a

*** Warning: linker path does not have real file for library -liconv.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libiconv and none of the candidates passed a file format test
*** using a file magic. Last file checked: c:/GTK/lib//libiconv.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

At the end I have working exe-file, but no one dll┘

I have suspected, that I have problem with building dll-files, so I go to MinGW 
site and use their tutorial of building dll libraries. The dll was build 
perfectly, but that tutorial does not use libtool. So, I can make dll, but not 
for Synfig┘

Any ideas? What I▓m doing wrong?

Atrus.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to