pc-xx-xx-190-118-du:~/mysql++-1.7.9/examples # g++ -I../sqlplusint/
-I/usr/local/include/mysql -c simple1.cc -L../lib
../lib/libmysqlclient.a -lsqlplus
g++: ../lib/libmysqlclient.a: linker input file unused since linking not
done
g++: -lsqlplus: linker input file unused since linking not done
This is the command I'm having trouble with:
g++ -I../sqlplusint/ -I/usr/local/include/mysql -c simple1.cc -L../lib
../lib/libmysqlclient.a -lsqlplus
-I../sqlplusint/ = include directory
-I/usr/local/include/mysql = include directory
-c simple1.cc = code to compile
-L../lib = path to libraries
../lib/libmysqlclient.a = library to be used
-lsqlplus = library to be used.
I am trying to compile the example simple1.cc which comes with the
mysql++-1.7.9 package for Linux.
I am trying to compile it under Suse Linux 7.1 Prof.
Please help!!!
Thanks in anticipation.
David Ayliffe
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php