Received: from mx1.landsraad.net (mx1.landsraad.net [195.5.64.26]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA76444; Mon, 10 May 1999 14:02:28 -0400 (EDT) (envelope-from barreiro@arrakis.es) From: barreiro@arrakis.es Received: from localhost.localdomain (ie-15.arrakis.es [195.5.74.15]) by mx1.landsraad.net (8.9.3/8.9.3) with ESMTP id UAA30317; Mon, 10 May 1999 20:01:15 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990504084527.A1698@gmx.net> Date: Mon, 10 May 1999 21:13:03 +0200 (MEST) Sender: barreiro@localhost.localdomain To: Michael Meskes Subject: Re: [INTERFACES] Error linking C++ code. Cc: pgsql-interfaces@postgreSQL.org On 04-May-99 Michael Meskes wrote: > On Mon, May 03, 1999 at 10:09:32PM +0200, barreiro@arrakis.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@arrakis.es En un lugar de la red Madrid. Espaņa. de cuyo nombre no quiero http://www.croftj.net/~barreiro Linux Landia acordarme..........