> > gcc simple1.cc -c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
> > -lm -tz ->
Replace the -c option with -o
Hisseine
----- Original Message -----
From: "Sinisa Milivojevic" <sinisa@stripped>
To: <adelpfe@stripped>
Cc: <mysql@stripped>
Sent: Thursday, May 09, 2002 1:43 PM
Subject: Re: link problem
> adelpfe writes:
> > hi every body
> > i have succeed to compile source examples given with mysql++1.7.9. but i
> > can't link them.
> > i used
> > gcc simple1.cc -c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
> > -lm -tz ->all rigth
> > but , i didn't succeed to link
> > can you help me
> >
>
> HI!
>
> First of all, you should use g++.
>
> Second, you should link in sqlplus too ...
>
> --
> Regards,
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@stripped>
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
>
> ---------------------------------------------------------------------
> 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 <mysql-thread108533@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-djandabri=sympatico.ca@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>