[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [HACKERS] [GENERAL] 8.2.1 Compiling Error
From:       elein <elein () varlena ! com>
Date:       2007-01-31 23:24:24
Message-ID: 20070131232424.GG8879 () varlena ! com
[Download RAW message or body]

On Wed, Jan 31, 2007 at 03:41:31PM -0500, Tom Lane wrote:
> elein <elein@varlena.com> writes:
> > 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
> 
> Weird.  None of the Debian machines in the buildfarm are failing.
> Is this a vanilla x86 installation?  Maybe something non-default
> about your compiler?

Pretty darn vanilla, except for source packages from postgres.

Korry suggests upgrading gcc, although I've built all of the
previous versions with no problem.  But I'll try that.

> 
> typename.c in 8.2 branch hasn't changed for about three years,
> so it's not like that code suddenly broke ...
> 
> 			regards, tom lane

--elein

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic