[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Build output
From: |
C Y |
Subject: |
Re: [Gcl-devel] Build output |
Date: |
Wed, 23 Apr 2003 06:23:22 -0700 (PDT) |
Thanks Camm! That got it. I tweaked an ebuild to work with 2.5.2 and
sent it off to the bug database. Hopefully they'll get it in there
soon.
CY
--- Camm Maguire <address@hidden> wrote:
> Greetings!
>
> C Y <address@hidden> writes:
>
> > --- Camm Maguire <address@hidden> wrote:
> > OK, sure. I can provide you with a temp account. I'll email you
> the
> > info.
> >
> > > BTW, doesn't gentoo have a gcl package?
> >
> > It does, but it doesn't work. It's also for an older version of
> gcl.
> >
>
> OK, there were two issues with your system bfd library:
>
> 1) configure uses the output frmo gcc -Wl,-M -static to find the
> path
> to your static bfd library. This is not the most robust but
> works
> in general. On your system, this command also outputs a line
> like
> ___/usr/lib........libbfd.a, which messes up the LIBS variable.
> A
> simple fix is addinf the "grep '^/'" in :
>
> MP=`$CC [ -Wl,-M ] -static -o foo foo.c -lbfd -liberty 2>&1 | tr
> '()' '\012\012' | grep '^/' | $AWK '{print $NF}' | sort | uniq`
>
>
> 2) Even with this, there is a problem linking on your system with
> libbfd.a libiberty.a. The following is a missing symbol:
>
> gcc -o raw_gcl \
> -L. -lgcl -lm
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libbfd.a
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libiberty.a -lreadline
> -lncurses -lc -lgclp
>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libbfd.a(elf-strtab.o)(.text+0x4ee):
> In function `_bfd_elf_strtab_finalize':
> : undefined reference to `htab_create_alloc'
>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libbfd.a(merge.o)(.text+0x1217):
> In function `merge_strings':
> : undefined reference to `htab_create_alloc'
>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libbfd.a(merge.o)(.text+0x1256):
> In function `merge_strings':
> : undefined reference to `htab_create_alloc'
> collect2: ld returned 1 exit status
> make[1]: *** [raw_gcl] Error 1
>
>
> I don't know if the latest bfd has another library requirement, but
> in
> any case, we'll probably need to look at this a bit more carefully
> with attention to robustness. Luckily, we have the following option,
> which works without problem:
>
> ./configure --disable-statsysbfd --enable-locbfd
>
> I've compiled a tree with these switches together with --enable-ansi
> in my home directory on your machine. I've run the test suite, and
> its standard 2.5.2.
>
> Perhaps you could ask the gentoo/gcl person to add this to their
> package?
>
> Take care,
>
>
>
> > CY
> >
> > __________________________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo
> > http://search.yahoo.com
> >
> >
> > _______________________________________________
> > Gcl-devel mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/gcl-devel
> >
> >
> >
>
> --
> Camm Maguire address@hidden
>
==========================================================================
> "The earth is but one country, and mankind its citizens." --
Baha'u'llah
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
- RE: [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, (continued)
Re: [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, Camm Maguire, 2003/04/08
- Re: [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, C Y, 2003/04/08
- [Gcl-devel] Build output - sorry about the bad post, C Y, 2003/04/08
- Re: [Gcl-devel] Build output - sorry about the bad post, Camm Maguire, 2003/04/09
- Re: [Gcl-devel] Build output, C Y, 2003/04/09
- Re: [Gcl-devel] Build output, Camm Maguire, 2003/04/22
- Re: [Gcl-devel] Build output, C Y, 2003/04/22
- Re: [Gcl-devel] Build output, Camm Maguire, 2003/04/23
- Re: [Gcl-devel] Build output,
C Y <=
- Re: [Gcl-devel] Build output, C Y, 2003/04/23