[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] cvs compile error (libtool: compile: specify a ta
From: |
Ilia Mirkin |
Subject: |
Re: [Discuss-gnuradio] cvs compile error (libtool: compile: specify a tag with `--tag') |
Date: |
Thu, 10 Feb 2005 17:29:27 -0500 |
You didn't quite understand my instructions correctly. I didn't have the
lines in front of me, but now that I do, change:
LTASCOMPILE = $(LIBTOOL) --mode=compile $(AS) $(AM_ASFLAGS) $(ASFLAGS)
to
LTASCOMPILE = $(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS)
It worked for me.
However, if, as Eric notes, the problem is in AM_ASFLAGS not being
expanded properly, you can try just removing that and seeing if it
works. I thought that the problem was the libtool didn't know about "as"
as the compiler, only gcc/derivatives.
---
Ilia Mirkin
address@hidden
On Thu, 2005-02-10 at 07:17 -0800, mj wrote:
> After changing:
>
> LTASCOMPILE = $(LIBTOOL) --mode=compile $(AS)
> $(AM_ASFLAGS) $(ASFLAGS)
>
> to
>
> LTASCOMPILE = $(LIBTOOL) --mode=compile $(CCAS)
> $(CCASFLAGS) $(AS) $(ASFLAGS)
>
> and then running "./for-all-dirs ../buildit" it still
> gives the same error. The Makefile is overwritten back
> to the way it was before.
>
> I am doing everything as root to see if it compiles
> properly and marking Makefile as read only has no
> effect.
>
> cheers,
>
> mj
>
> >
> > --- Ilia Mirkin <address@hidden> wrote:
> >
> > > That's funny... I had the exact same problem, on
> > > gentoo. The way I fixed
> > > it was to edit the Makefile in that directory
> > > (src/lib/filter), changing
> > > the LTASCOMPILE definition from like
> > >
> > > libtool --mode=compile ..... $(AS) $(ASFLAGS)
> > >
> > > or something along those lines to
> > >
> > > libtool --mode=compile $(CCAS) $(CCASFLAGS)
> > >
> > > (basically stick a CC in front of the AS*
> > variables
> > > and get rid of the
> > > AM_FLAGS param)
> > >
> > > Hope this helps,
> > >
> > > Ilia Mirkin
> > > address@hidden
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> http://info.mail.yahoo.com/mail_250
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] cvs compile error (libtool: compile: specify a tag with `--tag'), Eric Blossom, 2005/02/10