CentOS 5.7 64bit 에서 mod-cband 설치 해 보신분 계신가요?
mod-cband-0.9.7.5 소스설치하고 ./configure 까지 마쳤는데 make 에서
[root@i-3889-20678-VM mod-cband-0.9.7.5]# make
/usr/sbin/apxs -Wc,-Wall -Wc,-DDST_CLASS=3 -c src/mod_cband.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -DDST_CLASS=3 -c -o src/mod_cband.lo src/mod_cband.c && touch src/mod_cband.slo
In file included from /usr/include/apr-1/apr_file_io.h:29,
from /usr/include/apr-1/apr_network_io.h:26,
from /usr/include/httpd/httpd.h:53,
from src/mod_cband.c:38:
/usr/include/apr-1/apr_file_info.h:137: error: redefinition of typedef 'apr_ino_t'
/usr/include/apr-1/apr-x86_64.h:360: error: previous declaration of 'apr_ino_t' was here
src/mod_cband.c:81: warning: type qualifiers ignored on function return type
apxs:Error: Command failed with rc=65536
.
make: *** [src/.libs/mod_cband.so] Error 1
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -DDST_CLASS=3 -c -o src/mod_cband.lo src/mod_cband.c && touch src/mod_cband.slo
In file included from /usr/include/apr-1/apr_file_io.h:29,
from /usr/include/apr-1/apr_network_io.h:26,
from /usr/include/httpd/httpd.h:53,
from src/mod_cband.c:38:
/usr/include/apr-1/apr_file_info.h:137: error: redefinition of typedef 'apr_ino_t'
/usr/include/apr-1/apr-x86_64.h:360: error: previous declaration of 'apr_ino_t' was here
src/mod_cband.c:81: warning: type qualifiers ignored on function return type
apxs:Error: Command failed with rc=65536
.
make: *** [src/.libs/mod_cband.so] Error 1
이런 에러가 나는데 해결하신분이 계시면 도움주시면 감사 하겠습니다.
서버에는 httpd-devel.x86_64 이 설치되어 있습니다.
src/.libs 폴더에 mod_cband.so 가 만들어 지지 않아서 나는 에러 인것 같은데 어떻게 해결을 해야 하나 남감합니다....ㅠㅠ
댓글 2개
jakekwak
13년 전
에러 내용으로 보면 apr_ino_t 라는 typedef이 header 파일 2곳에 동시에 정의 되어 있다고 합니다.
apr_file_info.h와 apr-x86_64.h에..
apr_file_info.h에서 typedef apr_ino_t를 커멘트 처리하고 다시 make를 해 보시죠. (아니면 반대로.)
apr_file_info.h와 apr-x86_64.h에..
apr_file_info.h에서 typedef apr_ino_t를 커멘트 처리하고 다시 make를 해 보시죠. (아니면 반대로.)
13년 전
jakekwak님! 감사합니다. 해결 했습니다...^^
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 381 | ||
| 7929 | 9년 전 | 276 | ||
| 7928 | 9년 전 | 383 | ||
| 7927 | 9년 전 | 305 | ||
| 7926 | 9년 전 | 650 | ||
| 7925 | 9년 전 | 325 | ||
| 7924 | 9년 전 | 301 | ||
| 7923 | 9년 전 | 326 | ||
| 7922 | 9년 전 | 349 | ||
| 7921 | 9년 전 | 380 | ||
| 7920 | 9년 전 | 301 | ||
| 7919 | 9년 전 | 317 | ||
| 7918 | 9년 전 | 479 | ||
| 7917 | 9년 전 | 319 | ||
| 7916 | 9년 전 | 386 | ||
| 7915 | 9년 전 | 377 | ||
| 7914 | 9년 전 | 389 | ||
| 7913 | 9년 전 | 514 | ||
| 7912 | 9년 전 | 388 | ||
| 7911 | 9년 전 | 335 | ||
| 7910 | 9년 전 | 374 | ||
| 7909 | 9년 전 | 477 | ||
| 7908 | 9년 전 | 377 | ||
| 7907 | 9년 전 | 333 | ||
| 7906 | 9년 전 | 347 | ||
| 7905 | 9년 전 | 338 | ||
| 7904 | 9년 전 | 310 | ||
| 7903 | 9년 전 | 312 | ||
| 7902 | 9년 전 | 523 | ||
| 7901 |
|
9년 전 | 721 | |
| 7900 | 9년 전 | 549 | ||
| 7899 | 9년 전 | 352 | ||
| 7898 | 9년 전 | 346 | ||
| 7897 | 9년 전 | 303 | ||
| 7896 | 9년 전 | 331 | ||
| 7895 | 9년 전 | 435 | ||
| 7894 | 9년 전 | 359 | ||
| 7893 | 9년 전 | 296 | ||
| 7892 | 9년 전 | 344 | ||
| 7891 | 9년 전 | 728 | ||
| 7890 | 9년 전 | 1180 | ||
| 7889 | 9년 전 | 738 | ||
| 7888 |
limsy1987
|
9년 전 | 532 | |
| 7887 | 9년 전 | 516 | ||
| 7886 | 9년 전 | 400 | ||
| 7885 | 9년 전 | 373 | ||
| 7884 | 9년 전 | 380 | ||
| 7883 | 9년 전 | 369 | ||
| 7882 | 9년 전 | 386 | ||
| 7881 | 9년 전 | 407 | ||
| 7880 | 9년 전 | 530 | ||
| 7879 | 9년 전 | 426 | ||
| 7878 | 9년 전 | 1171 | ||
| 7877 | 9년 전 | 721 | ||
| 7876 | 9년 전 | 447 | ||
| 7875 | 9년 전 | 526 | ||
| 7874 |
|
9년 전 | 786 | |
| 7873 | 9년 전 | 486 | ||
| 7872 | 9년 전 | 628 | ||
| 7871 | 9년 전 | 454 | ||
| 7870 | 9년 전 | 583 | ||
| 7869 | 9년 전 | 398 | ||
| 7868 | 9년 전 | 395 | ||
| 7867 | 9년 전 | 392 | ||
| 7866 | 9년 전 | 454 | ||
| 7865 | 9년 전 | 413 | ||
| 7864 | 9년 전 | 476 | ||
| 7863 | 9년 전 | 466 | ||
| 7862 | 9년 전 | 442 | ||
| 7861 | 9년 전 | 599 | ||
| 7860 | 9년 전 | 599 | ||
| 7859 | 9년 전 | 376 | ||
| 7858 | 9년 전 | 681 | ||
| 7857 | 9년 전 | 1034 | ||
| 7856 | 9년 전 | 493 | ||
| 7855 | 9년 전 | 713 | ||
| 7854 | 9년 전 | 703 | ||
| 7853 | 9년 전 | 556 | ||
| 7852 | 9년 전 | 475 | ||
| 7851 | 9년 전 | 458 | ||
| 7850 | 9년 전 | 558 | ||
| 7849 | 9년 전 | 327 | ||
| 7848 | 9년 전 | 379 | ||
| 7847 | 9년 전 | 599 | ||
| 7846 | 9년 전 | 422 | ||
| 7845 | 9년 전 | 378 | ||
| 7844 | 9년 전 | 371 | ||
| 7843 | 9년 전 | 383 | ||
| 7842 | 9년 전 | 372 | ||
| 7841 | 9년 전 | 359 | ||
| 7840 | 9년 전 | 368 | ||
| 7839 | 9년 전 | 407 | ||
| 7838 | 9년 전 | 488 | ||
| 7837 | 9년 전 | 333 | ||
| 7836 | 9년 전 | 371 | ||
| 7835 | 9년 전 | 450 | ||
| 7834 |
|
9년 전 | 1176 | |
| 7833 | 9년 전 | 388 | ||
| 7832 | 9년 전 | 388 | ||
| 7831 | 9년 전 | 522 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기