Re: error compiling 8.2 in debian sarge - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: error compiling 8.2 in debian sarge
Date
Msg-id 20061112203950.GD1586@svana.org
Whole thread Raw
In response to error compiling 8.2 in debian sarge  ("Jaime Casanova" <systemguards@gmail.com>)
Responses Re: error compiling 8.2 in debian sarge  ("Jaime Casanova" <systemguards@gmail.com>)
List pgsql-hackers
On Sun, Nov 12, 2006 at 02:31:24PM -0500, Jaime Casanova wrote:
> Hi...
>
> i'm using debian sarge and when trying to compile 8.2beta3 got this fail...

<snip>

> /usr/lib/libc_nonshared.a(elf-init.oS)(.text.__i686.get_pc_thunk.bx+0x0):
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
>
../ecpglib/typename.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/postgres/PG_RELEASES/pgsql-8.2beta2/src/interfaces/ecpg/ecpglib/typename.c:18:
> first defined here
> collect2: ld returned 1 exit status

I had that error once and it was caused by a dodgy version of the C
compiler, or it was installed incorrectly, so that part of the project
was built with one version and part with another. Make sure you've got
the C compiler correctly installed and that everything is being
compiled/linked with the same version.

Have a ncie day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Chris Mair
Date:
Subject: Re: error compiling 8.2 in debian sarge
Next
From: "Jaime Casanova"
Date:
Subject: Re: error compiling 8.2 in debian sarge