Re: Unable to call C Prepared API's on Linux(Redhat 9)
Posted by: hyunung park
Date: June 23, 2005 07:42PM

Thanks for your reply... :)
the reason why I used the both of --libs and --libs_r is just a trial to solve that problem...error on prepared API's.
At firtst, I used --libs only which gave exactly same result of error on prepared API's.

I tried what you suggested as below...

gcc -o ./managenment_linux `/usr/bin/mysql_config --cflags` test.o lock.o global.o codbc.o `/usr/bin/mysql_config --libs` -lpisock -lnsl -lelf -lm -lpthread -lstdc++

but, it didn't make any difference...it still produces same errors....
do I miss something to use that option properly?..
I used that on the makefile with $(definition) within `(backtick) at both of before and after the phrase like `$(CFG) --cflags`...

anyway, Thanks again for your help.... :)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Unable to call C Prepared API's on Linux(Redhat 9)
530
June 23, 2005 07:42PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.