Zach Welch wrote:
> On Tue, 2009-06-09 at 11:05 -0400, Gene Smith wrote:
>> Zach Welch wrote:
>>> On Tue, 2009-06-09 at 09:58 -0400, Gene Smith wrote:
>>>> I think most of the problem I discovered building under cygwin have been 
>>>> addressed today. However, I still have the problem with trunk/libtool 
>>>> needing to be modified manually to change ECHO= to echo=.  Seems to be 
>>>> OK in linux. It appears to be a mismatch between the libtool version on 
>>>> my linux (fedora8) which is 1.x compared to cygwin which is 2.x.  Or is 
>>>> this just a user error on my part?
>>> This may be a mismatch, but I do not think it matters.  I am testing
>>> with 1.5.x here, which I think is the most commonly deployed version.
>>> However, I just tested on Ubuntu Jaunty, which has libtool 2.2.6.
>>>
>>>> I did notice that trunk/ltmain.sh is removed when you do a distclean and 
>>>> never comes back. I got it back but it didn't make a difference. Even 
>>>> moved it to the one in /cygwin/usr/share/libtool/config and it still 
>>>> produces a bad libtool file under trunk/
>>> Does the output of the following commands match?
>>>
>>> libtool --version
>>> ./libtool --version
>> Not on cygwin (printed below) but they do on linux f8.
>>
>> $ libtool --version
>> libtool (GNU libtool 1.3081 2009-02-17) 2.2.7a
>> Written by Gordon Matzigkeit <g...@gnu.ai.mit.edu>, 1996
>>
>> Copyright (C) 2009 Free Software Foundation, Inc.
>>
>>
>> $ ./libtool --version
>> ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
>>
>> Copyright (C) 2007  Free Software Foundation, Inc.
>>
>>
>>> The following link seems to be related, doesn't it?
>>>
>>>   https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/285841
>> I also found quite a few references to this error but the only one I 
>> could find that actually told what to do was the one that said ECHO 
>> (upper case) was the problem. I will look more in details at this ubuntu 
>> bug and see if they point to a solution.
> 
> The link I provided suggests exactly what you are seeing; you somehow
> have mismatched versions of libtool, with the in-tree version being from
> 2007 and the installed version being from 2009.  I am not sure what
> caused it or how to fix it exactly (rm ./libtool? and rebootstrap), but
> I am willing to bet that this is the problem.

I notice it always writes a new ./libtool at the end of configure. I 
have not tried to delete it before bootstraping...

OK, I just when though this procedure:

cd trunk
rm ./libtool
./bootstrap
./configure --enable-maintainer-mode ...
make

This is different; when I do make it sees nothing to update. Before it 
always saw all files as out of date!

When I do a
make clean all

I see the usual error that fails due to ECHO. When I change ECHO= to 
echo= in the new ./libtool the build occurs with no errors.


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to