Re: link problem

2002-05-09 Thread Hisseine Dj.

> > 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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
>  / /|_/ / // /\ \/ /_/ / /__   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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>



-
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




Re: link problem

2002-05-09 Thread Sinisa Milivojevic

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 <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php