Вопрос по статье о mod_shapvh
Добавлено: 2008-03-19 10:27:44
Привет Всезняющий ALL! у меня вопрос такого характера: полазив по сайту я наткнулся на статью http://www.lissyara.su/?id=1140 про mod_shapvh
начинаю ставить из портов получается вот такой вывод ошибок не подскажешь как решить?
Заранее огромное спасибо...
начинаю ставить из портов получается вот такой вывод ошибок не подскажешь как решить?
Код: Выделить всё
mod_shapvh.c:249: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_shapvh.c:254: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:261: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_shapvh.c:261: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_shapvh.c:262: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:263: error: structure has no member named `server_uid'
mod_shapvh.c:264: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:280: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:281: error: structure has no member named `server_uid'
mod_shapvh.c:282: error: structure has no member named `server_gid'
mod_shapvh.c:284: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:288: error: structure has no member named `server_uid'
mod_shapvh.c:288: error: structure has no member named `server_gid'
mod_shapvh.c:290: error: structure has no member named `server_uid'
mod_shapvh.c:290: error: structure has no member named `server_gid'
mod_shapvh.c:290: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_shapvh.c:290: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_shapvh.c:291: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:292: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:293: error: structure has no member named `server_uid'
mod_shapvh.c:294: error: structure has no member named `server_gid'
mod_shapvh.c:302: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:303: error: structure has no member named `server_uid'
mod_shapvh.c:304: warning: assignment makes pointer from integer without a cast
mod_shapvh.c:305: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_shapvh.c:305: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_shapvh.c: In function `set_host':
mod_shapvh.c:321: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_user':
mod_shapvh.c:327: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_pass':
mod_shapvh.c:333: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_dbname':
mod_shapvh.c:339: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_defaultroot':
mod_shapvh.c:346: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_defaultadmin':
mod_shapvh.c:352: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_shquery':
mod_shapvh.c:359: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_onoff':
mod_shapvh.c:366: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: In function `set_shvisp':
mod_shapvh.c:373: error: `shapvh_module' undeclared (first use in this function)
mod_shapvh.c: At top level:
mod_shapvh.c:379: warning: initialization from incompatible pointer type
mod_shapvh.c:380: warning: initialization from incompatible pointer type
mod_shapvh.c:381: warning: initialization from incompatible pointer type
mod_shapvh.c:382: warning: initialization from incompatible pointer type
mod_shapvh.c:383: warning: initialization from incompatible pointer type
mod_shapvh.c:384: warning: initialization from incompatible pointer type
mod_shapvh.c:385: warning: initialization from incompatible pointer type
mod_shapvh.c:386: warning: initialization from incompatible pointer type
mod_shapvh.c:387: warning: initialization from incompatible pointer type
mod_shapvh.c:391: error: syntax error before "shapvh_module"
apxs:Error: Command failed with rc=65536
.
*** Error code 1
Код: Выделить всё
uname -a
FreeBSD webserv 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Oct 15 10:58:04 MSD 2007 alex@webserv.college:/usr/obj/usr/src/sys/kernel.mpd.ipfw i386
Заранее огромное спасибо...