cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands make check-recursive make[1]: Entering directory `/home/nwe23/software/libtool-2.2.6' make[2]: Entering directory `/home/nwe23/software/libtool-2.2.6' cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make check-TESTS check-local make[3]: Entering directory `/home/nwe23/software/libtool-2.2.6' fcdemo-static.test: === Running fcdemo-static.test fcdemo-static.test: === Running `make distclean' in fcdemo make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' rm -f fprogram fprogram rm -f cprogram cprogram test -z "libfoo.la libmix.la libfoo2.la libfoo3.la" || rm -f libfoo.la libmix.la libfoo2.la libfoo3.la rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo rm -f *.tab.c test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool ac_files="a.out.* a.exe.* a_out.exe.* b.out.* conftest.*"; \ for ac_file in $ac_files; do \ case $ac_file in \ *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) rm -rf $ac_file ;; \ esac; \ done rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' fcdemo-static.test: === Configuring in fcdemo fcdemo-static.test: === /bin/sh /home/nwe23/software/libtool-2.2.6/tests/fcdemo/configure --srcdir=/home/nwe23/software/libtool-2.2.6/tests/fcdemo --prefix=/home/nwe23/software/libtool-2.2.6/_inst --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking how to get verbose linking output from gfortran... -v checking for Fortran libraries of gfortran... -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking for Fortran flag to compile .f90 files... none checking for Fortran flag needed to allow free-form source... none checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld -m elf_x86_64 option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU Fortran compiler... (cached) yes checking whether gfortran accepts -g... (cached) yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands PASS: tests/fcdemo-static.test fcdemo-make.test: === Running fcdemo-make.test make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make all-am make[5]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof.lo foof.f90 libtool: compile: gfortran -g -O2 -c foof.f90 -o foof.o /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof2.lo foof2.f90 libtool: compile: gfortran -g -O2 -c foof2.f90 -o foof2.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo2.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof2.lo -ldl libtool: link: ar cru .libs/libfoo2.a foof2.o libtool: link: ranlib .libs/libfoo2.a libtool: link: ( cd ".libs" && rm -f "libfoo2.la" && ln -s "../libfoo2.la" "libfoo2.la" ) /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo libfoo2.la -ldl libtool: link: ar cru .libs/libfoo.a foof.o libtool: link: ranlib .libs/libfoo.a libtool: link: ( cd ".libs" && rm -f "libfoo.la" && ln -s "../libfoo.la" "libfoo.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c -o fooc.lo fooc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c fooc.c -o fooc.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libmix.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo foof2.lo fooc.lo -ldl libtool: link: ar cru .libs/libmix.a foof.o foof2.o fooc.o libtool: link: ranlib .libs/libmix.a libtool: link: ( cd ".libs" && rm -f "libmix.la" && ln -s "../libmix.la" "libmix.la" ) /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof3.lo foof3.f90 libtool: compile: gfortran -g -O2 -c foof3.f90 -o foof3.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo3.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof3.lo -ldl libtool: link: ar cru .libs/libfoo3.a foof3.o libtool: link: ranlib .libs/libfoo3.a libtool: link: ( cd ".libs" && rm -f "libfoo3.la" && ln -s "../libfoo3.la" "libfoo3.la" ) gfortran -g -O2 -c -o fprogram.o fprogram.f90 /bin/sh ./libtool --mode=link gfortran -g -O2 -o fprogram fprogram.o libfoo.la libfoo3.la -ldl libtool: link: gfortran -g -O2 -o fprogram fprogram.o ./.libs/libfoo.a /home/nwe23/software/libtool-2.2.6/tests/fcdemo/.libs/libfoo2.a ./.libs/libfoo3.a -ldl gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c cprogram.c /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o cprogram cprogram.o libmix.la -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm -ldl libtool: link: gcc -g -O2 -o cprogram cprogram.o ./.libs/libmix.a -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. /home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/libgfortranbegin.a /home/nwe23/bin/lib/../lib64/libgfortran.so -lm -ldl -Wl,-rpath -Wl,/home/nwe23/bin/lib/../lib64 -Wl,-rpath -Wl,/home/nwe23/bin/lib/../lib64 make[5]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' PASS: tests/fcdemo-make.test fcdemo-exec.test: === Running fcdemo-exec.test fcdemo-exec.test: === Executing uninstalled programs in fcdemo-exec.test: === You may need to run ./tests/fcdemo-exec.test as the superuser. Welcome to GNU libtool mixed C/Fortran demo! The C subroutine returned, claiming that 2*2 = 4 The C subroutine is ok! Calling the C wrapper routine... Calling the Fortran subroutine from the C wrapper... fsub called fsubf called Returned from the Fortran subroutine... The C wrapper to the fortran subroutine returned, claiming that 2*2 = 4 The Fortran subroutine is ok! FAIL: tests/fcdemo-exec.test fcdemo-conf.test: === Running fcdemo-conf.test fcdemo-conf.test: === Running `make distclean' in fcdemo make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' rm -f fprogram fprogram rm -f cprogram cprogram test -z "libfoo.la libmix.la libfoo2.la libfoo3.la" || rm -f libfoo.la libmix.la libfoo2.la libfoo3.la rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo rm -f *.tab.c test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool ac_files="a.out.* a.exe.* a_out.exe.* b.out.* conftest.*"; \ for ac_file in $ac_files; do \ case $ac_file in \ *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) rm -rf $ac_file ;; \ esac; \ done rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' fcdemo-conf.test: === Configuring in fcdemo fcdemo-conf.test: === /bin/sh /home/nwe23/software/libtool-2.2.6/tests/fcdemo/configure --srcdir=/home/nwe23/software/libtool-2.2.6/tests/fcdemo --prefix=/home/nwe23/software/libtool-2.2.6/_inst checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking how to get verbose linking output from gfortran... -v checking for Fortran libraries of gfortran... -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking for Fortran flag to compile .f90 files... none checking for Fortran flag needed to allow free-form source... none checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld -m elf_x86_64 option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU Fortran compiler... (cached) yes checking whether gfortran accepts -g... (cached) yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands PASS: tests/fcdemo-conf.test fcdemo-make.test: === Running fcdemo-make.test make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make all-am make[5]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof.lo foof.f90 libtool: compile: gfortran -g -O2 -c foof.f90 -fPIC -o .libs/foof.o libtool: compile: gfortran -g -O2 -c foof.f90 -o foof.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof2.lo foof2.f90 libtool: compile: gfortran -g -O2 -c foof2.f90 -fPIC -o .libs/foof2.o libtool: compile: gfortran -g -O2 -c foof2.f90 -o foof2.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo2.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof2.lo -ldl libtool: link: gfortran -shared .libs/foof2.o -ldl -Wl,-soname -Wl,libfoo2.so.0 -o .libs/libfoo2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo2.so.0" && ln -s "libfoo2.so.0.0.0" "libfoo2.so.0") libtool: link: (cd ".libs" && rm -f "libfoo2.so" && ln -s "libfoo2.so.0.0.0" "libfoo2.so") libtool: link: ar cru .libs/libfoo2.a foof2.o libtool: link: ranlib .libs/libfoo2.a libtool: link: ( cd ".libs" && rm -f "libfoo2.la" && ln -s "../libfoo2.la" "libfoo2.la" ) /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo libfoo2.la -ldl libtool: link: gfortran -shared .libs/foof.o -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/tests/fcdemo/.libs -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib ./.libs/libfoo2.so -ldl -Wl,-soname -Wl,libfoo.so.0 -o .libs/libfoo.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo.so.0" && ln -s "libfoo.so.0.0.0" "libfoo.so.0") libtool: link: (cd ".libs" && rm -f "libfoo.so" && ln -s "libfoo.so.0.0.0" "libfoo.so") libtool: link: ar cru .libs/libfoo.a foof.o libtool: link: ranlib .libs/libfoo.a libtool: link: ( cd ".libs" && rm -f "libfoo.la" && ln -s "../libfoo.la" "libfoo.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c -o fooc.lo fooc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c fooc.c -fPIC -DPIC -o .libs/fooc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c fooc.c -o fooc.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libmix.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo foof2.lo fooc.lo -ldl libtool: link: gfortran -shared .libs/foof.o .libs/foof2.o .libs/fooc.o -ldl -Wl,-soname -Wl,libmix.so.0 -o .libs/libmix.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmix.so.0" && ln -s "libmix.so.0.0.0" "libmix.so.0") libtool: link: (cd ".libs" && rm -f "libmix.so" && ln -s "libmix.so.0.0.0" "libmix.so") libtool: link: ar cru .libs/libmix.a foof.o foof2.o fooc.o libtool: link: ranlib .libs/libmix.a libtool: link: ( cd ".libs" && rm -f "libmix.la" && ln -s "../libmix.la" "libmix.la" ) /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof3.lo foof3.f90 libtool: compile: gfortran -g -O2 -c foof3.f90 -fPIC -o .libs/foof3.o libtool: compile: gfortran -g -O2 -c foof3.f90 -o foof3.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo3.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof3.lo -ldl libtool: link: gfortran -shared .libs/foof3.o -ldl -Wl,-soname -Wl,libfoo3.so.0 -o .libs/libfoo3.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo3.so.0" && ln -s "libfoo3.so.0.0.0" "libfoo3.so.0") libtool: link: (cd ".libs" && rm -f "libfoo3.so" && ln -s "libfoo3.so.0.0.0" "libfoo3.so") libtool: link: ar cru .libs/libfoo3.a foof3.o libtool: link: ranlib .libs/libfoo3.a libtool: link: ( cd ".libs" && rm -f "libfoo3.la" && ln -s "../libfoo3.la" "libfoo3.la" ) gfortran -g -O2 -c -o fprogram.o fprogram.f90 /bin/sh ./libtool --mode=link gfortran -g -O2 -o fprogram fprogram.o libfoo.la libfoo3.la -ldl libtool: link: gfortran -g -O2 -o .libs/fprogram fprogram.o ./.libs/libfoo.so /home/nwe23/software/libtool-2.2.6/tests/fcdemo/.libs/libfoo2.so ./.libs/libfoo3.so -ldl -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c cprogram.c /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o cprogram cprogram.o libmix.la -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm -ldl libtool: link: gcc -g -O2 -o .libs/cprogram cprogram.o ./.libs/libmix.so -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. /home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/libgfortranbegin.a /home/nwe23/bin/lib/../lib64/libgfortran.so -lm -ldl -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib -Wl,-rpath -Wl,/home/nwe23/bin/lib/../lib64 make[5]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' PASS: tests/fcdemo-make.test fcdemo-exec.test: === Running fcdemo-exec.test fcdemo-exec.test: === Executing uninstalled programs in fcdemo-exec.test: === You may need to run ./tests/fcdemo-exec.test as the superuser. Welcome to GNU libtool mixed C/Fortran demo! The C subroutine returned, claiming that 2*2 = 4 The C subroutine is ok! Calling the C wrapper routine... Calling the Fortran subroutine from the C wrapper... fsub called fsubf called Returned from the Fortran subroutine... The C wrapper to the fortran subroutine returned, claiming that 2*2 = 4 The Fortran subroutine is ok! FAIL: tests/fcdemo-exec.test fcdemo-shared.test: === Running fcdemo-shared.test fcdemo-shared.test: === Running `make distclean' in fcdemo make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' rm -f fprogram fprogram rm -f cprogram cprogram test -z "libfoo.la libmix.la libfoo2.la libfoo3.la" || rm -f libfoo.la libmix.la libfoo2.la libfoo3.la rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo rm -f *.tab.c test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool ac_files="a.out.* a.exe.* a_out.exe.* b.out.* conftest.*"; \ for ac_file in $ac_files; do \ case $ac_file in \ *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) rm -rf $ac_file ;; \ esac; \ done rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' fcdemo-shared.test: === Configuring in fcdemo fcdemo-shared.test: === /bin/sh /home/nwe23/software/libtool-2.2.6/tests/fcdemo/configure --srcdir=/home/nwe23/software/libtool-2.2.6/tests/fcdemo --prefix=/home/nwe23/software/libtool-2.2.6/_inst --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking how to get verbose linking output from gfortran... -v checking for Fortran libraries of gfortran... -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking for Fortran flag to compile .f90 files... none checking for Fortran flag needed to allow free-form source... none checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld -m elf_x86_64 option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU Fortran compiler... (cached) yes checking whether gfortran accepts -g... (cached) yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands PASS: tests/fcdemo-shared.test fcdemo-make.test: === Running fcdemo-make.test make[4]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make all-am make[5]: Entering directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof.lo foof.f90 libtool: compile: gfortran -g -O2 -c foof.f90 -fPIC -o .libs/foof.o /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof2.lo foof2.f90 libtool: compile: gfortran -g -O2 -c foof2.f90 -fPIC -o .libs/foof2.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo2.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof2.lo -ldl libtool: link: gfortran -shared .libs/foof2.o -ldl -Wl,-soname -Wl,libfoo2.so.0 -o .libs/libfoo2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo2.so.0" && ln -s "libfoo2.so.0.0.0" "libfoo2.so.0") libtool: link: (cd ".libs" && rm -f "libfoo2.so" && ln -s "libfoo2.so.0.0.0" "libfoo2.so") libtool: link: ( cd ".libs" && rm -f "libfoo2.la" && ln -s "../libfoo2.la" "libfoo2.la" ) /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo libfoo2.la -ldl libtool: link: gfortran -shared .libs/foof.o -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/tests/fcdemo/.libs -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib ./.libs/libfoo2.so -ldl -Wl,-soname -Wl,libfoo.so.0 -o .libs/libfoo.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo.so.0" && ln -s "libfoo.so.0.0.0" "libfoo.so.0") libtool: link: (cd ".libs" && rm -f "libfoo.so" && ln -s "libfoo.so.0.0.0" "libfoo.so") libtool: link: ( cd ".libs" && rm -f "libfoo.la" && ln -s "../libfoo.la" "libfoo.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c -o fooc.lo fooc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c fooc.c -fPIC -DPIC -o .libs/fooc.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libmix.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof.lo foof2.lo fooc.lo -ldl libtool: link: gfortran -shared .libs/foof.o .libs/foof2.o .libs/fooc.o -ldl -Wl,-soname -Wl,libmix.so.0 -o .libs/libmix.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmix.so.0" && ln -s "libmix.so.0.0.0" "libmix.so.0") libtool: link: (cd ".libs" && rm -f "libmix.so" && ln -s "libmix.so.0.0.0" "libmix.so") libtool: link: ( cd ".libs" && rm -f "libmix.la" && ln -s "../libmix.la" "libmix.la" ) /bin/sh ./libtool --mode=compile gfortran -g -O2 -c -o foof3.lo foof3.f90 libtool: compile: gfortran -g -O2 -c foof3.f90 -fPIC -o .libs/foof3.o /bin/sh ./libtool --mode=link gfortran -g -O2 -no-undefined -o libfoo3.la -rpath /home/nwe23/software/libtool-2.2.6/_inst/lib foof3.lo -ldl libtool: link: gfortran -shared .libs/foof3.o -ldl -Wl,-soname -Wl,libfoo3.so.0 -o .libs/libfoo3.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libfoo3.so.0" && ln -s "libfoo3.so.0.0.0" "libfoo3.so.0") libtool: link: (cd ".libs" && rm -f "libfoo3.so" && ln -s "libfoo3.so.0.0.0" "libfoo3.so") libtool: link: ( cd ".libs" && rm -f "libfoo3.la" && ln -s "../libfoo3.la" "libfoo3.la" ) gfortran -g -O2 -c -o fprogram.o fprogram.f90 /bin/sh ./libtool --mode=link gfortran -g -O2 -o fprogram fprogram.o libfoo.la libfoo3.la -ldl libtool: link: gfortran -g -O2 -o .libs/fprogram fprogram.o ./.libs/libfoo.so /home/nwe23/software/libtool-2.2.6/tests/fcdemo/.libs/libfoo2.so ./.libs/libfoo3.so -ldl -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib gcc -DHAVE_CONFIG_H -I. -I./../.. -g -O2 -c cprogram.c /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o cprogram cprogram.o libmix.la -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. -ldl -lgfortranbegin -lgfortran -lm -ldl libtool: link: gcc -g -O2 -o .libs/cprogram cprogram.o ./.libs/libmix.so -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../.. /home/nwe23/bin/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/libgfortranbegin.a /home/nwe23/bin/lib/../lib64/libgfortran.so -lm -ldl -Wl,-rpath -Wl,/home/nwe23/software/libtool-2.2.6/_inst/lib -Wl,-rpath -Wl,/home/nwe23/bin/lib/../lib64 make[5]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' make[4]: Leaving directory `/home/nwe23/software/libtool-2.2.6/tests/fcdemo' PASS: tests/fcdemo-make.test fcdemo-exec.test: === Running fcdemo-exec.test fcdemo-exec.test: === Executing uninstalled programs in fcdemo-exec.test: === You may need to run ./tests/fcdemo-exec.test as the superuser. Welcome to GNU libtool mixed C/Fortran demo! The C subroutine returned, claiming that 2*2 = 4 The C subroutine is ok! Calling the C wrapper routine... Calling the Fortran subroutine from the C wrapper... fsub called fsubf called Returned from the Fortran subroutine... The C wrapper to the fortran subroutine returned, claiming that 2*2 = 4 The Fortran subroutine is ok! FAIL: tests/fcdemo-exec.test ==================================== 3 of 9 tests failed Please report to address@hidden ==================================== make[3]: Leaving directory `/home/nwe23/software/libtool-2.2.6' make[2]: Leaving directory `/home/nwe23/software/libtool-2.2.6' make[1]: Leaving directory `/home/nwe23/software/libtool-2.2.6'