libtool
[Top][All Lists]
Advanced

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

libtool 1.4 failure on Solaris 8


From: Bruce Korb
Subject: libtool 1.4 failure on Solaris 8
Date: Thu, 07 Jun 2001 10:48:04 -0700

Building ethereal:

Making all in gryphon
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I/u/local/include  -I../.. -I../../wiretap -I../../epan
-I/usr/local/include -I/u/local/include  -Wall -g -O2 -I../..
-I../../wiretap -I../../epan -I/usr/local/include -I/usr/openwin/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/u/local/include -c
packet-gryphon.c
../../libtool: test: argument expected
*** Error code 1
make: Fatal error: Command failed for target `packet-gryphon.lo'
Current working directory
/u/bkorb/tools/tcpdump/ethereal-0.8.18/plugins/gryphon
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /u/bkorb/tools/tcpdump/ethereal-0.8.18/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /u/bkorb/tools/tcpdump/ethereal-0.8.18
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'

$ ./libtool --version
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)

Changing the invocation to use "-x", it ends with:

+ test -z gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/u/local/include
-I../.. -I../../wiretap -I../../epan -I/usr/local/include
-I/u/local/include -Wall -g -O2 -I../.. -I../../wiretap -I../../epan
-I/usr/local/include -I/usr/openwin/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/u/local/include -c 
+ test yes = yes 
removelist=packet-gryphon.o packet-gryphon.lo
+ rm -f packet-gryphon.o packet-gryphon.lo 
+ trap  rm -f packet-gryphon.o packet-gryphon.lo; exit 1 1 2 15 
+ test = no 
../../libtool: test: argument expected
*** Error code 1
make: Fatal error: Command failed for target `packet-gryphon.lo'


Here's the code that breaks.  It seems "pic_mode" is empty.
I added the `X' prefix to the test values to make it work.

    $run $rm $removelist
    trap "$run $rm $removelist; exit 1" 1 2 15

    # On Cygwin there's no "real" PIC flag so we must build both object
types
    case $host_os in
    cygwin* | mingw* | pw32* | os2*)
      pic_mode=default
      ;;
    esac
    if test X$pic_mode = Xno && test "$deplibs_check_method" !=
pass_all; then
      # non-PIC code in shared libraries is not supported
      pic_mode=default
    fi

So, now it gets further and breaks elsewhere  :-(  Ick, ick, ick.

finalize_rpath= /usr/local/lib
+ test != yes 
../../libtool: test: argument expected
*** Error code 1
make: Fatal error: Command failed for target `gryphon.la'
Current working directory
/u/bkorb/tools/tcpdump/ethereal-0.8.18/plugins/gryphon
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /u/bkorb/tools/tcpdump/ethereal-0.8.18/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /u/bkorb/tools/tcpdump/ethereal-0.8.18
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'



reply via email to

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