Hi!
Дано:
FreeBSD 2.2.7
PostreSQL 6.3.2 ставил из ports (это будет заметно по путям)
mod_auth_pg95.c взят из ftp.apache.org/.../contrib
сказано configure --add-module=mod_auth_pg95.c, после всего
подправлен Makefile на предмет EXTRA_LIBS и EXTRA_INCLUDES
Может я взял не тот mod_auth? Что-то сегодня совсем нет
настроения править все это дело руками...
gcc -c -I../../os/unix -I../../include -I/usr/src/ports/databases/postgresql
/work/postgresql-6.3.2/src/interfaces/libpq -I/usr/src/ports/databases/postgr
esql/work/postgresql-6.3.2/src/include -funsigned-char -DRUSSIAN_APACHE -DST
ATUS `../../apaci` mod_auth_pg95.c
mod_auth_pg95.c: In function `create_pg_auth_dir_config':
mod_auth_pg95.c:186: warning: assignment makes pointer from integer without a
cast
mod_auth_pg95.c: At top level:
mod_auth_pg95.c:216: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:216: initializer element for `pg_auth_cmds[0].func' is not
constant
mod_auth_pg95.c:220: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:220: initializer element for `pg_auth_cmds[1].func' is not
constant
mod_auth_pg95.c:224: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:224: initializer element for `pg_auth_cmds[2].func' is not
constant
mod_auth_pg95.c:228: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:228: initializer element for `pg_auth_cmds[3].func' is not
constant
mod_auth_pg95.c:232: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:232: initializer element for `pg_auth_cmds[4].func' is not
constant
mod_auth_pg95.c:236: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:236: initializer element for `pg_auth_cmds[5].func' is not
constant
mod_auth_pg95.c:240: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:240: initializer element for `pg_auth_cmds[6].func' is not
constant
mod_auth_pg95.c:244: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:244: initializer element for `pg_auth_cmds[7].func' is not
constant
mod_auth_pg95.c:248: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:248: initializer element for `pg_auth_cmds[8].func' is not
constant
mod_auth_pg95.c:253: warning: initialization from incompatible pointer type
mod_auth_pg95.c:256: warning: initialization from incompatible pointer type
mod_auth_pg95.c:259: warning: initialization from incompatible pointer type
mod_auth_pg95.c:262: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:262: initializer element for `pg_auth_cmds[12].func' is not
constant
mod_auth_pg95.c:267: `set_string_slot' undeclared here (not in a function)
mod_auth_pg95.c:267: initializer element for `pg_auth_cmds[13].func' is not
constant
mod_auth_pg95.c: In function `pg_check_auth':
mod_auth_pg95.c:496: warning: initialization makes pointer from integer
without a cast
mod_auth_pg95.c:527: warning: assignment makes pointer from integer without a
cast
mod_auth_pg95.c:534: warning: assignment makes pointer from integer without a
cast
mod_auth_pg95.c:551: warning: passing arg 2 of `get_pg_grp' makes pointer
from integer without a cast
*** Error code 1
Stop.
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.