Re: 8.2.1 Compiling Error

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.2.1 Compiling Error
Date: 2007-02-05 14:06:32
Message-ID: 20070205140632.GA4811@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 30, 2007 at 03:05:27PM -0800, elein wrote:
>
> Debian Linux. Have always built from scratch with no problem.
>
> This is 8.2.1 from postgresql.org.

<snip>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing -g -Wno-error -L../../../../src/port -Wl,-rpath,'/local/pgsql82/lib' preproc.o type.o ecpg.o ecpg_keywords.o output.o keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o -lpgport -lz -lreadline -lcrypt -ldl -lm -o ecpg
> /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'

The only place I've seen this error is when there is a version mismatch
in the use of the compiler. I had it on a system with several versions
of gcc/g++ installed and some varients of binutils. Once I pruned out
the versions I didn't actually need and did a make clean, the problem
went away.

Hope this helps,
--
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

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-02-05 14:11:26 Re: Some issues with planner and query optimization
Previous Message tv 2007-02-05 09:27:45 Re: partitioning / rules - strange behavior