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

Настройка сетевых служб, маршрутизации, фаерволлов. Проблемы с сетевым оборудованием.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Nikotinych
рядовой
Сообщения: 45
Зарегистрирован: 2007-10-23 21:42:29

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

Непрочитанное сообщение Nikotinych » 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

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

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

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

Непрочитанное сообщение Alex Keda » 2008-03-19 10:35:34

версия апача?
Убей их всех! Бог потом рассортирует...

Nikotinych
рядовой
Сообщения: 45
Зарегистрирован: 2007-10-23 21:42:29

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

Непрочитанное сообщение Nikotinych » 2008-03-19 10:41:06

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

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

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

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

Непрочитанное сообщение Alex Keda » 2008-03-19 10:43:02

он помоему под первый
Убей их всех! Бог потом рассортирует...

Nikotinych
рядовой
Сообщения: 45
Зарегистрирован: 2007-10-23 21:42:29

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

Непрочитанное сообщение Nikotinych » 2008-03-19 15:57:10

А есть чтонить похожее для apache 2.0.59???