Re: Howto: Compiling FileZilla 3 under Windows
Posted: 2015-09-14 21:05
Yes.JeanA wrote:So would the original configure command have worked if I had been using the one labeled "MSYS2 Shell" which references the msys2_shell.bat file?
Welcome to the official discussion forums for FileZilla
https://forum.filezilla-project.org/
https://forum.filezilla-project.org/viewtopic.php?f=3&t=1227
Yes.JeanA wrote:So would the original configure command have worked if I had been using the one labeled "MSYS2 Shell" which references the msys2_shell.bat file?
Fixed in the repository.botg wrote:There's an m4 directory in the src subdirectory? That shouldn't be. I'll investigate.I'm not sure if it means anything, but after running autoreconf -i, the m4/libtool.m4 file had "serial 58 LT_INIT" in it and the src/m4/libtool.m4 still had "serial 57 LT_INIT". I tried copying all the *.m4 files that autoreconf updated in the m4 directory to the src/m4 directory so that they'd match but that didn't help either.
Code: Select all
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0xddb): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0xe2e): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x2619): undefined reference to `adler32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x262d): undefined reference to `adler32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x26e0): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x26f4): undefined reference to `crc32'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_png.o):png.c:(.text+0x1b52): undefined reference to `inflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngread.o):pngread.c:(.text+0x4856): undefined reference to `inflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x2e4): undefined reference to `inflateReset2'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x31e): undefined reference to `inflateInit2_'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x4e8): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x68a): undefined reference to `inflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0xab7): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x4771): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngrutil.o):pngrutil.c:(.text+0x47c9): undefined reference to `inflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwrite.o):pngwrite.c:(.text+0x1aee): undefined reference to `deflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x2aa): undefined reference to `deflateInit2_'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x2f2): undefined reference to `deflateEnd'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x382): undefined reference to `deflateReset'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x775): undefined reference to `deflate'
C:/msys64/home/jean/prefix/lib/libwxpng-3.0-i686-w64-mingw32.a(wxpng_pngwutil.o):pngwutil.c:(.text+0x11fd): undefined reference to `deflate'
collect2.exe: error: ld returned 1 exit status
Makefile:873: recipe for target 'filezilla.exe' failed
make[4]: *** [filezilla.exe] Error 1
make[4]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:2586: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:736: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/jean/filezilla/src/interface'
Makefile:409: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jean/filezilla/src'
Makefile:593: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
You need to start over and when setting the environment variables, make sure the 32bit stuff comes before the 64bit stuff. Make sure to configure everything with i686-w64-mingw32 as argument to --buildWhat needs to be added to the wiki instructions in order to compile FileZilla for use on a 32-bit Windows machine?
TheCureForM$ wrote:I love you.
Thanks, that did the trick!
Should be updated.$ svn co http://filezilla.svn.sourceforge.net/sv ... lla3/trunk FileZilla3
Redirecting to URL 'https://sourceforge.net/projects/filezilla':
svn: E170013: Unable to connect to a repository at URL 'https://sourceforge.net/projects/filezilla'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: syntax error
There is no configure script.$ mkdir compile
$ cd compile
$ ../configure
bash: ../configure: No such file or directory
botg wrote: ↑2005-08-01 23:52Please follow the instructions in the Wiki: https://wiki.filezilla-project.org/Comp ... er_Windows