Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: Помогите скомпилировать модуль mod_ntlm2  (Прочитано 2684 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Jok26r

  • Автор темы
  • Новичок
  • *
  • Сообщений: 1
    • Просмотр профиля
Всем доброго времени суток.
Уже не первый день пытаюсь установить mod_ntlm2 для apache2 в ubuntu server 14.04
На команду "apxs2 -i -a -c mod_ntlm.c" выдается следующего рода набор, в котором есть и ошибочные строки, пока не нашел решения данной проблемы, гуглом пользовался.
Если кто поможет буду очень благодарен, вывод ниже.

/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include  -c -o mod_ntlm.lo mod_ntlm.c && touch mod_ntlm.slo
mod_ntlm.c:43:1: warning: conflicting types for built-in function 'log' [enabled by default]
 log(const request_rec * r, const char *format,...)
 ^
mod_ntlm.c: In function 'log':
mod_ntlm.c:53:5: error: format not a string literal and no format arguments [-Werror=format-security]
     ap_log_rerror(APLOG_MARK, APLOG_NOERRNO | APLOG_NOTICE, 0, r, s);
     ^
In file included from mod_ntlm.c:86:0:
ntlmssp.inc.c: In function 'ntlm_msg3_getusername':
ntlmssp.inc.c:306:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   while (*username!=(unsigned char)NULL) {
                     ^
In file included from mod_ntlm.c:107:0:
smbval/smblib.inc.c: At top level:
smbval/smblib.inc.c:25:12: error: static declaration of 'SMBlib_errno' follows non-static declaration
 static int SMBlib_errno;
            ^
In file included from mod_ntlm.c:92:0:
smbval/smblib-priv.h:668:12: note: previous declaration of 'SMBlib_errno' was here
 extern int SMBlib_errno;
            ^
In file included from mod_ntlm.c:107:0:
smbval/smblib.inc.c:26:12: error: static declaration of 'SMBlib_SMB_Error' follows non-static declaration
 static int SMBlib_SMB_Error;
            ^
In file included from mod_ntlm.c:92:0:
smbval/smblib-priv.h:669:12: note: previous declaration of 'SMBlib_SMB_Error' was here
 extern int SMBlib_SMB_Error;    /* last Error             */
            ^
In file included from mod_ntlm.c:107:0:
smbval/smblib.inc.c:35:24: error: static declaration of 'SMBlib_State' follows non-static declaration
 static SMB_State_Types SMBlib_State;
                        ^
In file included from mod_ntlm.c:92:0:
smbval/smblib-priv.h:665:24: note: previous declaration of 'SMBlib_State' was here
 extern SMB_State_Types SMBlib_State;
                        ^
In file included from mod_ntlm.h:12:0,
                 from mod_ntlm.c:36:
mod_ntlm.c: In function 'groups_for_user':
/usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
         ^
/usr/include/apache2/http_config.h:578:19: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                   ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
                                ^
/usr/include/apache2/http_config.h:578:19: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                   ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
         ^
/usr/include/apache2/http_config.h:578:19: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                   ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
                                ^
/usr/include/apache2/http_config.h:578:19: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                   ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
      &(r)->server->log)
          ^
/usr/include/apache2/http_config.h:578:19: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                   ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
         ^
/usr/include/apache2/http_config.h:578:49: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                                                 ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
                                ^
/usr/include/apache2/http_config.h:578:49: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                                                 ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
         ^
/usr/include/apache2/http_config.h:578:49: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                                                 ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
                                ^
/usr/include/apache2/http_config.h:578:49: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                                                 ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
      &(r)->server->log)
          ^
/usr/include/apache2/http_config.h:578:49: note: in definition of macro 'ap_get_module_loglevel'
     (((i) < 0 || (l)->module_levels == NULL || (l)->module_levels < 0) ?  \
                                                 ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
         ^
/usr/include/apache2/http_config.h:579:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->level :                                                         \
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
                                ^
/usr/include/apache2/http_config.h:579:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->level :                                                         \
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
         ^
/usr/include/apache2/http_config.h:579:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->level :                                                         \
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
                                ^
/usr/include/apache2/http_config.h:579:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->level :                                                         \
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
      &(r)->server->log)
          ^
/usr/include/apache2/http_config.h:579:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->level :                                                         \
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:9: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
         ^
/usr/include/apache2/http_config.h:580:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->module_levels)
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:573:32: error: request for member 'log' in something not a structure or union
     ((r)->log             ? (r)->log             : \
                                ^
/usr/include/apache2/http_config.h:580:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->module_levels)
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:9: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
         ^
/usr/include/apache2/http_config.h:580:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->module_levels)
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:574:32: error: request for member 'connection' in something not a structure or union
      (r)->connection->log ? (r)->connection->log : \
                                ^
/usr/include/apache2/http_config.h:580:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->module_levels)
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
/usr/include/apache2/http_config.h:575:10: error: request for member 'server' in something not a structure or union
      &(r)->server->log)
          ^
/usr/include/apache2/http_config.h:580:7: note: in definition of macro 'ap_get_module_loglevel'
      (l)->module_levels)
       ^
/usr/include/apache2/http_config.h:592:29: note: in expansion of macro 'ap_get_request_logconf'
     (ap_get_module_loglevel(ap_get_request_logconf(r),i))
                             ^
/usr/include/apache2/http_log.h:197:14: note: in expansion of macro 'ap_get_request_module_loglevel'
             (ap_get_request_module_loglevel(r, module_index)     \
              ^
/usr/include/apache2/http_log.h:450:14: note: in expansion of macro 'APLOG_R_MODULE_IS_LEVEL'
     do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level))                         \
              ^
/usr/include/apache2/http_log.h:448:28: note: in expansion of macro 'ap_log_rerror__'
 #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                            ^
mod_ntlm.c:585:9: note: in expansion of macro 'ap_log_rerror'
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, NULL,
         ^
mod_ntlm.c:590:5: warning: implicit declaration of function 'apr_pool_sub_make' [-Wimplicit-function-declaration]
     apr_pool_sub_make(&sp,p,NULL);
     ^
mod_ntlm.c: In function 'check_user_access':
mod_ntlm.c:753:5: warning: implicit declaration of function 'ap_requires' [-Wimplicit-function-declaration]
     const apr_array_header_t *reqs_arr = ap_requires(r);
     ^
mod_ntlm.c:753:42: warning: initialization makes pointer from integer without a cast [enabled by default]
     const apr_array_header_t *reqs_arr = ap_requires(r);
                                          ^
cc1: some warnings being treated as errors
apxs:Error: Command failed with rc=65536
.

Оффлайн AnrDaemon

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 28510
    • Просмотр профиля
Re: Помогите скомпилировать модуль mod_ntlm2
« Ответ #1 : 20 Февраля 2015, 01:27:21 »
Заверните свою простыню в спойлер.
А лучше вообще сотрите, чтобы не позориться.

apt-get install libapache2-mod-auth-ntlm-winbind
Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…

 

Страница сгенерирована за 0.027 секунд. Запросов: 21.