Re: error compiling 8.2 in debian sarge

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Jaime Casanova <systemguards(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error compiling 8.2 in debian sarge
Date: 2006-11-12 20:39:50
Message-ID: 20061112203950.GD1586@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2006-11-12 21:03:28 Re: error compiling 8.2 in debian sarge
Previous Message Chris Mair 2006-11-12 20:34:40 Re: error compiling 8.2 in debian sarge