1
1
http://www.open-mpi.org/community/lists/users/2008/04/5483.php

Make the error message a bit more user-friendly.

This commit was SVN r18293.
Этот коммит содержится в:
Jeff Squyres 2008-04-25 11:09:43 +00:00
родитель c20b020ea6
Коммит 518bd99e17

Просмотреть файл

@ -89,13 +89,21 @@ AS_IF([test $OMPI_WANT_F77_BINDINGS -eq 1],
[OMPI_LANG_LINK_WITH_C([Fortran 77], [], [OMPI_LANG_LINK_WITH_C([Fortran 77], [],
[cat <<EOF [cat <<EOF
********************************************************************** **********************************************************************
* It appears that your Fortran 77 compiler is unable to link against It appears that your Fortran 77 compiler is unable to link against
* object files created by your C compiler. This generally indicates object files created by your C compiler. This typically indicates
* either a conflict between the options specified in CFLAGS and FFLAGS one of a few possibilities:
* or a problem with the local compiler installation. More
* information (including exactly what command was given to the - A conflict between CFLAGS and FFLAGS
* compilers and what error resulted when the commands were executed) is - A problem with your compiler installation(s)
* available in the config.log file in this directory. - Different default build options between compilers (e.g., C
building for 32 bit and Fortran building for 64 bit)
- Incompatible compilers
Such problems can usually be solved by picking compatible compilers
and/or CFLAGS and FFLAGS. More information (including exactly what
command was given to the compilers and what error resulted when the
commands were executed) is available in the config.log file in this
directory.
********************************************************************** **********************************************************************
EOF EOF
AC_MSG_ERROR([C and Fortran 77 compilers are not link compatible. Can not continue.])])]) AC_MSG_ERROR([C and Fortran 77 compilers are not link compatible. Can not continue.])])])