incubator-mod_ftp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <ni...@acc.umu.se>
Subject Re: Status of mod_ftp?
Date Wed, 22 Nov 2006 14:45:32 GMT
On Tue, 21 Nov 2006, Niklas Edmundsson wrote:

>>> The simple example of how-to-build is already in STATUS.  I just updated
>>> it in trunk because we changed the depth from src/ to modules/ftp/.
>> 
>> OK. I'll give it a whirl when I find some time.
>
> It compiled, but it was rather noisy... A bunch of implicit declarations (ie 
> missing includes), argument type mismatches, format type mismatches (using %d 
> of printing const char * doesn't seem that correct), and so on.
>
> This is on Ubuntu Dapper, Linux i386 using gcc 4.0.3.
>
> I would strongly recommend to build your httpd with --enable-maintainer-mode 
> using gcc4 so you'll get -Wall in the compiler flags and then build mod_ftp 
> with apxs so you'll see the warnings.

I forgot to mention that this was with httpd 2.2.3 with the 
httpd-included APR.

However, i included a LoadModule in the server config, and it seems 
that mod_ftp doesn't even load since it uses obsolete functions 
(that's probably the reason for those "implicit declaration" errors).

Among the culprits are:
apr_explode_localtime (obsoleted by apr_time_exp_lt)
apr_sockaddr_port_set (obsoleted by apr_sockaddr_info_get)

and so on.

I'm not confident in how to handle the more complex changes (the 
apr_sockaddr_port_set related ones for example) since there are 
comments like "Magic here when port = 0" in the code, and the 
replacement functions doesn't explain that magic ;)

So, has anyone tried using this lately, or have you just been blindly 
compiling :)

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  Cereal Killer Strikes Again!...Last words "Nuttin Honey"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Mime
View raw message