[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./libtool: test: =: unary operator expected
From: |
Gary V. Vaughan |
Subject: |
Re: ./libtool: test: =: unary operator expected |
Date: |
Sat, 11 Nov 2000 12:10:06 +0000 |
User-agent: |
Mutt/1.2.5i |
Do you still have this problem (with current CVS HEAD)?
pic_mode should always be set because of this line:
test -z "$pic_mode" && pic_mode=default
from libtool.m4, which generates the libtool script.
Thanks for the report,
Gary.
On Tue, Oct 24, 2000 at 12:21:09AM +0200, Carlo Wood wrote:
> The libtool that is generated (by the current cvs version)
> gives the following error:
>
> ./libtool: test: =: unary operator expected
>
> This is caused by the following lines in this file:
>
> if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
> # non-PIC code in shared libraries is not supported
> pic_mode=default
> fi
>
> where it turns out that $pic_mode is empty.
>
> In the cvs repository this probably corresponds to line 461 in ltmain.in
>
> I have no solution since I don't know if the test needs to be changed
> or that pic_mode should have been set at that point.
>
> --
> Carlo Wood <address@hidden> -=- Jesus Loves you -=-
>
> _______________________________________________
> Bug-libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-libtool
--
___ _ ___ __ _ mailto: address@hidden
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: ./libtool: test: =: unary operator expected,
Gary V. Vaughan <=