#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Posts
    3
    Rep Power
    0

    help:compiling error


    i am to compile a software from source code. and encounter this error:

    under the source code folder:
    $./confiugre
    checking for vendor f77 to be used instead of g77...
    checking for f77... f77
    checking for Fortran 77 compiler default output... configure: error: Fortran 77 compiler cannot create executables
    $
    can anyone help me. (HP-UX10.20).
    thanx
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    When you have such unique error google is always your best friend. That said, just start here -> http://www.google.com/search?hl=en&q...=Google+Search
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Posts
    3
    Rep Power
    0

    still can not find answer.


    I try f77 command like
    -----------------------
    $f77 name.f
    it works and generate name.o file
    -----------------------
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Posts
    3
    Rep Power
    0

    more details on error. please help


    $ ./configure --prefix=/nfs/dkr2/users/jjlou/install LDFLAGS=L/opt/fortran/lib


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

    configure:945: PATH=".;."; conftest.sh
    ./configure[946]: conftest.sh: not found.
    configure:948: $? = 127
    configure:961: checking for vendor f77 to be used instead of g77
    configure:963: result:
    configure:969: checking for f77
    configure:984: found /opt/fortran/bin/f77
    configure:992: result: f77
    configure:1087: checking for Fortran 77 compiler version
    configure:1090: f77 --version </dev/null >&5
    f77: Option not recognized: --
    f77: Option not recognized: -e
    f77: Option not recognized: -r
    f77: Option not recognized: -i
    LPATH is : /opt/fortran/lib/pa1.1:/usr/lib/pa1.1:/opt/fortran/lib:/usr/lib:/opt/langtools/lib
    configure:1093: $? = 0
    configure:1095: f77 -v </dev/null >&5
    LPATH is : /opt/fortran/lib/pa1.1:/usr/lib/pa1.1:/opt/fortran/lib:/usr/lib:/opt/langtools/lib
    configure:1098: $? = 0
    configure:1100: f77 -V </dev/null >&5
    configure:1103: $? = 0
    configure:1116: checking for Fortran 77 compiler default output
    configure:1119: f77 L/opt/fortran/lib conftest.f >&5
    f77: Cannot read file L/opt/fortran/lib
    f77: Errors detected, no link
    configure:1122: $? = 1
    configure: failed program was:
    program main

    end
    configure:1145: error: Fortran 77 compiler cannot create executables
    Last edited by lou_jun21; April 28th, 2002 at 10:22 PM.

IMN logo majestic logo threadwatch logo seochat tools logo