idna.h?
Moderator: Project members
That file is part of libidn (http://www.gnu.org/software/libidn/) which is used to add support for international domain names.
Either comment that ports of the FZ code out or compile and install libidn (you may need to compile with mingw, VC++ may not be able to compile it)
Either comment that ports of the FZ code out or compile and install libidn (you may need to compile with mingw, VC++ may not be able to compile it)
@botg: How have you compiled libidn, using VC or MinGW? I used MinGW, but when linking libidn.a to FZ (compiled with VC) I still get some unresolved symbols:
Any hints how to resolve them?FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_strcasecmp', verwiesen in Funktion '_idna_to_unicode_internal'
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_libiconv_close', verwiesen in Funktion '_stringprep_convert'
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '___errno', verwiesen in Funktion '_stringprep_convert'
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_libiconv', verwiesen in Funktion '_stringprep_convert'
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_libiconv_open', verwiesen in Funktion '_stringprep_convert'
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_nl_langinfo', verwiesen in Funktion '_stringprep_locale_charset'
Thanks. Here's what I did:
(I'm using Cygwin with the MinGW headers, so I need to specify -mno-cygwin to make the Cygwin GCC use the MinGW runtime.)
But still then I get:
Code: Select all
./configure --without-libiconv CFLAGS=-mno-cygwin LDFLAGS=-mno-cygwin
But still then I get:
FileZilla warning LNK4217: Lokal definiertes Symbol __iob, importiert in Funktion _stringprep_convert
FileZilla error LNK2019: Nicht aufgelöstes externes Symbol '_strcasecmp', verwiesen in Funktion '_idna_to_unicode_internal'
FileZilla fatal error LNK1120: 1 unaufgelöste externe Verweise
Okay, here's finally what worked for me:
- Download & unpack ftp://alpha.gnu.org/pub/gnu/libidn/libidn-0.5.9.tar.gz
- Under Cygwin (with MinGW packages installed) run:
- Add libidn\lib to VC's include directories and libidn\lib\.libs to the library directories.
- Build FZ from the VS IDE using the supplied .sln file.
Now I'm finally able to work on the patches I was planning
- Download & unpack ftp://alpha.gnu.org/pub/gnu/libidn/libidn-0.5.9.tar.gz
- Under Cygwin (with MinGW packages installed) run:
in the directory where you unpacked libidn../configure --without-libiconv CFLAGS="-mno-cygwin -Dstrcasecmp=stricmp" LDFLAGS=-mno-cygwin
make
- Add libidn\lib to VC's include directories and libidn\lib\.libs to the library directories.
- Build FZ from the VS IDE using the supplied .sln file.
Now I'm finally able to work on the patches I was planning