Страница 1 из 1

Вопрос по статье о mod_shapvh

Добавлено: 2008-03-19 10:27:44
Nikotinych
Привет Всезняющий 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

Заранее огромное спасибо...

Re: Вопрос по статье о mod_shapvh

Добавлено: 2008-03-19 10:35:34
Alex Keda
версия апача?

Re: Вопрос по статье о mod_shapvh

Добавлено: 2008-03-19 10:41:06
Nikotinych

Код: Выделить всё

httpd -v
Server version: Apache/2.0.59
Server built:   Oct 17 2007 13:53:30
вот такая вот весрия апача

Re: Вопрос по статье о mod_shapvh

Добавлено: 2008-03-19 10:43:02
Alex Keda
он помоему под первый

Re: Вопрос по статье о mod_shapvh

Добавлено: 2008-03-19 15:57:10
Nikotinych
А есть чтонить похожее для apache 2.0.59???