This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems rebuilding libffi/Makefile.in


Jeff Sturm wrote:

> On Mon, 26 Mar 2001, Bryce McKinlay wrote:
> > This patch allows me to rebuild libffi's configure and Makefile.in and
> > still have a working build. Does it look reasonable? Tom? Alex?
>
> On Solaris (GNU make) this gave me the error:
>
> /bin/sh ./libtool --mode=compile
> /export/home/jsturm/dev/gcc/objdir/gcc/xgcc
> -B/export/home/jsturm/dev/gcc/objdir/gcc/
> -B/usr/local/sparc-sun-solaris2.7/bin/
> -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem
> /usr/local/sparc-sun-solaris2.7/include -DHAVE_CONFIG_H -I.
> -I/export/home/jsturm/dev/gcc/libffi -I.
> -I/export/home/jsturm/dev/gcc/libffi/include -Iinclude
> -I/export/home/jsturm/dev/gcc/libffi/src   -fexceptions -g -O2 -c -o
> src/debug.lo /export/home/jsturm/dev/gcc/libffi/src/debug.c
> ./libtool: src/debug.loT: cannot create
>
> No problem on Linux though... so color me baffled.  It is libtool's job to
> create the obj dir?  Making it by hand and proceeding with make worked...

Did you reconfigure libffi on the solaris box? The subdirectories in the
build dir get created by configure (this works the same as libjava). Try
deleting your libffi build directory completly and trying again.

regards

  [ bryce ]




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]