Menu

#1 mod_auth_tkt-2.0.0b7 does not compile

open
nobody
None
5
2005-11-15
2005-11-15
Anonymous
No

errors in mod_auth_tkt.c
mod_auth_tkt-2.0.0b7 does not compile

ns5:/home/admin/mod_auth_tkt-2.0.0b7# make
cd src && make all
make[1]: Entering directory
`/home/admin/mod_auth_tkt-2.0.0b7/src'
/usr/bin/apxs -c -Wc,"-g -DDEBUG -DDEBUG_VERBOSE -Wall
-ansi -pedantic -Wno-implicit-function-declaration
-Wno-long-long -DAPACHE13" mod_auth_tkt.c
gcc -DLINUX=22 -DEAPI -DTARGET="apache"
-DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1 -g -Wall
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC
-DSHARED_MODULE -I/usr/include/apache-1.3 -g -DDEBUG
-DDEBUG_VERBOSE -Wall -ansi -pedantic
-Wno-implicit-function-declaration -Wno-long-long
-DAPACHE13 -c mod_auth_tkt.c
In file included from /usr/include/sys/sem.h:28,
from
/usr/include/apache-1.3/ap_config.h:463,
from /usr/include/apache-1.3/httpd.h:29,
from mod_auth_tkt.c:2:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files
using this header must be compiled with _SVID_SOURCE or
_XOPEN_SOURCE"
In file included from mod_auth_tkt.c:10:
ap_compat.h:14:43: warning: anonymous variadic macros
were introduced in C99
ap_compat.h:15:44: warning: anonymous variadic macros
were introduced in C99
mod_auth_tkt.c: In function `send_auth_cookie':
mod_auth_tkt.c:544: error: `ap_exploded_time_t'
undeclared (first use in this function)
mod_auth_tkt.c:544: error: (Each undeclared identifier
is reported only once
mod_auth_tkt.c:544: error: for each function it appears
in.)
mod_auth_tkt.c:544: error: syntax error before "tms"
mod_auth_tkt.c:553: error: `tms' undeclared (first use
in this function)
mod_auth_tkt.c: In function `auth_tkt_check':
mod_auth_tkt.c:1115: warning: unused variable `guest_user'
mod_auth_tkt.c:1116: warning: unused variable
`guest_user_length'
mod_auth_tkt.c:1117: warning: unused variable `timeout'
mod_auth_tkt.c: At top level:
mod_auth_tkt.c:1231: error: syntax error before "if"
mod_auth_tkt.c:1243: error: syntax error before numeric
constant
mod_auth_tkt.c:1243: warning: type defaults to `int' in
declaration of `refresh_cookie'
mod_auth_tkt.c:1243: error: conflicting types for
`refresh_cookie'
mod_auth_tkt.c:805: error: previous declaration of
`refresh_cookie'
mod_auth_tkt.c:1243: error: ISO C forbids data
definition with no type or storage class
mod_auth_tkt.c:1254: error: syntax error before '->' token
mod_auth_tkt.c:1254: warning: type defaults to `int' in
declaration of `ap_table_set'
mod_auth_tkt.c:1254: error: conflicting types for
`ap_table_set'
/usr/include/apache-1.3/ap_alloc.h:194: error: previous
declaration of `ap_table_set'
mod_auth_tkt.c:1254: error: ISO C forbids data
definition with no type or storage class
mod_auth_tkt.c:1255: error: syntax error before '->' token
mod_auth_tkt.c:1255: warning: type defaults to `int' in
declaration of `ap_table_set'
mod_auth_tkt.c:1255: error: ISO C forbids data
definition with no type or storage class
mod_auth_tkt.c:1256: error: syntax error before '->' token
mod_auth_tkt.c:1256: warning: type defaults to `int' in
declaration of `ap_table_set'
mod_auth_tkt.c:1256: error: ISO C forbids data
definition with no type or storage class
mod_auth_tkt.c:758: warning: `check_tokens' defined but
not used
mod_auth_tkt.c:849: warning: `check_timeout' defined
but not used
apxs:Break: Command failed with rc=1
make[1]: *** [mod_auth_tkt.so] Error 1
make[1]: Leaving directory
`/home/admin/mod_auth_tkt-2.0.0b7/src'
make: *** [all] Error 2

Discussion


Log in to post a comment.

MongoDB Logo MongoDB