error compiling 8.2 in debian sarge

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: error compiling 8.2 in debian sarge
Date: 2006-11-12 19:31:24
Message-ID: c2d9e70e0611121131p507ff1b5l650f5aa49429a262@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi...

i'm using debian sarge and when trying to compile 8.2beta3 got this fail...

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-strict-aliasing -g -Wno-error
-L../../../../src/port -Wl,-rpath,'/usr/local/pgsql/pgsql/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)(.text.__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/postgres/PG_RELEASES/pgsql-8.2beta2/src/interfaces/ecpg/ecpglib/typename.c:18:
first defined here
collect2: ld returned 1 exit status
make[4]: *** [ecpg] Error 1
make[4]: Leaving directory
`/home/postgres/PG_RELEASES/pgsql-8.2beta2/src/interfaces/ecpg/preproc'

a bug or my fault (maybe some lib missing)?

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GUNDUZ 2006-11-12 20:14:23 Re: Giving up multiple postmaster + RPM issue
Previous Message Robert Treat 2006-11-12 18:01:20 Re: Frequent Update Project: Design Overview of HOTUpdates