gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] GCL cvs build failure on Linux


From: Camm Maguire
Subject: Re: [Gcl-devel] GCL cvs build failure on Linux
Date: 12 Feb 2002 16:48:16 -0500

Greetings!

"Vadim V. Zhytnikov" <address@hidden> writes:

> Thanks! Now it builds. But I just want to mention that I have
> both libbfd and libbfd-devel installed. So something might
> be wrong with configuration script. I've noticed two items
> which configure checks about bfd:
> bfd.h  -> yes
> bfd_init -> no
> Is it normal? Second "no"  looks suspicious.
> 

Yes, this is suspicious.  Of course, we know as of the present bfd
should be an *option*.  Required on any of the new elf platforms, but
ix386 should work if configure finds no bfd.  Which looks to be the
case here.

Here is the configure.in part:

AC_CHECK_HEADER(bfd.h,
        AC_CHECK_LIB(bfd,bfd_init,
                AC_DEFINE(HAVE_LIBBFD)
                LIBS="$LIBS -lbfd -liberty"
                ,,-liberty))


I.e., you've got bfd.h, but a program cannot find the bfd_init routine
when linked against -lbfd -liberty.  Check you're configure.log to see
why.  Are these libraries called something different on your system?
On Debian, there is no libbfd 'package', its part of 'binutils'.

Take care, 

> Vadim
> 
> Camm Maguire wrote:
> 
> > Greetings, and thanks for the report!  This should only show up when
> > libbfd-dev is not available.  Should be fixed now in CVS, Please check
> > it out!
> >
> > Take care,
> >
> > "Vadim V. Zhytnikov" <address@hidden> writes:
> >
> > > Today I've tried to build GCL from latest cvs but in vain.
> > > Build failed at linking raw_gcl with the error:
> > >
> > > ../o/alloc.o: In function `realloc':
> > > ../o/alloc.o(.text+0x2026): undefined reference to `in_bfd_init'
> > > ../o/alloc.o: In function `calloc':
> > > ../o/alloc.o(.text+0x21d9): undefined reference to `in_bfd_init'
> > > ../o/alloc.o: In function `malloc':
> > > ../o/alloc.o(.text+0x2845): undefined reference to `in_bfd_init'
> > > collect2: ld returned 1 exit status
> > >
> > > The problem is with sfaslelf.c where in_bfd_init is defined.
> > > But it seems that this file is missing from makefiles.
> > >
> > > Vadim
> > >
> > > --
> > >
> > > [ Vadim V. Zhytnikov  <address@hidden>  <address@hidden> ]
> > >
> > > _______________________________________________
> > > 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
> 
> --
> 
> [ Vadim V. Zhytnikov  <address@hidden>  <address@hidden: 0009om - Sun Feb 10 
> 13:45:22 2002
> X-Mozilla-Status: 0801
> X-Mozilla-Status2: 00000000
> FCC: /C|/Program Files/Netscape/Users/vadim/mail/Sent
> Message-ID: <address@hidden>
> Date: Sun, 10 Feb 2002 13:45:22 +0300
> From: "Vadim V. Zhytnikov" <address@hidden>
> X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0; html=0; 
> linewidth=78
> X-Mailer: Mozilla 4.7 [en] (Win98; I)
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Camm Maguire <address@hidden>
> Subject: Re: [Gcl-devel] Re: destructuring-bind
> References: <address@hidden> <address@hidden>
> Content-Type: text/plain; charset=koi8-r
> Content-Transfer-Encoding: 7bit
> 
> I confirm. I've got right result for CLHS example with
> CLISP and CMUCL. But result with GCL from CVS
> is wrong. I guess we've met another GCL ANSI
> incompatibility.
> 
> Vadim
> 
> Camm Maguire wrote:
> 
> > Greetings!
> >
> > Will someone please try the example for destructuring-bind as listed
> > in the ansi hyper-spec?  The code I've put in, stolen from Maxima
> > stolen from cmulisp, doesn't seem to give the intended answer.
> >
> > Take care,
> >
> > C Y <address@hidden> writes:
> >
> > > >From Maxima list:
> > >
> > > > And, actually, if a missing destructuring-bind is really the problem,
> > > > I think we should just add a version for maxima and gcl, and wait
> > > > until
> > > > gcl gets it's own version.  (Should be able to steal one from CMUCL.)
> > >
> > > Maybe something to add to the TODO list?
> > >
> > > CY
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Send FREE video emails in Yahoo! Mail!
> > > http://promo.yahoo.com/videomail/
> > >
> > >
> >
> > --
> > Camm Maguire                                            address@hidden
> > ==========================================================================
> > "The earth is but one country, and mankind its citizens."  --  Baha'u'llah
> >
> > _______________________________________________
> > Gcl-devel mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> --
> 
> [ Vadim V. Zhytnikov  <address@hidden>  <address@hidden> ]
> 
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]