I have FreeBSD 5.4 and Apache2 (Apache2-2.0.53_1). I need compile module mod_ntlm for apache. Compiling stops with this errors: # make install ===> Building for mod_ntlm-0.4 /usr/local/sbin/apxs -c -Wc,-Wall mod_ntlm.c /usr/local/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -I/usr/lo l/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include -Wall -c -o mod_ntlm.lo mod_ntlm.c && touch mod_ntlm.slo In file included from mod_ntlm.c:36: mod_ntlm.h:19: error: syntax error before "ntlm_module" mod_ntlm.c:44: warning: conflicting types for built-in function 'log' mod_ntlm.c: In function `log': mod_ntlm.c:53: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:53: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:53: error: too few arguments to function `ap_log_rerror' In file included from mod_ntlm.c:79: ntlmssp.inc.c: In function `ntlm_msg3_getusername': ntlmssp.inc.c:301: warning: implicit declaration of function `tolower' In file included from mod_ntlm.c:95: smbval/rfcnb-util.inc.c: In function `RFCNB_Name_To_IP': smbval/rfcnb-util.inc.c:108: warning: implicit declaration of function `inet_addr' In file included from mod_ntlm.c:98: smbval/smbencrypt.inc.c: In function `strupper': smbval/smbencrypt.inc.c:72: warning: implicit declaration of function `islower' smbval/smbencrypt.inc.c:73: warning: implicit declaration of function `toupper' mod_ntlm.c: At top level: mod_ntlm.c:104: warning: missing braces around initializer mod_ntlm.c:104: warning: (near initialization for `ntlm_cmds[0].func') mod_ntlm.c:104: warning: initialization from incompatible pointer type mod_ntlm.c:105: warning: implicit declaration of function `XtOffsetOf' mod_ntlm.c:105: error: syntax error before "ntlm_config_rec" mod_ntlm.c:105: error: initializer element is not constant mod_ntlm.c:105: error: (near initialization for `ntlm_cmds[0].cmd_data') mod_ntlm.c:107: error: initializer element is not constant mod_ntlm.c:107: error: (near initialization for `ntlm_cmds[0]') mod_ntlm.c:110: warning: initialization from incompatible pointer type mod_ntlm.c:111: error: syntax error before "ntlm_config_rec" mod_ntlm.c:111: error: initializer element is not constant mod_ntlm.c:111: error: (near initialization for `ntlm_cmds[1].func') mod_ntlm.c:111: error: initializer element is not constant mod_ntlm.c:111: error: (near initialization for `ntlm_cmds[1].cmd_data') mod_ntlm.c:112: error: initializer element is not constant mod_ntlm.c:112: error: (near initialization for `ntlm_cmds[1]') mod_ntlm.c:114: warning: initialization from incompatible pointer type mod_ntlm.c:115: error: syntax error before "ntlm_config_rec" mod_ntlm.c:115: error: initializer element is not constant mod_ntlm.c:115: error: (near initialization for `ntlm_cmds[2].func') mod_ntlm.c:115: error: initializer element is not constant mod_ntlm.c:115: error: (near initialization for `ntlm_cmds[2].cmd_data') mod_ntlm.c:117: error: initializer element is not constant mod_ntlm.c:117: error: (near initialization for `ntlm_cmds[2]') mod_ntlm.c:118: warning: initialization from incompatible pointer type mod_ntlm.c:119: error: syntax error before "ntlm_config_rec" mod_ntlm.c:119: error: initializer element is not constant mod_ntlm.c:119: error: (near initialization for `ntlm_cmds[3].func') mod_ntlm.c:119: error: initializer element is not constant mod_ntlm.c:119: error: (near initialization for `ntlm_cmds[3].cmd_data') mod_ntlm.c:121: error: initializer element is not constant mod_ntlm.c:121: error: (near initialization for `ntlm_cmds[3]') mod_ntlm.c:122: warning: initialization from incompatible pointer type mod_ntlm.c:123: error: syntax error before "ntlm_config_rec" mod_ntlm.c:123: error: initializer element is not constant mod_ntlm.c:123: error: (near initialization for `ntlm_cmds[4].func') mod_ntlm.c:123: error: initializer element is not constant mod_ntlm.c:123: error: (near initialization for `ntlm_cmds[4].cmd_data') mod_ntlm.c:126: error: initializer element is not constant mod_ntlm.c:126: error: (near initialization for `ntlm_cmds[4]') mod_ntlm.c:127: warning: initialization from incompatible pointer type mod_ntlm.c:128: error: syntax error before "ntlm_config_rec" mod_ntlm.c:128: error: initializer element is not constant mod_ntlm.c:128: error: (near initialization for `ntlm_cmds[5].func') mod_ntlm.c:128: error: initializer element is not constant mod_ntlm.c:128: error: (near initialization for `ntlm_cmds[5].cmd_data') mod_ntlm.c:132: error: initializer element is not constant mod_ntlm.c:132: error: (near initialization for `ntlm_cmds[5]') mod_ntlm.c:133: warning: initialization from incompatible pointer type mod_ntlm.c:134: error: syntax error before "ntlm_config_rec" mod_ntlm.c:134: error: initializer element is not constant mod_ntlm.c:134: error: (near initialization for `ntlm_cmds[6].func') mod_ntlm.c:134: error: initializer element is not constant mod_ntlm.c:134: error: (near initialization for `ntlm_cmds[6].cmd_data') mod_ntlm.c:136: error: initializer element is not constant mod_ntlm.c:136: error: (near initialization for `ntlm_cmds[6]') mod_ntlm.c:137: warning: initialization from incompatible pointer type mod_ntlm.c:138: error: syntax error before "ntlm_config_rec" mod_ntlm.c:138: error: initializer element is not constant mod_ntlm.c:138: error: (near initialization for `ntlm_cmds[7].func') mod_ntlm.c:138: error: initializer element is not constant mod_ntlm.c:138: error: (near initialization for `ntlm_cmds[7].cmd_data') mod_ntlm.c:140: error: initializer element is not constant mod_ntlm.c:140: error: (near initialization for `ntlm_cmds[7]') mod_ntlm.c:141: error: initializer element is not constant mod_ntlm.c:141: error: (near initialization for `ntlm_cmds[8]') mod_ntlm.c:147: error: syntax error before '*' token mod_ntlm.c: In function `create_ntlm_dir_config': mod_ntlm.c:150: warning: implicit declaration of function `ap_pcalloc' mod_ntlm.c:150: error: `p' undeclared (first use in this function) mod_ntlm.c:150: error: (Each undeclared identifier is reported only once mod_ntlm.c:150: error: for each function it appears in.) mod_ntlm.c: At top level: mod_ntlm.c:168: error: syntax error before '*' token mod_ntlm.c: In function `uudecode_binary': mod_ntlm.c:172: warning: implicit declaration of function `ap_palloc' mod_ntlm.c:172: error: `p' undeclared (first use in this function) mod_ntlm.c:172: warning: implicit declaration of function `ap_base64decode_len' mod_ntlm.c:172: error: `bufcoded' undeclared (first use in this function) mod_ntlm.c:173: error: `nbytesdecoded' undeclared (first use in this function) mod_ntlm.c:173: warning: implicit declaration of function `ap_base64decode' mod_ntlm.c: At top level: mod_ntlm.c:180: error: syntax error before '*' token mod_ntlm.c: In function `uuencode_binary': mod_ntlm.c:184: error: `p' undeclared (first use in this function) mod_ntlm.c:184: warning: implicit declaration of function `ap_base64encode_len' mod_ntlm.c:184: error: `len' undeclared (first use in this function) mod_ntlm.c:185: warning: implicit declaration of function `ap_base64encode' mod_ntlm.c:185: error: `string' undeclared (first use in this function) mod_ntlm.c: In function `note_ntlm_auth_failure': mod_ntlm.c:369: error: `ntlm_module' undeclared (first use in this function) mod_ntlm.c:373: warning: implicit declaration of function `ap_pstrdup' mod_ntlm.c:373: warning: assignment makes pointer from integer without a cast mod_ntlm.c:375: warning: implicit declaration of function `ap_table_setn' mod_ntlm.c:379: warning: implicit declaration of function `ap_pstrcat' mod_ntlm.c:381: warning: assignment makes pointer from integer without a cast mod_ntlm.c:382: warning: implicit declaration of function `ap_table_addn' mod_ntlm.c: In function `log_ntlm_logon_denied': mod_ntlm.c:393: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:393: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c: In function `get_ntlm_header': mod_ntlm.c:400: warning: implicit declaration of function `ap_table_get' mod_ntlm.c:402: warning: initialization makes pointer from integer without a cast mod_ntlm.c:413: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:413: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:413: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:417: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:417: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:417: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:424: warning: assignment makes pointer from integer without a cast mod_ntlm.c:431: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:431: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:431: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c: In function `send_ntlm_challenge': mod_ntlm.c:455: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:455: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:455: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:458: warning: assignment makes pointer from integer without a cast mod_ntlm.c:464: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:464: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:464: error: too few arguments to function `ap_log_rerror' mod_ntlm.c:480: warning: implicit declaration of function `ap_psprintf' mod_ntlm.c: In function `ntlm_check_response': mod_ntlm.c:492: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:492: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:492: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:499: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:499: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:499: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:501: error: structure has no member named `user' mod_ntlm.c:503: error: structure has no member named `ap_auth_type' mod_ntlm.c:509: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:509: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:509: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:515: warning: assignment makes pointer from integer without a cast mod_ntlm.c:518: warning: pointer/integer type mismatch in conditional expression mod_ntlm.c:519: warning: assignment makes pointer from integer without a cast mod_ntlm.c:522: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:522: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:522: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:533: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:533: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:533: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:536: error: structure has no member named `user' mod_ntlm.c:538: error: structure has no member named `ap_auth_type' mod_ntlm.c: At top level: mod_ntlm.c:553: error: syntax error before '*' token mod_ntlm.c:553: error: syntax error before '*' token mod_ntlm.c:554: warning: return type defaults to `int' mod_ntlm.c: In function `groups_for_user': mod_ntlm.c:555: error: `configfile_t' undeclared (first use in this function) mod_ntlm.c:555: error: `f' undeclared (first use in this function) mod_ntlm.c:556: error: `table' undeclared (first use in this function) mod_ntlm.c:556: error: `grps' undeclared (first use in this function) mod_ntlm.c:556: warning: implicit declaration of function `ap_make_table' mod_ntlm.c:556: error: `p' undeclared (first use in this function) mod_ntlm.c:557: error: `pool' undeclared (first use in this function) mod_ntlm.c:557: error: `sp' undeclared (first use in this function) mod_ntlm.c:561: error: `grpfile' undeclared (first use in this function) mod_ntlm.c:561: error: too few arguments to function `ap_pcfg_openfile' mod_ntlm.c:563: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:563: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:567: warning: implicit declaration of function `ap_make_sub_pool' mod_ntlm.c:573: warning: implicit declaration of function `ap_clear_pool' mod_ntlm.c:579: error: `user' undeclared (first use in this function) mod_ntlm.c:586: warning: implicit declaration of function `ap_destroy_pool' mod_ntlm.c: In function `authenticate_basic_user': mod_ntlm.c:622: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:622: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:623: error: `AUTH_REQUIRED' undeclared (first use in this function) mod_ntlm.c:635: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:635: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:643: error: structure has no member named `user' mod_ntlm.c:644: error: structure has no member named `ap_auth_type' mod_ntlm.c: In function `authenticate_ntlm_user': mod_ntlm.c:664: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:664: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:664: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:666: warning: assignment makes pointer from integer without a cast mod_ntlm.c:669: warning: implicit declaration of function `ap_register_cleanup' mod_ntlm.c:670: error: `ap_null_cleanup' undeclared (first use in this function) mod_ntlm.c:674: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:674: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:674: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c:686: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:686: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:686: warning: passing arg 6 of `ap_log_rerror' makes pointer from integer without a cast mod_ntlm.c: In function `authenticate_user': mod_ntlm.c:694: error: `ntlm_module' undeclared (first use in this function) mod_ntlm.c:698: warning: initialization makes pointer from integer without a cast mod_ntlm.c:705: error: `AUTH_REQUIRED' undeclared (first use in this function) mod_ntlm.c: In function `check_user_access': mod_ntlm.c:719: error: `ntlm_module' undeclared (first use in this function) mod_ntlm.c:721: error: structure has no member named `user' mod_ntlm.c:726: error: `table' undeclared (first use in this function) mod_ntlm.c:726: error: `grpstatus' undeclared (first use in this function) mod_ntlm.c:727: error: `e' undeclared (first use in this function) mod_ntlm.c:728: error: syntax error before '*' token mod_ntlm.c:737: error: `reqs_arr' undeclared (first use in this function) mod_ntlm.c:748: error: structure has no member named `ap_auth_type' mod_ntlm.c:799: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:799: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c:812: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast mod_ntlm.c:812: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type mod_ntlm.c: At top level: mod_ntlm.c:825: error: syntax error before "ntlm_module" mod_ntlm.c:148: warning: 'create_ntlm_dir_config' defined but not used mod_ntlm.c:692: warning: 'authenticate_user' defined but not used mod_ntlm.c:717: warning: 'check_user_access' defined but not used apxs:Error: Command failed with rc=65536 . *** Error code 1
Stop in /usr/ports/www/mod_ntlm/work/mod_ntlm-0.4. *** Error code 1 What is this ? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"