아파치 mod_url 이라는 모듈을 아시나요?
한글을 서비스해주는 모듈인거같은데
아파치에다 이모듈을 설치하는과정에서 문제가 생기네요...
apxs -i -a -c mod_url.c
명령으로 컴파일해보려하는데
/usr/local/apache/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -DURL_NOUSERDIR -c -o mod_url.lo mod_url.c && touch mod_url.slo
mod_url.c: In function 'redurl_mem_error':
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'server' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'server' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'server' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'log' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'connection' in something not a structure or union
mod_url.c:240: error: request for member 'server' in something not a structure or union
mod_url.c:240: warning: passing argument 5 of 'ap_log_rerror_' makes integer from pointer without a cast
mod_url.c:240: warning: passing argument 6 of 'ap_log_rerror_' from incompatible pointer type
mod_url.c: In function 'check_redurl_iconv':
mod_url.c:291: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:291: error: too many arguments to function 'redurl_mem_error'
mod_url.c: In function 'check_redurl':
mod_url.c:383: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:383: error: too many arguments to function 'redurl_mem_error'
mod_url.c:410: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:410: error: too many arguments to function 'redurl_mem_error'
mod_url.c:447: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:447: error: too many arguments to function 'redurl_mem_error'
mod_url.c:466: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:466: error: too many arguments to function 'redurl_mem_error'
mod_url.c: In function 'pre_redurl':
mod_url.c:721: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:721: error: too many arguments to function 'redurl_mem_error'
mod_url.c:750: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:750: error: too many arguments to function 'redurl_mem_error'
mod_url.c:788: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:788: error: too many arguments to function 'redurl_mem_error'
mod_url.c:803: warning: passing argument 4 of 'redurl_mem_error' makes pointer from integer without a cast
mod_url.c:803: error: too many arguments to function 'redurl_mem_error'
apxs:Error: Command failed with rc=65536
이런 에러를 뿜어내는데...
원인이 뭘까요;
http://kldp.net/projects/modu
http://kldp.net/projects/modurl/issue/318479
댓글 달기