Re: 8.2.1 Compiling Error - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: 8.2.1 Compiling Error
Date
Msg-id 20070205140632.GA4811@svana.org
Whole thread Raw
In response to 8.2.1 Compiling Error  (elein <elein@varlena.com>)
List 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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: tv@fuzzy.cz
Date:
Subject: Re: partitioning / rules - strange behavior
Next
From: Richard Huxton
Date:
Subject: Re: Some issues with planner and query optimization