Re: [GENERAL] 8.2.1 Compiling Error - Mailing list pgsql-hackers

From Florian G. Pflug
Subject Re: [GENERAL] 8.2.1 Compiling Error
Date
Msg-id 45C14658.9040108@phlo.org
Whole thread Raw
In response to [GENERAL] 8.2.1 Compiling Error  (elein <elein@varlena.com>)
List pgsql-hackers
elein wrote:
> ----- Forwarded message from elein <elein@varlena.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:
firstdefined 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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/pgSQL RENAME functionality in TODOs
Next
From: Chris Dunlop
Date:
Subject: Data archiving/warehousing idea