Re: [INTERFACES] Error linking C++ code.

From: barreiro(at)arrakis(dot)es
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Error linking C++ code.
Date: 1999-05-10 19:13:03
Message-ID: XFMail.990510211303.barreiro@arrakis.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On 04-May-99 Michael Meskes wrote:
> On Mon, May 03, 1999 at 10:09:32PM +0200, barreiro(at)arrakis(dot)es wrote:
>> gcc -c -o lml.o lml_prueba.cc -I/usr/include/g++ -I/usr/include/pgsql
>> -L/usr/lib/pgsql -lpq -lpq++ -lstdc++
>
> Hmm, this command line is kind of strange. First of all the c++ compiler is
> named g++ not gcc. Then it seems you only want to compile and link the code
> (hence the -c) but why do you give linker options (-l*)?
>

That's right Michael, I use g++ but I write this mail to hasty.
6.4.2 postgres release solve my problems.

Thank's

Manuel de Vega Barreiro. barreiro(at)arrakis(dot)es En un lugar de la red
Madrid. Espaa. de cuyo nombre no quiero
http://www.croftj.net/~barreiro Linux Landia acordarme..........

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message barreiro 1999-05-10 19:13:06 Re: [INTERFACES] Error linking C++ code.
Previous Message Craig Orsinger 1999-05-10 18:58:25 RE: [INTERFACES] error insert