| 여러장의 이미지 간단히 합치기 | 움직이는GIF만들기 | 썸네일 쉽게 만들기
분류 전체보기 (85)
I am (0)
Today (1)
개발자이야기 (11)
나만의 유용한정보 (7)
서버관련 (40)
지름신 (5)
사진/여행 (1)
끄적끄적 (5)
골프 (11)
주식 (2)

«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Visitors up to today!
Today hit, Yesterday hit
daisy rss
티스토리 가입하기!
'Compile'에 해당되는 글 1건
2008. 3. 3. 15:37

늘상있는대로 컴파일을 시도했다.


1.3.0 에서는 나오지 않는 에러가 나오는군... 뭔가 호환이 안되나...


gcc -DHAVE_CONFIG_H  -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/usr/local/mysql/include/mysql -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:598: error: missing terminating " character
*** Error code 1

Stop in /usr/local/proftpd-1.3.1rc3/modules.
*** Error code 1

Stop in /usr/local/proftpd-1.3.1rc3.



따옴표문제가 설마...
일단 에러소스를 찾아보자.


vi ./contrib/mod_sql_mysql.c


598번째 라인이라... 헉!


     pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been
      "properly intialized.  Please make sure your --with-modules configure "
      "option lists mod_sql *before* mod_sql_mysql, and recompile.");

    sql_log(DEBUG_FUNC, "%s", "The mod_sql_mysql module has not been properly "
      "intialized.  Please make sure your --with-modules configure option "
      "lists mod_sql *before* mod_sql_mysql, and recompile.");


뭐야.. 뭔가 이상하다... text를 그냥 엔터를 쳤네? 따옴표는 뭐양?


     pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been \
      properly intialized.  Please make sure your --with-modules configure \
      option lists mod_sql *before* mod_sql_mysql, and recompile.");

    sql_log(DEBUG_FUNC, "%s", "The mod_sql_mysql module has not been properly \
      intialized.  Please make sure your --with-modules configure option \
      lists mod_sql *before* mod_sql_mysql, and recompile.");


위와 같이 고치고 컴파일을 해봤따아..

잘된다.. -.-;;

prev"" #1 next