>> Delete No. 19589 article
No. mysql을 이용한 C프로그램 컴파일이 안됩니다.

등록 2001-02-02 18:07:00 By localhost     조회 1
이름 이상림    

mysql-3.23.32를 새로 받아서 설치한 후부터 컴파일이 안됩니다.
  다음과같은 오류가 나오는데 mysql 설치할때도 아무문제 없었거든요...
조언 부탁드립니다.
 [util]# cc -o test test.c /usr/local/mysql/lib/mysql/libmysqlclient.a
updvdvcdreview.c: In function `main':
updvdvcdreview.c:11: warning: return type of `main' is not `int'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x99): undefined reference to `uncompress'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x128): undefined reference to `compress'
collect2: ld returned 1 exit status
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved