This is a discussion on FORTRAN I/O ERROR...but I ain't using it. within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I have a "c" program that is throwing: FORTRAN I/O ERROR 901: NEGATIVE UNIT NUMBER SPECIFIED However, I am ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On 2007-07-30, Robert Hicks <sigzero@gmail.com> wrote: > I have a "c" program that is throwing: > > FORTRAN I/O ERROR 901: NEGATIVE UNIT NUMBER SPECIFIED > > However, I am not using FORTRAN in my application. Does libc borrow > from it somehow on the HP? Look for a negative file descriptor number e.g if open() has returned -1 and you have used it without checking for that invalid value. No idea why it has chosen a Fortran message. -- Elvis Notargiacomo master AT barefaced DOT cheek http://www.notatla.org.uk/goen/ |
| |||
| Robert Hicks <sigzero@gmail.com> writes: > I have a "c" program that is throwing: > > FORTRAN I/O ERROR 901: NEGATIVE UNIT NUMBER SPECIFIED > > However, I am not using FORTRAN in my application. Does libc borrow > from it somehow on the HP? Maybe get "tusc" and trace your program to find where that message comes from. Are you linking a FORTRAN library? > > Robert |
| |||
| On Jul 31, 3:19 am, Ulrich Windl <Ulrich.Wi...@RZ.Uni-Regensburg.DE> wrote: > Robert Hicks <sigz...@gmail.com> writes: > > I have a "c" program that is throwing: > > > FORTRAN I/O ERROR 901: NEGATIVE UNIT NUMBER SPECIFIED > > > However, I am not using FORTRAN in my application. Does libc borrow > > from it somehow on the HP? > > Maybe get "tusc" and trace your program to find where that message comes > from. Are you linking a FORTRAN library? > > > > > Robert Nope, no FORTRAN at all. |
| ||||
| Robert Hicks <sigzero@gmail.com> wrote: > On Jul 31, 3:19 am, Ulrich Windl <Ulrich.Wi...@RZ.Uni-Regensburg.DE> > wrote: > > Robert Hicks <sigz...@gmail.com> writes: > > > I have a "c" program that is throwing: > > > > > FORTRAN I/O ERROR 901: NEGATIVE UNIT NUMBER SPECIFIED > > > > > However, I am not using FORTRAN in my application. Does libc borrow > > > from it somehow on the HP? > > > > Maybe get "tusc" and trace your program to find where that message comes > > from. Are you linking a FORTRAN library? > > > > > Robert > > Nope, no FORTRAN at all. Please post the verbose output from the linker (ld(1)). |
| Thread Tools | |
| Display Modes | |
|
|