autoconf
[Top][All Lists]
Advanced

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

Re: AC_F77_WRAPPERS prob


From: Patrick Welche
Subject: Re: AC_F77_WRAPPERS prob
Date: Thu, 18 Jan 2001 16:20:09 +0000
User-agent: Mutt/1.2i

On Thu, Jan 18, 2001 at 05:06:19PM +0100, Akim Demaille wrote:
> 
> Arg, answered too fast, didn't pay attention to the fact you were
> presenting a different failure :*(
> 
> Expect a libtool failure, but any other failure is wrong.  But if you
> used `-x'.

I don't know what I'm doing! So, this time without -x (and it passed
yesterday..):


====================================
Testing suite for GNU Autoconf 2.49c
====================================
69. ./syntax.at:27: testing AC_F77_WRAPPERS...
./syntax.at:27: autoconf --autoconf-dir .. -l $at_srcdir 
./syntax.at:27: autoheader --autoconf-dir .. -l $at_srcdir
./syntax.at:27: top_srcdir=$top_srcdir ./configure 
--- empty       Thu Jan 18 16:18:07 2001
+++ stderr      Thu Jan 18 16:18:16 2001
@@ -0,0 +1 @@
+configure: WARNING: unknown Fortran 77 name-mangling scheme
checking for g77... g77
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... no
checking whether we are using the GNU Fortran 77 compiler... yes
checking for object suffix... o
checking for executable suffix... 
checking whether g77 accepts -g... yes
checking how to get verbose linking output from g77... -v
checking for Fortran 77 libraries...  -L/usr/libexec -lg2c -lm
checking for gcc... gcc
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for Fortran 77 name-mangling scheme... unknown
configure: creating ./config.status
config.status: creating config.h
./syntax.at:27: config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure 2.49c, executed with
 > ./configure 

## ---------- ##
## Platform.  ##
## ---------- ##

hostname = quartz.newn.cam.ac.uk
uname -m = i386
uname -r = 1.5Q
uname -s = NetBSD
uname -v = NetBSD 1.5Q (QUARTZ) #232: Wed Jan 17 20:05:38 GMT 2001     
address@hidden:/usr/src/sys/arch/i386/compile/QUARTZ

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = 
/usr/src/local/autoconf/tests:/usr/src/local/autoconf:/home/prlw1/bin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/Hughes/bin:/usr/X11R6/bin:/usr/local/teTeX/bin/i386-netbsd1.3F:/usr/local/pgsql/bin:/usr/local/jdk1.1.8-elf/bin:/usr/games:/usr/games/bin:/usr/src/local/autoconf/tests:/usr/local/exim/bin

## ------------ ##
## Core tests.  ##
## ------------ ##

configure:939: checking for g77
configure:961: result: g77
configure:974: checking whether the Fortran 77 compiler works
configure:982: g77 -o conftest   conftest.f  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
configure:985: $? = 0
configure:987: test -s conftest
configure:990: $? = 0
configure:995: ./conftest
configure:998: $? = 0
configure:1013: result: yes
configure:1025: checking whether we are cross compiling
configure:1027: result: no
configure:1034: checking whether we are using the GNU Fortran 77 compiler
configure:1048: g77 -c  conftest.F >&5
configure:1051: $? = 0
configure:1063: result: yes
configure:1067: checking for object suffix
configure:1078: g77 -c  conftest.f >&5
configure:1081: $? = 0
configure:1100: result: o
configure:1104: checking for executable suffix
configure:1116: g77   conftest.f  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
configure:1119: $? = 0
configure:1139: g77 -o conftest   conftest.f  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
configure:1142: $? = 0
configure:1144: test -s conftest
configure:1147: $? = 0
configure:1172: result: 
configure:1179: checking whether g77 accepts -g
configure:1191: g77 -c -g conftest.f >&5
configure:1194: $? = 0
configure:1205: result: yes
configure:1231: checking how to get verbose linking output from g77
configure:1243: g77 -c -g -O2 conftest.f >&5
configure:1246: $? = 0
configure:1269: g77 -o conftest -g -O2 -v  conftest.f  >&5
g77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) (from FSF-g77 version 
0.5.24-19981002)
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/libexec/f771 conftest.f -quiet -dumpbase conftest.f -g -O2 -version 
-fversion -o /tmp/ccoVJ6pB.s
GNU F77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386-netbsd) 
compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).
GNU Fortran Front End version 0.5.24-19981002
 as -o /tmp/ccQnoMG3.o /tmp/ccoVJ6pB.s
 /usr/libexec/collect2 -m elf_i386 -dc -dp -e __start -dynamic-linker 
/usr/libexec/ld.elf_so -o conftest /usr/lib/crt0.o /usr/lib/crtbegin.o 
-L/usr/libexec /tmp/ccQnoMG3.o -lg2c -lm -lgcc -lc -lgcc /usr/lib/crtend.o
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
configure:1313: result: -v
configure:1315: checking for Fortran 77 libraries
configure:1341: g77 -o conftest -g -O2 -v  conftest.f  >&5
g77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) (from FSF-g77 version 
0.5.24-19981002)
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/libexec/f771 conftest.f -quiet -dumpbase conftest.f -g -O2 -version 
-fversion -o /tmp/ccrbWstZ.s
GNU F77 version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386-netbsd) 
compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).
GNU Fortran Front End version 0.5.24-19981002
 as -o /tmp/ccYWNeJP.o /tmp/ccrbWstZ.s
 /usr/libexec/collect2 -m elf_i386 -dc -dp -e __start -dynamic-linker 
/usr/libexec/ld.elf_so -o conftest /usr/lib/crt0.o /usr/lib/crtbegin.o 
-L/usr/libexec /tmp/ccYWNeJP.o -lg2c -lm -lgcc -lc -lgcc /usr/lib/crtend.o
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
configure:1496: result:  -L/usr/libexec -lg2c -lm
configure:1549: checking for gcc
configure:1571: result: gcc
configure:1793: checking whether the C compiler works
configure:1808: gcc -o conftest    conftest.c  >&5
configure:1811: $? = 0
configure:1813: test -s conftest
configure:1816: $? = 0
configure:1821: ./conftest
configure:1824: $? = 0
configure:1839: result: yes
configure:1851: checking whether we are cross compiling
configure:1853: result: no
configure:1856: checking whether we are using the GNU C compiler
configure:1877: gcc -c   conftest.c >&5
configure:1880: $? = 0
configure:1892: result: yes
configure:1898: checking whether gcc accepts -g
configure:1916: gcc -c -g  conftest.c >&5
configure:1919: $? = 0
configure:1929: result: yes
configure:1956: gcc -c -g -O2  conftest.c >&5
conftest.c:2: syntax error before `me'
configure:1959: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2035: checking for Fortran 77 name-mangling scheme
configure:2054: g77 -c -g -O2 conftest.f >&5
configure:2057: $? = 0
configure:2095: gcc -o conftest -g -O2   conftest.c cf77_test.o  -L/usr/libexec 
-lg2c -lm  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
/tmp/ccBr7qTl.o: In function `main':
/usr/src/local/autoconf/tests/configure:2088: undefined reference to `foobar'
/usr/lib/libg2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
configure:2098: $? = 1
configure: failed program was:
#line 2076 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char foobar ();
int
main ()
{
foobar ();
  ;
  return 0;
}
configure:2095: gcc -o conftest -g -O2   conftest.c cf77_test.o  -L/usr/libexec 
-lg2c -lm  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
/usr/lib/libg2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
configure:2098: $? = 1
configure: failed program was:
#line 2076 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char foobar_ ();
int
main ()
{
foobar_ ();
  ;
  return 0;
}
configure:2095: gcc -o conftest -g -O2   conftest.c cf77_test.o  -L/usr/libexec 
-lg2c -lm  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
/tmp/ccCkwyjn.o: In function `main':
/usr/src/local/autoconf/tests/configure:2088: undefined reference to `FOOBAR'
/usr/lib/libg2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
configure:2098: $? = 1
configure: failed program was:
#line 2076 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char FOOBAR ();
int
main ()
{
FOOBAR ();
  ;
  return 0;
}
configure:2095: gcc -o conftest -g -O2   conftest.c cf77_test.o  -L/usr/libexec 
-lg2c -lm  >&5
/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely, use mkstemp() or 
mkdtemp()
/tmp/ccU2rIDw.o: In function `main':
/usr/src/local/autoconf/tests/configure:2088: undefined reference to `FOOBAR_'
/usr/lib/libg2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
configure:2098: $? = 1
configure: failed program was:
#line 2076 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char FOOBAR_ ();
int
main ()
{
FOOBAR_ ();
  ;
  return 0;
}
configure:2205: result: unknown
configure:2282: WARNING: unknown Fortran 77 name-mangling scheme

## ----------------- ##
## Cache variables.  ##
## ----------------- ##

ac_cv_prog_ac_ct_F77='g77'
ac_cv_f77_compiler_gnu='yes'
ac_cv_env_F77_value=''
ac_cv_prog_cc_g='yes'
ac_cv_c_compiler_gnu='yes'
ac_cv_env_CFLAGS_set=''
ac_cv_env_FFLAGS_set=''
ac_cv_env_host_alias_set=''
ac_cv_env_build_alias_set=''
ac_cv_prog_f77_g='yes'
ac_cv_env_target_alias_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CC_set=''
ac_cv_env_FFLAGS_value=''
ac_cv_env_F77_set=''
ac_cv_env_host_alias_value=''
ac_cv_f77_mangling='unknown'
ac_cv_flibs=' -L/usr/libexec -lg2c -lm'
ac_cv_env_build_alias_value=''
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_env_target_alias_value=''
ac_cv_prog_f77_v='-v'
ac_cv_env_CC_value=''
ac_cv_objext='o'


configure:2410: creating ./config.status

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by config.status 2.49c, executed with
 > ./config.status 
on quartz.newn.cam.ac.uk

config.status:2677: creating config.h
configure: exit 0
69. ./syntax.at:27: FAILED near `syntax.at:27'



reply via email to

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