List:General Discussion« Previous MessageNext Message »
From:Hisseine Dj. Date:May 9 2002 8:40pm
Subject:Re: link problem
View as plain text  
> > 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
>
>


Thread
install mysql++ on linuxadel essafi25 Apr
  • Re: install mysql++ on linuxSinisa Milivojevic25 Apr
  • link problemadelpfe1 May
    • Re: link problemSinisa Milivojevic9 May
  • Re: link problemHisseine Dj.9 May