Re: [GENERAL] 8.2.1 Compiling Error

Поиск
Список
Период
Сортировка
От elein
Тема Re: [GENERAL] 8.2.1 Compiling Error
Дата
Msg-id 20070131232424.GG8879@varlena.com
обсуждение исходный текст
Ответ на Re: [GENERAL] 8.2.1 Compiling Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] 8.2.1 Compiling Error  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
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:
firstdefined 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: [GENERAL] 8.2.1 Compiling Error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL RENAME functionality in TODOs