Find the answer to your Linux question:
Results 1 to 3 of 3
I try to use g77 to compile my fortran program, the command line is: g77 -DG77 -ffixed-length-none -x f77-cpp-input -c *.f but I met the errors as follows: Null character ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    3

    g77 compile problem


    I try to use g77 to compile my fortran program, the command line is:
    g77 -DG77 -ffixed-length-none -x f77-cpp-input -c *.f
    but I met the errors as follows:
    Null character at (^) -- line ignored
    apply_BCS.o:84:
    [\0]456;6
    ^
    Invalid first character at (^) [info -f g77 M LEX]
    apply_BCS.o:84:
    [\0]
    for every line in every *.o files.
    can anybody give me the advice?
    thanks

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    The only advice I can give you is to ask in the Programming section.

    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Wow...fortran
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •