httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: [VOTE] release httpd mod_ftp-0.9.3 beta?
Date Fri, 29 May 2009 19:02:45 GMT
Hi,
Jorge Schrauwen schrieb:
> ftp_commands.c: In function ‘ftp_cmd_pass’:
> ftp_commands.c:1080: error: ‘ap_loaded_modules’ undeclared (first use
> in this function)
> ftp_commands.c:1080: error: (Each undeclared identifier is reported only once
> ftp_commands.c:1080: error: for each function it appears in.)
> ftp_commands.c:1083: error: ‘ap_top_module’ undeclared (first use in
> this function)
> make[1]: *** [ftp_commands.slo] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/srv/.src/modules/mod_ftp/modules/ftp'
> make: *** [all-recursive] Error 1
> ---
strange; I get exactly same error for NetWare platfrom, and cant figure
out why this happens - these are defined in httpd_config.h which gets
included via mod_ftp.h from what I see ...

I've copied the declares from httpd_config.h into ftp_commands.c which
makes compilation pass this prob:

AP_DECLARE_DATA extern module **ap_loaded_modules;
AP_DECLARE_DATA extern module *ap_top_module;

but then next break happens in ftp_protcol.c with another missing define
from httpd.h:

Compiling ftp_protocol.c
### mwccnlm Compiler:
#    File: ftp_protocol.c
# -----------------------
#     166:                  if (pe->length + len >
DEFAULT_LIMIT_REQUEST_LINE +
2) {
#   Error:
^^^^^^^^^^^^^^^^^^^^^^^^^^
#   undefined identifier 'DEFAULT_LIMIT_REQUEST_LINE'
### mwccnlm Compiler:
#     180:                      if (new_size >
DEFAULT_LIMIT_REQUEST_LINE + 2) {

#   Error:                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
#   undefined identifier 'DEFAULT_LIMIT_REQUEST_LINE'


on my Linux SuSE 10.3 / httpd 2.2.11 I get:

/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -O2 -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED -DFTP_APXS_BUILD -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE  -DSSL_EXPERIMENTAL_ENGINE
-DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED -DMAXLINE=4096
-I/temp/devel/mod_ftp/modules/ftp -I/temp/devel/mod_ftp/modules/ftp
-I/temp/devel/mod_ftp/include-I/usr/include/apache2 -I.
-I/usr/include/apr-1 -prefer-pic -c ftp_lowportd.c && touch ftp_lowportd.slo
ftp_lowportd.c:24:17: error: mpm.h: Datei oder Verzeichnis nicht gefunden
ftp_lowportd.c: In function ‘lowportd_server’:
ftp_lowportd.c:401: error: ‘ap_server_conf’ undeclared (first use in
this function)
ftp_lowportd.c:401: error: (Each undeclared identifier is reported only once
ftp_lowportd.c:401: error: for each function it appears in.)
ftp_lowportd.c: In function ‘lowportd_maint’:
ftp_lowportd.c:520: error: ‘ap_server_conf’ undeclared (first use in
this function)
make[2]: *** [ftp_lowportd.slo] Fehler 1
make[2]: Leaving directory `/temp/devel/mod_ftp/modules/ftp'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/temp/devel/mod_ftp/modules/ftp'
make: *** [install-recursive] Fehler 1


need to dig some further why these all happen ...

Günter.



Mime
View raw message