Compiling FileZilla Server Using Visual Studio 2005
Moderator: Project members
Re: Compiling FileZilla Server Using Visual Studio 2005
I tried to add "BOOL" to the function and it compiled with about 250 warnings, but no errors so it worked fine for me:
BOOL CControlSocket::CreateTransferSocket(CTransferSocket *pTransferSocket)
Please, is there any database with precise description of all the bugs reported or fixed?
I found a list of fixed bugs, in the readme.txt file, but this list is rather a general description of things, that have been changed, like this example:
-------------------------------------------------------
Version 0.9.22
Fixed bugs:
* Fix denial of service vulnerability due to nullpointer dereference.
-------------------------------------------------------
- I would need a more detailed description of this bug - like: the file where this bug was found, and perhaps which code was changed. Can I find this somewhere?
I need this, because I will try to analyze an older version of FilaZilla Server with a source code analyzer and will try to find out, whether the source code analyzer was able to find those "old" reported or fixed bugs in the code. If its working, than I will be able to find some new bugs in the newest version of FileZillaServer as well.
I also checked some tickets on http://trac.filezilla-project.org/wiki/Queries, but its more like a description of the behavior of FileZillaServer.
BOOL CControlSocket::CreateTransferSocket(CTransferSocket *pTransferSocket)
Please, is there any database with precise description of all the bugs reported or fixed?
I found a list of fixed bugs, in the readme.txt file, but this list is rather a general description of things, that have been changed, like this example:
-------------------------------------------------------
Version 0.9.22
Fixed bugs:
* Fix denial of service vulnerability due to nullpointer dereference.
-------------------------------------------------------
- I would need a more detailed description of this bug - like: the file where this bug was found, and perhaps which code was changed. Can I find this somewhere?
I need this, because I will try to analyze an older version of FilaZilla Server with a source code analyzer and will try to find out, whether the source code analyzer was able to find those "old" reported or fixed bugs in the code. If its working, than I will be able to find some new bugs in the newest version of FileZillaServer as well.
I also checked some tickets on http://trac.filezilla-project.org/wiki/Queries, but its more like a description of the behavior of FileZillaServer.
Re: Compiling FileZilla Server Using Visual Studio 2005
Have a look at the SVN history for recent changes and the CVS history for older versions of FZS. The latter is also available at http://filezilla-project.org/changelog. ... changes=25, but the more recent changes done in the SVN repository aren't displayed there for FZS.
See http://sourceforge.net/projects/filezilla/develop for the repository addresses.
See http://sourceforge.net/projects/filezilla/develop for the repository addresses.
-
- 500 Command not understood
- Posts: 1
- Joined: 2010-01-06 00:46
- First name: Lucky
- Last name: Dev
Re: Compiling FileZilla Server Using Visual Studio 2005
hi,
I download source code from http://svn.filezilla-project.org/svn/Fi ... ver/trunk/
I have no problems in 32bit compilation... now I'm trying the 64bit
I got "only" this 4 errors during linking:
and Visual Studio suggests:
So if I use option /NODEFAULTLIB:MSVCRT I can compile FZ Server,
but is it a good solution or I should modify anything else?
(sorry for my english)
I download source code from http://svn.filezilla-project.org/svn/Fi ... ver/trunk/
I have no problems in 32bit compilation... now I'm trying the 64bit
I got "only" this 4 errors during linking:
Code: Select all
MSVCRT.lib(MSVCR90.dll) : error LNK2005: malloc già definito in LIBCMT.lib(malloc.obj)
MSVCRT.lib(MSVCR90.dll) : error LNK2005: free già definito in LIBCMT.lib(free.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __cdecl type_info::type_info(class type_info const &)" (??0type_info@@AEAA@AEBV0@@Z) già definito in LIBCMT.lib(typinfo.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __cdecl type_info::operator=(class type_info const &)" (??4type_info@@AEAAAEAV0@AEBV0@@Z) già definito in LIBCMT.lib(typinfo.obj)
Code: Select all
LINK : warning LNK4098: la libreria predefinita 'MSVCRT' è in conflitto con l'utilizzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
but is it a good solution or I should modify anything else?
(sorry for my english)
Re: Compiling FileZilla Server Using Visual Studio 2005
There's probably quite some other stuff in the source of FileZilla Server that isn't 64bit aware but doesn't throw compiler errors.
-
- 504 Command not implemented
- Posts: 6
- Joined: 2012-04-07 21:03
- First name: Ahmed
- Last name: Esawy
Re: Compiling FileZilla Server Using Visual Studio 2005
Hi
Iam trying to build FileZilla Server Using VS 2008 - 32bit
I followed the mentioned steps
1- boost_1_47_setup
2- zlib-1.2.4 then compile "Release Lib"
3- Edit FileZile Server Depenedices
4- Build
Iam Getting the following Linking Errors :
Any Help ?
Thanks
Iam trying to build FileZilla Server Using VS 2008 - 32bit
I followed the mentioned steps
1- boost_1_47_setup
2- zlib-1.2.4 then compile "Release Lib"
3- Edit FileZile Server Depenedices
4- Build
Iam Getting the following Linking Errors :
Code: Select all
Error 10 error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) MSVCRT.lib Service
Error 11 error LNK2005: _free already defined in LIBCMT.lib(free.obj) MSVCRT.lib Service
Error 12 error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) MSVCRT.lib Service
Error 13 error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj) MSVCRT.lib Service
Error 15 fatal error LNK1169: one or more multiply defined symbols found .\Release/FileZilla server.exe Service
Thanks
Re: Compiling FileZilla Server Using Visual Studio 2005
Different runtime libraries. Make sure all dependencies are compiled with the same runtime as FileZilla Server. Multi-threaded, non-dll, as in /MT
-
- 504 Command not implemented
- Posts: 6
- Joined: 2012-04-07 21:03
- First name: Ahmed
- Last name: Esawy
Re: Compiling FileZilla Server Using Visual Studio 2005
Thanks Toooooooo Much
I built it successfully
I built it successfully
-
- 504 Command not implemented
- Posts: 6
- Joined: 2012-04-07 21:03
- First name: Ahmed
- Last name: Esawy
Re: Compiling FileZilla Server Using Visual Studio 2005
Hi
I want to add new feature to the authentication for the users .
they will use OTP for the authentication . for each user configuration page , there is check box as shown in the image.
the problem that i can't save the option in FileZilla Server.xml
I made the following :
1- Add check box in IDD_USERS_GENERAL
2- add contol var & value var in UserDlgGeneral
3- edit displayuser & saveuser
4- in Permsioins file :
add setkey for otp
red otp
the stored value is not correct .
so what i have to do to add check box in UserDlgGeneral and save it ?
I want to add new feature to the authentication for the users .
they will use OTP for the authentication . for each user configuration page , there is check box as shown in the image.
the problem that i can't save the option in FileZilla Server.xml
I made the following :
1- Add check box in IDD_USERS_GENERAL
2- add contol var & value var in UserDlgGeneral
3- edit displayuser & saveuser
4- in Permsioins file :
add setkey for otp
red otp
the stored value is not correct .
so what i have to do to add check box in UserDlgGeneral and save it ?
- Attachments
-
- IMAGE.png (22.59 KiB) Viewed 11094 times
Re: Compiling FileZilla Server Using Visual Studio 2005
Got a unified context diff?