Re: error compiling 8.2 in debian sarge

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: error compiling 8.2 in debian sarge
Date: 2006-11-12 21:06:03
Message-ID: c2d9e70e0611121306x3d2c2986n6654d1cf77fdd455@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/12/06, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
> 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.
>

gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)

i haven't upgraded it lately, at least not by myself. any idea how to
know if is that?

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-11-12 21:15:23 Re: error compiling 8.2 in debian sarge
Previous Message Jaime Casanova 2006-11-12 21:03:28 Re: error compiling 8.2 in debian sarge