[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[webdav-jp:0503] Apache2 + mod_encoding でエラー



はじめまして、ともといいます。
早速質問なのですが、Redhat7.2にhttpd-2.0.39.tar.gzを入れてWebDavを設定
しました。今度は日本語化だと思い色々ネットを探したところ
WebDAV Resources JPに行き当たりました。そこで、mod_encoding-20020611a.tar.gz
をダウンロード&解凍を行い。解凍されたディレクトリに移動して
#./Configure
#make
を行ったところ以下のようなエラーメッセージが表示されてしまい。コンパイル
ができません。私が読んだ限りではApache2にも対応してるようでした。
どなたか同じような現象に合われた方いらっしゃいますか?
また、私のやり方が何かまずいのでしょうか?使い方などドキュメントを探すこ
とができ無かったのでmakeしてしまったのですが...
また、Apache2でWebDAVで日本語を扱う別の方法などありましたら教えてくださ
い。
ちょっと長くなってしまいますが、make以後出力されたメッセージを載せます。

apxs -c    mod_encoding.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic  -DAP_H
AVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOU
RCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -
c -o mod_encoding.lo mod_encoding.c && touch mod_encoding.slo
mod_encoding.c:58: parse error before `array_header'
mod_encoding.c:58: warning: no semicolon at end of struct or union
mod_encoding.c:59: warning: data definition has no type or storage class
mod_encoding.c:62: parse error before `}'
mod_encoding.c:62: warning: data definition has no type or storage class
mod_encoding.c:64: parse error before `encoding_module'
mod_encoding.c:64: warning: data definition has no type or storage class
mod_encoding.c: In function `iconv_string':
mod_encoding.c:86: warning: passing arg 4 of `ap_log_error' makes integer from p
ointer without a cast
mod_encoding.c:86: warning: passing arg 5 of `ap_log_error' from incompatible po
inter type
mod_encoding.c:86: too few arguments to function `ap_log_error'
mod_encoding.c:94: warning: passing arg 4 of `ap_log_error' makes integer from p
ointer without a cast
mod_encoding.c:94: warning: passing arg 5 of `ap_log_error' from incompatible po
inter type
mod_encoding.c:94: too few arguments to function `ap_log_error'
mod_encoding.c:101: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:101: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:101: too few arguments to function `ap_log_error'
mod_encoding.c: At top level:
mod_encoding.c:162: parse error before `*'
mod_encoding.c:164: parse error before `array_header'
mod_encoding.c: In function `get_client_encoding':
mod_encoding.c:165: `encmap' undeclared (first use in this function)
mod_encoding.c:165: (Each undeclared identifier is reported only once
mod_encoding.c:165: for each function it appears in.)
mod_encoding.c:166: `array_header' undeclared (first use in this function)
mod_encoding.c:166: `encs' undeclared (first use in this function)
mod_encoding.c:166: `r' undeclared (first use in this function)
mod_encoding.c:166: invalid lvalue in assignment
mod_encoding.c:168: parse error before `int'
mod_encoding.c:170: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:170: too few arguments to function `ap_log_error'
mod_encoding.c:173: warning: assignment makes pointer from integer without a cas
t
mod_encoding.c:175: `lookup' undeclared (first use in this function)
mod_encoding.c:178: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:180: `i' undeclared (first use in this function)
mod_encoding.c:182: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:182: too few arguments to function `ap_log_error'
mod_encoding.c:183: parse error before `)'
mod_encoding.c:188: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:188: too few arguments to function `ap_log_error'
mod_encoding.c: At top level:
mod_encoding.c:196: parse error before `encoding_config'
mod_encoding.c: In function `set_encoding_engine':
mod_encoding.c:197: `cmd' undeclared (first use in this function)
mod_encoding.c:197: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:197: too few arguments to function `ap_log_error'
mod_encoding.c:198: `flag' undeclared (first use in this function)
mod_encoding.c:198: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:201: `conf' undeclared (first use in this function)
mod_encoding.c:201: request for member `module_index' in something not a structu
re or union
mod_encoding.c: At top level:
mod_encoding.c:212: parse error before `encoding_config'
mod_encoding.c: In function `set_server_encoding':
mod_encoding.c:213: `cmd' undeclared (first use in this function)
mod_encoding.c:213: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:213: too few arguments to function `ap_log_error'
mod_encoding.c:214: `arg' undeclared (first use in this function)
mod_encoding.c:214: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:217: `conf' undeclared (first use in this function)
mod_encoding.c:217: request for member `module_index' in something not a structu
re or union
mod_encoding.c: At top level:
mod_encoding.c:231: parse error before `encoding_config'
mod_encoding.c: In function `add_client_encoding':
mod_encoding.c:232: `array_header' undeclared (first use in this function)
mod_encoding.c:232: `encs' undeclared (first use in this function)
mod_encoding.c:233: parse error before `char'
mod_encoding.c:235: `cmd' undeclared (first use in this function)
mod_encoding.c:235: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:235: too few arguments to function `ap_log_error'
mod_encoding.c:236: `args' undeclared (first use in this function)
mod_encoding.c:236: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:239: `conf' undeclared (first use in this function)
mod_encoding.c:239: request for member `module_index' in something not a structu
re or union
mod_encoding.c:245: `arg' undeclared (first use in this function)
mod_encoding.c:246: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:253: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:254: warning: assignment makes pointer from integer without a cas
t
mod_encoding.c: At top level:
mod_encoding.c:267: parse error before `encoding_config'
mod_encoding.c: In function `default_client_encoding':
mod_encoding.c:270: `cmd' undeclared (first use in this function)
mod_encoding.c:270: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:270: too few arguments to function `ap_log_error'
mod_encoding.c:271: `args' undeclared (first use in this function)
mod_encoding.c:271: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:274: `conf' undeclared (first use in this function)
mod_encoding.c:274: request for member `module_index' in something not a structu
re or union
mod_encoding.c:281: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:283: warning: assignment makes pointer from integer without a cas
t
mod_encoding.c: At top level:
mod_encoding.c:296: parse error before `encoding_config'
mod_encoding.c: In function `set_normalize_username':
mod_encoding.c:297: `cmd' undeclared (first use in this function)
mod_encoding.c:297: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:297: too few arguments to function `ap_log_error'
mod_encoding.c:298: `flag' undeclared (first use in this function)
mod_encoding.c:298: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:301: `conf' undeclared (first use in this function)
mod_encoding.c:301: request for member `module_index' in something not a structu
re or union
mod_encoding.c: At top level:
mod_encoding.c:346: parse error before `*'
mod_encoding.c: In function `server_setup':
mod_encoding.c:347: `conf' undeclared (first use in this function)
mod_encoding.c:351: parse error before `)'
mod_encoding.c:354: `p' undeclared (first use in this function)
mod_encoding.c: At top level:
mod_encoding.c:365: parse error before `*'
mod_encoding.c: In function `folder_setup':
mod_encoding.c:367: `p' undeclared (first use in this function)
mod_encoding.c: At top level:
mod_encoding.c:374: parse error before `*'
mod_encoding.c: In function `config_merge':
mod_encoding.c:375: `parent' undeclared (first use in this function)
mod_encoding.c:375: `base' undeclared (first use in this function)
mod_encoding.c:376: `child' undeclared (first use in this function)
mod_encoding.c:376: `override' undeclared (first use in this function)
mod_encoding.c:377: `merge' undeclared (first use in this function)
mod_encoding.c:381: parse error before `)'
mod_encoding.c:413: `p' undeclared (first use in this function)
mod_encoding.c: In function `mod_enc_convert':
mod_encoding.c:427: `conf' undeclared (first use in this function)
mod_encoding.c:427: `dconf' undeclared (first use in this function)
mod_encoding.c:427: `sconf' undeclared (first use in this function)
mod_encoding.c:429: parse error before `const'
mod_encoding.c:430: `array_header' undeclared (first use in this function)
mod_encoding.c:430: `ienc' undeclared (first use in this function)
mod_encoding.c:431: parse error before `void'
mod_encoding.c:437: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:437: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:437: too few arguments to function `ap_log_error'
mod_encoding.c:439: request for member `module_index' in something not a structu
re or union
mod_encoding.c:440: request for member `module_index' in something not a structu
re or union
mod_encoding.c:447: `oenc' undeclared (first use in this function)
mod_encoding.c:454: `list' undeclared (first use in this function)
mod_encoding.c:456: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:456: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:459: `i' undeclared (first use in this function)
mod_encoding.c:460: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:460: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:464: `cd' undeclared (first use in this function)
mod_encoding.c:469: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:469: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:479: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:479: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:479: too few arguments to function `ap_log_error'
mod_encoding.c: In function `mod_enc_parse':
mod_encoding.c:492: `conf' undeclared (first use in this function)
mod_encoding.c:492: `dconf' undeclared (first use in this function)
mod_encoding.c:492: `sconf' undeclared (first use in this function)
mod_encoding.c:494: parse error before `const'
mod_encoding.c:498: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
mod_encoding.c:498: warning: passing arg 5 of `ap_log_error' from incompatible p
ointer type
mod_encoding.c:498: too few arguments to function `ap_log_error'
mod_encoding.c:500: request for member `module_index' in something not a structu
re or union
mod_encoding.c:501: request for member `module_index' in something not a structu
re or union
mod_encoding.c:512: `pass' undeclared (first use in this function)
mod_encoding.c:516: `user' undeclared (first use in this function)
mod_encoding.c:516: structure has no member named `user'
mod_encoding.c:521: `buff' undeclared (first use in this function)
mod_encoding.c:522: warning: passing arg 2 of `ap_pbase64encode' makes pointer f
rom integer without a cast
mod_encoding.c: At top level:
mod_encoding.c:537: parse error before `encoding_module'
mod_encoding.c:538: `this_module_needs_to_be_ported_to_apache_2_0' undeclared he
re (not in a function)
mod_encoding.c:538: initializer element is not constant
mod_encoding.c:538: (near initialization for `encoding_module')
mod_encoding.c:539: warning: excess elements in scalar initializer
mod_encoding.c:539: warning: (near initialization for `encoding_module')
mod_encoding.c:540: warning: excess elements in scalar initializer
mod_encoding.c:540: warning: (near initialization for `encoding_module')
mod_encoding.c:541: warning: excess elements in scalar initializer
mod_encoding.c:541: warning: (near initialization for `encoding_module')
mod_encoding.c:542: warning: excess elements in scalar initializer
mod_encoding.c:542: warning: (near initialization for `encoding_module')
mod_encoding.c:543: warning: excess elements in scalar initializer
mod_encoding.c:543: warning: (near initialization for `encoding_module')
mod_encoding.c:544: warning: excess elements in scalar initializer
mod_encoding.c:544: warning: (near initialization for `encoding_module')
mod_encoding.c:545: warning: excess elements in scalar initializer
mod_encoding.c:545: warning: (near initialization for `encoding_module')
mod_encoding.c:546: warning: excess elements in scalar initializer
mod_encoding.c:546: warning: (near initialization for `encoding_module')
mod_encoding.c:547: warning: excess elements in scalar initializer
mod_encoding.c:547: warning: (near initialization for `encoding_module')
mod_encoding.c:548: warning: excess elements in scalar initializer
mod_encoding.c:548: warning: (near initialization for `encoding_module')
mod_encoding.c:549: warning: excess elements in scalar initializer
mod_encoding.c:549: warning: (near initialization for `encoding_module')
mod_encoding.c:550: warning: excess elements in scalar initializer
mod_encoding.c:550: warning: (near initialization for `encoding_module')
mod_encoding.c:551: warning: excess elements in scalar initializer
mod_encoding.c:551: warning: (near initialization for `encoding_module')
mod_encoding.c:552: warning: excess elements in scalar initializer
mod_encoding.c:552: warning: (near initialization for `encoding_module')
mod_encoding.c:553: warning: excess elements in scalar initializer
mod_encoding.c:553: warning: (near initialization for `encoding_module')
mod_encoding.c:554: warning: excess elements in scalar initializer
mod_encoding.c:554: warning: (near initialization for `encoding_module')
mod_encoding.c:555: warning: excess elements in scalar initializer
mod_encoding.c:555: warning: (near initialization for `encoding_module')
mod_encoding.c:556: warning: excess elements in scalar initializer
mod_encoding.c:556: warning: (near initialization for `encoding_module')
mod_encoding.c:557: warning: data definition has no type or storage class
apxs:Error: Command failed with rc=65536
.
make: *** [mod_encoding.so] Error 1



-- 
tomosuke <inml@xxxxxxxxxxxxxxx>