List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:April 28 1999 4:14am
Subject:Re: compile with C API
View as plain text  
You will find the answer to this in the manual.  On some systems
you need to link with the math library!

Tim


On Wed, Apr 28, 1999 at 01:10:14PM +0900, ÇãÁ¤¼ö
wrote:
> 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
> mysqlclient.so
> __udivdi3                           /data1/student/c9744245/local/lib/mysql/lib
> mysqlclient.so
> 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
> 
> ye
> 
> 
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread2525@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
> 
Thread
compile with C APIwertyu28 Apr
  • Re: compile with C APIThimble Smith28 Apr
  • Re: compile with C APISasha Pachev28 Apr