| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Jaime Casanova <systemguards(at)gmail(dot)com> |
| Cc: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: error compiling 8.2 in debian sarge |
| Date: | 2006-11-12 21:15:23 |
| Message-ID: | 20061112211523.GE1586@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Nov 12, 2006 at 04:06:03PM -0500, Jaime Casanova wrote:
> >> /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'
> >I had that error once and it was caused by a dodgy version of the C
> >compiler, or it was installed incorrectly, so that part of the project
> >was built with one version and part with another. Make sure you've got
> >the C compiler correctly installed and that everything is being
> >compiled/linked with the same version.
> >
>
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
>
> i haven't upgraded it lately, at least not by myself. any idea how to
> know if is that?
How many versions of GCC do you have installed?
Do the versions of 'gcc -V', 'ld -V' all match?
Given the versions numbers, when you run "dpkg -l 'gcc*'" is that
version properly installed?
How about versions of g++?
When I had that problem I uninstalled all old versions of gcc/g++, did
a make clean and recompiled from scratch and that fixed it. I also
upgraded glibc to the same date as gcc, since the error is based (I
think) on a mismatch between the expectations of the compiler and of
the C library.
Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jaime Casanova | 2006-11-12 21:19:30 | Re: error compiling 8.2 in debian sarge |
| Previous Message | Jaime Casanova | 2006-11-12 21:06:03 | Re: error compiling 8.2 in debian sarge |