Problem compiling mod_auth_kerb
Hála Václav
hala at kraj-jihocesky.cz
Fri Mar 19 01:41:27 PST 2004
Hello,
I have problem compile mod_auth_kerb for apache2 on FreeBSD 5.2.1.
--------------------------------------------
Script started on Fri Mar 19 10:35:05 2004
You have mail.
[1mroot at nagios[m:/usr/ports/www/mod_auth_kerb# make clean && make
===> Cleaning for libiconv-1.9.1_3
===> Cleaning for gettext-0.13.1_1
===> Cleaning for gmake-3.80_2
===> Cleaning for libtool-1.3.5_2
===> Cleaning for m4-1.4_1
===> Cleaning for perl-5.6.1_15
===> Cleaning for krb5-1.3.2
===> Cleaning for expat-1.95.7
===> Cleaning for apache-1.3.29_3
===> Cleaning for mod_auth_kerb-4.11_1
===> Vulnerability check disabled
===> Extracting for mod_auth_kerb-4.11_1
>> Checksum OK for mod_auth_kerb-4.11.tar.gz.
===> Patching for mod_auth_kerb-4.11_1
===> mod_auth_kerb-4.11_1 depends on file: /usr/local/sbin/apxs -
found
===> mod_auth_kerb-4.11_1 depends on shared library: krb5.3 - found
===> Configuring for mod_auth_kerb-4.11_1
===> Building for mod_auth_kerb-4.11_1
cd /usr/ports/www/mod_auth_kerb/work/src/modules/kerberos &&
/usr/local/sbin/apxs -I/usr/local/include -DKRB5 -DKRB5_VERIFY_TICKET
-DKRB5_SAVE_CREDENTIALS
-DKRB5_DEFAULT_KEYTAB=\"\\\"FILE:/usr/local/etc/apache/keytab\\\"\"
-Dkerb_auth_module=auth_kerb_module -c mod_auth_kerb.c
-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto
-lcom_err
/usr/local/share/apache2/build/libtool --silent --mode=compile cc -O
-pipe -mcpu=pentiumpro -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT
-D_THREAD_SAFE -I/usr/local/include/apache2
-I/usr/local/include/apache2 -I/usr/local/include/apache2
-I/usr/local/include -I/usr/local/include -DKRB5 -DKRB5_VERIFY_TICKET
-DKRB5_SAVE_CREDENTIALS
-DKRB5_DEFAULT_KEYTAB="\"FILE:/usr/local/etc/apache/keytab\""
-Dkerb_auth_module=auth_kerb_module -c -o mod_auth_kerb.lo
mod_auth_kerb.c && touch mod_auth_kerb.slo
mod_auth_kerb.c:322: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:323: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:323: error: initializer element is not constant
mod_auth_kerb.c:323: error: (near initialization for
`kerb_auth_cmds[0].cmd_data')
mod_auth_kerb.c:324: error: initializer element is not constant
mod_auth_kerb.c:324: error: (near initialization for
`kerb_auth_cmds[0]')
mod_auth_kerb.c:326: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:327: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:327: error: initializer element is not constant
mod_auth_kerb.c:327: error: (near initialization for
`kerb_auth_cmds[1].func')
mod_auth_kerb.c:327: error: initializer element is not constant
mod_auth_kerb.c:327: error: (near initialization for
`kerb_auth_cmds[1].cmd_data')
mod_auth_kerb.c:328: error: initializer element is not constant
mod_auth_kerb.c:328: error: (near initialization for
`kerb_auth_cmds[1]')
mod_auth_kerb.c:330: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:331: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:331: error: initializer element is not constant
mod_auth_kerb.c:331: error: (near initialization for
`kerb_auth_cmds[2].func')
mod_auth_kerb.c:331: error: initializer element is not constant
mod_auth_kerb.c:331: error: (near initialization for
`kerb_auth_cmds[2].cmd_data')
mod_auth_kerb.c:332: error: initializer element is not constant
mod_auth_kerb.c:332: error: (near initialization for
`kerb_auth_cmds[2]')
mod_auth_kerb.c:334: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:335: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:335: error: initializer element is not constant
mod_auth_kerb.c:335: error: (near initialization for
`kerb_auth_cmds[3].func')
mod_auth_kerb.c:335: error: initializer element is not constant
mod_auth_kerb.c:335: error: (near initialization for
`kerb_auth_cmds[3].cmd_data')
mod_auth_kerb.c:336: error: initializer element is not constant
mod_auth_kerb.c:336: error: (near initialization for
`kerb_auth_cmds[3]')
mod_auth_kerb.c:339: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:340: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:340: error: initializer element is not constant
mod_auth_kerb.c:340: error: (near initialization for
`kerb_auth_cmds[4].func')
mod_auth_kerb.c:340: error: initializer element is not constant
mod_auth_kerb.c:340: error: (near initialization for
`kerb_auth_cmds[4].cmd_data')
mod_auth_kerb.c:341: error: initializer element is not constant
mod_auth_kerb.c:341: error: (near initialization for
`kerb_auth_cmds[4]')
mod_auth_kerb.c:357: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:358: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:358: error: initializer element is not constant
mod_auth_kerb.c:358: error: (near initialization for
`kerb_auth_cmds[5].func')
mod_auth_kerb.c:358: error: initializer element is not constant
mod_auth_kerb.c:358: error: (near initialization for
`kerb_auth_cmds[5].cmd_data')
mod_auth_kerb.c:359: error: initializer element is not constant
mod_auth_kerb.c:359: error: (near initialization for
`kerb_auth_cmds[5]')
mod_auth_kerb.c:362: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:363: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:363: error: initializer element is not constant
mod_auth_kerb.c:363: error: (near initialization for
`kerb_auth_cmds[6].func')
mod_auth_kerb.c:363: error: initializer element is not constant
mod_auth_kerb.c:363: error: (near initialization for
`kerb_auth_cmds[6].cmd_data')
mod_auth_kerb.c:364: error: initializer element is not constant
mod_auth_kerb.c:364: error: (near initialization for
`kerb_auth_cmds[6]')
mod_auth_kerb.c:366: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:367: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:367: error: initializer element is not constant
mod_auth_kerb.c:367: error: (near initialization for
`kerb_auth_cmds[7].func')
mod_auth_kerb.c:367: error: initializer element is not constant
mod_auth_kerb.c:367: error: (near initialization for
`kerb_auth_cmds[7].cmd_data')
mod_auth_kerb.c:368: error: initializer element is not constant
mod_auth_kerb.c:368: error: (near initialization for
`kerb_auth_cmds[7]')
mod_auth_kerb.c:373: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:374: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:374: error: initializer element is not constant
mod_auth_kerb.c:374: error: (near initialization for
`kerb_auth_cmds[8].func')
mod_auth_kerb.c:374: error: initializer element is not constant
mod_auth_kerb.c:374: error: (near initialization for
`kerb_auth_cmds[8].cmd_data')
mod_auth_kerb.c:375: error: initializer element is not constant
mod_auth_kerb.c:375: error: (near initialization for
`kerb_auth_cmds[8]')
mod_auth_kerb.c:377: warning: initialization from incompatible pointer
type
mod_auth_kerb.c:378: error: syntax error before "kerb_auth_config_rec"
mod_auth_kerb.c:378: error: initializer element is not constant
mod_auth_kerb.c:378: error: (near initialization for
`kerb_auth_cmds[9].func')
mod_auth_kerb.c:378: error: initializer element is not constant
mod_auth_kerb.c:378: error: (near initialization for
`kerb_auth_cmds[9].cmd_data')
mod_auth_kerb.c:379: error: initializer element is not constant
mod_auth_kerb.c:379: error: (near initialization for
`kerb_auth_cmds[9]')
mod_auth_kerb.c:380: error: initializer element is not constant
mod_auth_kerb.c:380: error: (near initialization for
`kerb_auth_cmds[10]')
mod_auth_kerb.c: In function `kerb_default_user':
mod_auth_kerb.c:720: error: structure has no member named `user'
mod_auth_kerb.c:738: error: structure has no member named `user'
mod_auth_kerb.c:750: error: structure has no member named `user'
mod_auth_kerb.c:776: error: `SERVER_ERROR' undeclared (first use in
this function)
mod_auth_kerb.c:776: error: (Each undeclared identifier is reported
only once
mod_auth_kerb.c:776: error: for each function it appears in.)
mod_auth_kerb.c: In function `kerb_validate_user_pass_V5':
mod_auth_kerb.c:844: error: `SERVER_ERROR' undeclared (first use in
this function)
mod_auth_kerb.c:863: error: structure has no member named `user'
mod_auth_kerb.c:881: error: `F_OK' undeclared (first use in this
function)
mod_auth_kerb.c:1230: error: structure has no member named `user'
mod_auth_kerb.c:1240: error: structure has no member named `user'
mod_auth_kerb.c:1254: error: structure has no member named `user'
mod_auth_kerb.c: In function `kerb_validate_ticket_V5':
mod_auth_kerb.c:1444: error: structure has no member named `user'
mod_auth_kerb.c:1445: error: structure has no member named
`ap_auth_type'
mod_auth_kerb.c:1532: error: structure has no member named `user'
mod_auth_kerb.c: In function `kerb_authenticate_user':
mod_auth_kerb.c:1680: error: structure has no member named `user'
mod_auth_kerb.c:1681: error: structure has no member named
`ap_auth_type'
mod_auth_kerb.c:1713: error: structure has no member named `user'
mod_auth_kerb.c: At top level:
mod_auth_kerb.c:1924: error: syntax error before '*' token
mod_auth_kerb.c: In function `create_kerb_auth_dir_config':
mod_auth_kerb.c:1928: error: `p' undeclared (first use in this
function)
mod_auth_kerb.c: At top level:
mod_auth_kerb.c:1958: error:
`this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in
a function)
mod_auth_kerb.c:1958: error: initializer element is not constant
mod_auth_kerb.c:1958: error: (near initialization for
`auth_kerb_module.version')
mod_auth_kerb.c:1960: warning: initialization makes integer from
pointer without a cast
mod_auth_kerb.c:1964: warning: initialization makes integer from
pointer without a cast
mod_auth_kerb.c:1967: warning: initialization from incompatible
pointer type
mod_auth_kerb.c:1977: warning: excess elements in struct initializer
mod_auth_kerb.c:1977: warning: (near initialization for
`auth_kerb_module')
apxs:Error: Command failed with rc=65536
.
*** Error code 1
Stop in /usr/ports/www/mod_auth_kerb.
[1mroot at nagios[m:/usr/ports/www/mod_auth_kerb#
[1mroot at nagios[m:/usr/ports/www/mod_auth_kerb#
[1mroot at nagios[m:/usr/ports/www/mod_auth_kerb# ^Dexit
Script done on Fri Mar 19 10:35:59 2004
---------------------------
Thanks, V.Hala, hala at kraj-jihocesky.cz
More information about the freebsd-ports
mailing list