ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА














     АРХИВ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[apache-talk] mod_accel-1.0.32 compile error


  • To: apache-talk@xxxxxxxxxxxxx
  • Subject: [apache-talk] mod_accel-1.0.32 compile error
  • From: Dmitriy Yermakov <dyer@xxxxxx>
  • Date: Thu, 9 Dec 2004 19:15:55 +0300
  • Content-length: 1055

Не везет мне :)

===> src/modules/accel
gcc -c -I/usr/local/include -I../../os/unix -I../../include   -funsigned-char -DRUSSIAN_APACHE -DMOD_ACCEL  -DMOD_ACCEL_CACHEMGR -DEAPI -DEAPI_MM -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_accel.c
mod_accel.c: In function `accel_translate':
mod_accel.c:163: syntax error before `*'
mod_accel.c:168: `conf' undeclared (first use in this function)
mod_accel.c:168: (Each undeclared identifier is reported only once
mod_accel.c:168: for each function it appears in.)
mod_accel.c:171: `uri_len' undeclared (first use in this function)

$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

158-
159-    if (a = ap_ctx_get(r->ctx, "mod_accel")) {
160-        return DECLINED;
161-    }
162-
163:    accel_server_conf *conf = (accel_server_conf *)
164-                ap_get_module_config(r->server->module_config, &accel_module);
165-

Закоментаривание строк 159-161 приводит к успешной сборке 
(в коде mod_accel-1.0.31 этих строк нет)

-- 
Dmitriy Yermakov, CCS SUT
dyer@xxxxxx



 




Copyright © Lexa Software, 1996-2009.