List:General Discussion« Previous MessageNext Message »
From:허정수 Date:April 28 1999 4:10am
Subject:compile with C API
View as plain text  
I use MySQL 3.22.20a.

When I try compile source program which use C API

I got error message 

Undefined                       first referenced
 symbol                             in file
__muldi3                            /data1/student/c9744245/local/lib/mysql/lib
__udivdi3                           /data1/student/c9744245/local/lib/mysql/lib
ld: fatal: Symbol referencing errors. No output written to a.out

I compiled with -lmysqlclient option. 

The program only uses 'mysql_init(), mysql_real_connect'

What's the problem

Thank U for reading my poor English


compile with C APIwertyu28 Apr
  • Re: compile with C APIThimble Smith28 Apr
  • Re: compile with C APISasha Pachev28 Apr