pro64-support
[Top] [All Lists]

GETCWD function in Fortran library

To: "Pro64-Support" <pro64-support@xxxxxxxxxxx>
Subject: GETCWD function in Fortran library
From: "Arvind Amin" <aamin@xxxxxxxxxxxxxxx>
Date: Fri, 6 Oct 2000 09:17:07 -0500
Importance: Normal
Reply-to: <aamin@xxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
I have run into a missing library function. Here is a small test
that shows that GETCWD has missing internal library routine.

Is there any update to resolve this?

>cat try.F
       program try
       character*1024 cwd, buf, getcwd, pfxgetcwd
       external getcwd
       cwd=getcwd(buf,50)
       print *, cwd
       stop
       end

>sgif90 try.F
/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/../../../libfortran.a(getcwd_.o):
../../libU77/getcwd_.c:85: undefined reference to `b_char'
collect2: ld returned 1 exit status

Thanks.
**************************************
Arvind Amin, Ph.D.
Sr. Applications Consultant
NEC Systems, Inc
e-mail: aamin@xxxxxxxxxxxxxxx
phone: (281) 465-1557
http://www.necservers.com
*************************************


<Prev in Thread] Current Thread [Next in Thread>
  • GETCWD function in Fortran library, Arvind Amin <=