[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] gcl build failure
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] gcl build failure |
Date: |
06 Aug 2002 19:10:41 -0400 |
Greetings!
Basically, gcc has difficulty in mixing dynamic and static libs
specified with the -l syntax on the command line. I just replaced
gcc -o foo -g -O2 foo.c -lm -lreadline -lncurses -Wl,-static -lbfd
-liberty
with
gcc -o foo -g -O2 foo.c -lm -lreadline -lncurses /usr/lib/libbfd.a
/usr/lib/libiberty.a
or equivalent.
Good luck!
Carsten Koch <address@hidden> writes:
> Hi Camm,
>
> I found your posting=20
> http://mail.gnu.org/pipermail/gcl-devel/2002-February/000297.html
> about the error message
> /usr/bin/ld: /lib/ld-linux.so.2: indirect symbol `__libc_internal_tsd_=
> set' to `__libc_internal_tsd_set@@GLIBC_2.0' is a loop
>
> I am getting the same error message in one of my projects.
> You say you have fixed it.
> What was the cause?
> What did you do to fix it?
>
> Thanks and cheers,
>
> Carsten.
>
> --=20
> __________________________________________________________
> ( )
> | Carsten Koch Phone: +49-4286-920001 |
> | ICEM Technologies GmbH Fax: +49-4286-1608 |
> | Sotheler M=FChlenweg 15 mailto:address@hidden |
> | 27404 Elsdorf-Hatzte, Germany http://www.icem.com |
> (__________________________________________________________)
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- Re: [Gcl-devel] gcl build failure,
Camm Maguire <=