httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hwee Khoon, Neo" <hweekhoon....@pacific.net.sg>
Subject [users@httpd] APXS in apache 1 and apache 2 - any big difference
Date Tue, 08 Feb 2005 04:26:42 GMT
Hi all,

I am compiling an application that requires reference to apxs
(--with-apxs=/usr/local/apache/bin/apxs)

using apxs found in apache2, I got numerous error. I am thinking of using
the apxs found in apache 1 to compile (which is ok)


will there be serious side effect in doing so (in the long run)?

Thanks.







Doing configure I encounter this: checking for Apache module support via DSO
through APXS... configure: warning: Your apxs seems to be broken
(CFG_LD_SHLIB probably not defined)


Doing make I encounter this whole bunch:



rm -f mod_auth_tacacs.o mod_tac_utils.o mod_tac_packet.o mod_tac_authen.o
mod_tac_author.o mod_tac_account.o md5.o
/usr/local/apache2/bin/apxs -c -DHAVE_CONFIG_H -I. -I. -I. -I
/usr/local/apache2/include \
                -Wc,-g -Wc,-O2 \
                 \
                 \
                -o libauth_tacacs.so mod_auth_tacacs.c  mod_tac_utils.c
mod_tac_packet.c mod_tac_authen.c        mod_tac_author.c
mod_tac_account.c       md5.c
/usr/local/apache2/build/libtool --silent --mode=compile
cc -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_X
OPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -
I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apa
che2/include -I/usr/local/BerkeleyDB.4.2/include  -g -O2 -I. -I. -I. -I/usr/
local/apache2/include -DHAVE_CONFIG_H  -c -o mod_auth_tacacs.lo
mod_auth_tacacs.c && touch mod_auth_tacacs.slo
mod_auth_tacacs.c:145:31: http_conf_globals.h: No such file or directory
mod_auth_tacacs.c:224: error: parse error before '*' token
mod_auth_tacacs.c: In function `tacacs_create_sconf':
mod_auth_tacacs.c:228: error: `s' undeclared (first use in this function)
mod_auth_tacacs.c:228: error: (Each undeclared identifier is reported only
once
mod_auth_tacacs.c:228: error: for each function it appears in.)
mod_auth_tacacs.c:230: warning: passing arg 5 of `ap_log_error' from
incompatible pointer type
mod_auth_tacacs.c:230: warning: passing arg 6 of `ap_log_error' makes
pointer from integer without a cast
mod_auth_tacacs.c:236: error: `p' undeclared (first use in this function)
mod_auth_tacacs.c:245: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c:248: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c: At top level:
mod_auth_tacacs.c:260: error: parse error before '*' token
mod_auth_tacacs.c: In function `tacacs_create_dconf':
mod_auth_tacacs.c:262: error: `p' undeclared (first use in this function)
mod_auth_tacacs.c: In function `tacacs_cfg_pri_host':
mod_auth_tacacs.c:281: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c:286: warning: passing arg 4 of `ap_log_error' makes
integer from pointer without a cast
mod_auth_tacacs.c:286: warning: passing arg 5 of `ap_log_error' from
incompatible pointer type
mod_auth_tacacs.c:286: warning: passing arg 6 of `ap_log_error' makes
pointer from integer without a cast
mod_auth_tacacs.c: In function `tacacs_cfg_pri_key':
mod_auth_tacacs.c:325: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c: In function `tacacs_cfg_sec_host':
mod_auth_tacacs.c:344: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c:349: warning: passing arg 4 of `ap_log_error' makes
integer from pointer without a cast
mod_auth_tacacs.c:349: warning: passing arg 5 of `ap_log_error' from
incompatible pointer type
mod_auth_tacacs.c:349: warning: passing arg 6 of `ap_log_error' makes
pointer from integer without a cast
mod_auth_tacacs.c: In function `tacacs_cfg_sec_key':
mod_auth_tacacs.c:388: warning: assignment makes pointer from integer
without a cast
mod_auth_tacacs.c: At top level:
mod_auth_tacacs.c:416: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:418: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:420: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:422: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:424: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:426: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:428: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:430: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:431: error: parse error before "tacacs_dconf"
mod_auth_tacacs.c:431: error: initializer element is not constant
mod_auth_tacacs.c:431: error: (near initialization for
`tacacs_cmds[7].cmd_data')
mod_auth_tacacs.c:432: error: initializer element is not constant
mod_auth_tacacs.c:432: error: (near initialization for `tacacs_cmds[7]')
mod_auth_tacacs.c:433: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:434: error: parse error before "tacacs_dconf"
mod_auth_tacacs.c:434: error: initializer element is not constant
mod_auth_tacacs.c:434: error: (near initialization for
`tacacs_cmds[8].func')
mod_auth_tacacs.c:434: error: initializer element is not constant
mod_auth_tacacs.c:434: error: (near initialization for
`tacacs_cmds[8].cmd_data')
mod_auth_tacacs.c:435: error: initializer element is not constant
mod_auth_tacacs.c:435: error: (near initialization for `tacacs_cmds[8]')
mod_auth_tacacs.c:436: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:437: error: parse error before "tacacs_dconf"
mod_auth_tacacs.c:437: error: initializer element is not constant
mod_auth_tacacs.c:437: error: (near initialization for
`tacacs_cmds[9].func')
mod_auth_tacacs.c:437: error: initializer element is not constant
mod_auth_tacacs.c:437: error: (near initialization for
`tacacs_cmds[9].cmd_data')
mod_auth_tacacs.c:438: error: initializer element is not constant
mod_auth_tacacs.c:438: error: (near initialization for `tacacs_cmds[9]')
mod_auth_tacacs.c:439: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:439: error: initializer element is not constant
mod_auth_tacacs.c:439: error: (near initialization for
`tacacs_cmds[10].func')
mod_auth_tacacs.c:440: error: initializer element is not constant
mod_auth_tacacs.c:440: error: (near initialization for `tacacs_cmds[10]')
mod_auth_tacacs.c:441: warning: initialization from incompatible pointer
type
mod_auth_tacacs.c:441: error: initializer element is not constant
mod_auth_tacacs.c:441: error: (near initialization for
`tacacs_cmds[11].func')
mod_auth_tacacs.c:442: error: initializer element is not constant
mod_auth_tacacs.c:442: error: (near initialization for `tacacs_cmds[11]')
mod_auth_tacacs.c:443: error: initializer element is not constant
mod_auth_tacacs.c:443: error: (near initialization for `tacacs_cmds[12]')
mod_auth_tacacs.c: In function `tacacs_check_auth':
mod_auth_tacacs.c:473: error: `AUTH_REQUIRED' undeclared (first use in this
function)
mod_auth_tacacs.c:493: warning: passing arg 4 of `ap_log_rerror' makes
integer from pointer without a cast
mod_auth_tacacs.c:493: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_auth_tacacs.c:493: error: too few arguments to function `ap_log_rerror'
mod_auth_tacacs.c:511: warning: passing arg 4 of `ap_log_rerror' makes
integer from pointer without a cast
mod_auth_tacacs.c:511: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_auth_tacacs.c:511: warning: passing arg 6 of `ap_log_rerror' makes
pointer from integer without a cast
mod_auth_tacacs.c:518: warning: passing arg 4 of `ap_log_rerror' makes
integer from pointer without a cast
mod_auth_tacacs.c:518: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_auth_tacacs.c:518: warning: passing arg 6 of `ap_log_rerror' makes
pointer from integer without a cast
mod_auth_tacacs.c:528: warning: passing arg 4 of `ap_log_rerror' makes
integer from pointer without a cast
mod_auth_tacacs.c:528: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_auth_tacacs.c:528: warning: passing arg 6 of `ap_log_rerror' makes
pointer from integer without a cast
mod_auth_tacacs.c:535: error: structure has no member named `user'
mod_auth_tacacs.c:535: error: structure has no member named `user'
mod_auth_tacacs.c:535: error: structure has no member named `user'
mod_auth_tacacs.c:535: error: structure has no member named `user'
mod_auth_tacacs.c:535: error: structure has no member named `user'
mod_auth_tacacs.c:556: warning: passing arg 4 of `ap_log_rerror' makes
integer from pointer without a cast
mod_auth_tacacs.c:556: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_auth_tacacs.c:556: warning: passing arg 6 of `ap_log_rerror' makes
pointer from integer without a cast
mod_auth_tacacs.c: In function `tacacs_check_access':
mod_auth_tacacs.c:634: error: structure has no member named `user'
mod_auth_tacacs.c:639: error: syntax error before '*' token
mod_auth_tacacs.c:642: error: `reqs_arr' undeclared (first use in this
function)
mod_auth_tacacs.c:667: error: `AUTH_REQUIRED' undeclared (first use in this
function)
mod_auth_tacacs.c: At top level:
mod_auth_tacacs.c:670: error: parse error before "auth_tacacs_module"
mod_auth_tacacs.c:670: error: conflicting types for `auth_tacacs_module'
mod_auth_tacacs.c:219: error: previous declaration of `auth_tacacs_module'
mod_auth_tacacs.c:671: error: `this_module_needs_to_be_ported_to_apache_2_0'
undeclared here (not in a function)
mod_auth_tacacs.c:671: error: initializer element is not constant
mod_auth_tacacs.c:671: error: (near initialization for `auth_tacacs_module')
mod_auth_tacacs.c:672: warning: excess elements in scalar initializer
mod_auth_tacacs.c:672: warning: (near initialization for
`auth_tacacs_module')
mod_auth_tacacs.c:673: warning: excess elements in scalar initializer
mod_auth_tacacs.c:673: warning: (near initialization for
`auth_tacacs_module')
mod_auth_tacacs.c:674: warning: excess elements in scalar initializer



Rgds,
HK


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message