Howto: Compiling FileZilla 3 under Windows

Moderator: Project members

Message
Author
User avatar
botg
Site Admin
Posts: 31574
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Howto: Compiling FileZilla 3 under Windows

#196 Post by botg » 2015-09-14 21:05

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?
Yes.

JeanA
504 Command not implemented
Posts: 8
Joined: 2015-09-09 17:51
First name: Jean

Re: Howto: Compiling FileZilla 3 under Windows

#197 Post by JeanA » 2015-09-14 21:07

I'll switch to that one next time then. Thank you again for all of your help. Have a great day!

User avatar
botg
Site Admin
Posts: 31574
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Howto: Compiling FileZilla 3 under Windows

#198 Post by botg » 2015-09-15 15:26

botg wrote:
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.
There's an m4 directory in the src subdirectory? That shouldn't be. I'll investigate.
Fixed in the repository.

JeanA
504 Command not implemented
Posts: 8
Joined: 2015-09-09 17:51
First name: Jean

Re: Howto: Compiling FileZilla 3 under Windows

#199 Post by JeanA » 2015-09-29 21:42

What needs to be added to the wiki instructions in order to compile FileZilla for use on a 32-bit Windows machine?

I've tried adding --host=i686-w64-mingw32 to each configure command (except zlib, which didn't accept it).

I've tried compiling using both the "MSYS2 Shell" shortcut as well as the "MinGW-w64 Win32 Shell" shortcut.

I get the following error during the make command for FileZilla:

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
Any help would be appreciated.

User avatar
botg
Site Admin
Posts: 31574
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Howto: Compiling FileZilla 3 under Windows

#200 Post by botg » 2015-09-30 08:23

What needs to be added to the wiki instructions in order to compile FileZilla for use on a 32-bit Windows machine?
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 --build

JeanA
504 Command not implemented
Posts: 8
Joined: 2015-09-09 17:51
First name: Jean

Re: Howto: Compiling FileZilla 3 under Windows

#201 Post by JeanA » 2015-09-30 21:47

Worked like a charm.

To quote TheCureForM$ from viewtopic.php?t=2188:
TheCureForM$ wrote:I love you.
:P

Starlord
500 Command not understood
Posts: 1
Joined: 2018-11-14 21:31
First name: First
Last name: Last

Re: Howto: Compiling FileZilla 3 under Windows

#202 Post by Starlord » 2018-11-14 21:46

Hey!

I would appreciate an update on https://wiki.filezilla-project.org/Comp ... er_Windows

Since the versions do not work (anymore?) i would be happy for some hits what versions are used for the current FileZilla on Windows. Did try the old versions and latest versions. The old msys2 from 2015 won't even update correctly on Win10. Changed to latest msys2-x86_64-20180531.exe and old requirements break on paths and dependencies. Latest versions won't do the trick from me because of version conflicts and so on. After four hours i gave up, since i was unable to find a hint for the the right magic ingredients.

Thanks!

Great Project

User avatar
botg
Site Admin
Posts: 31574
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Howto: Compiling FileZilla 3 under Windows

#203 Post by botg » 2018-11-21 21:11

The guide should now be updated.

Post Reply