Re: [GENERAL] 8.2.1 Compiling Error

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] 8.2.1 Compiling Error
Date: 2007-02-01 01:46:00
Message-ID: 45C14658.9040108@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

elein wrote:
> ----- Forwarded message from elein <elein(at)varlena(dot)com> -----
> Build error is:
> 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'
> ../ecpglib/typename.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/local/src/postgresql-8.2.1/src/interfaces/ecpg/ecpglib/typename.c:18: first defined herecollect2: ld returned 1 exit status
> make[4]: *** [ecpg] Error 1
> make[4]: Leaving directory `/home/local/src/postgresql-8.2.1/src/interfaces/ecpg/preproc'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/local/src/postgresql-8.2.1/src/interfaces/ecpg'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/local/src/postgresql-8.2.1/src/interfaces'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/local/src/postgresql-8.2.1/src'
> make: *** [all] Error 2
>
> Any ideas?
I think I encountered that error once when building some
malloc-replacement library.
I think I was some strange interaction of a certain libc version with a
certain gcc version - I think I fixed it by upgrading both to a newer
version, but I can't remeber the details.. :-(

greetings, Florian Oflug

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Dunlop 2007-02-01 02:01:34 Data archiving/warehousing idea
Previous Message Tom Lane 2007-02-01 00:28:25 Re: PL/pgSQL RENAME functionality in TODOs