libtool
[Top][All Lists]
Advanced

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

problem with libtool 1.9f on AIX linking f95...


From: Ed Hartnett
Subject: problem with libtool 1.9f on AIX linking f95...
Date: Sat, 24 Dec 2005 08:45:21 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Howdy all!

On an AIX platform, I am seeing the following error:

Target "check" is up to date.
Making check in f90
        /bin/sh ../libtool --tag=F77    --mode=compile xlf90 -I../libsrc4 -I.  
-I/home/ed/local/zasu/include -g -qsuffix=f=f90 -c -o typeSizes.lo typeSizes.f90
 xlf90 -I../libsrc4 -I. -I/home/ed/local/zasu/include -g -qsuffix=f=f90 -c 
typeSizes.f90 -o typeSizes.o
** typesizes   === End of Compilation 1 ===
1501-510  Compilation successful for file typeSizes.f90.
        /bin/sh ../libtool --tag=F77    --mode=compile xlf90 -I../libsrc4 -I.  
-I/home/ed/local/zasu/include -g -qsuffix=f=f90 -c -o netcdf.lo netcdf.f90
 xlf90 -I../libsrc4 -I. -I/home/ed/local/zasu/include -g -qsuffix=f=f90 -c 
netcdf.f90 -o netcdf.o
** netcdf   === End of Compilation 1 ===
1501-510  Compilation successful for file netcdf.f90.
        /bin/sh ../libtool --mode=link xlf90 -I../libsrc4 -I.  
-I/home/ed/local/zasu/include -g -qsuffix=f=f90  -L/home/ed/local/zasu/lib  -o 
libnetcdff90.la   typeSizes.lo netcdf.lo  -lhdf5_hl -lhdf5 
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make: 1254-004 The error code from the last command is 1.

THis is similar to another error I previously fixed based on a
suggestion from Ralph to put the following in Makefile.am:

LTFCCOMPILE = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS)

And as we can see above, the compile works. Unfortunately I can't find
documentation of LTFCCOMPILE - is there an equivilant for linking?

This is with libtool 1.9f, BTW.

Thanks for any suggestions!

Ed


-- 
Ed Hartnett  -- address@hidden





reply via email to

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