- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Linked in FORTRAN 77 (HP-UX)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 11:12 PM
тАО02-16-2005 11:12 PM
I have a HP9000 system with HP-UX 10.20 and with HP Fortran / 9000 (Fortran 77).
I run the following program text77.f :
program afiseaza
print *,тАЩhelloтАЩ
end
I compile: f77 тАУv text77.f and this is the result :
/usr/lib/77pass1 тАУ text77.f text77.o
text77.f :
MAIN afiseaza
/bin/ld тАУx /lib/crt0.o text77.o тАУlcl тАУlisamstub тАУlc
I perform a.out
$ a.out
and this is the result:
sh : a.out : not found.
I edit the link as follows:
ld тАУv тАУL тАУvallcompatwarnings тАУx /lib/crt0.o text77.o тАУlcl тАУlisamstub тАУlc
The result is
LPATH is : /usr/lib: /opt/langtools/lib
Loading /lib/crt0.o:
Loading text77.o:
Searching library /usr/lib/libdld.1:
Searching library /usr/lib/libisamstub.1:
Searching library /usr/lib/libcl.sl:
Searching library /usr/lib/libisamstub.sl:
Searching library /usr/lib/libc.sl:
Searching library /usr/lib/milli.a:
Loading /usr/lib/milli.a (errnet.o) : errno
Loading /usr/lib/milli.a (div_const.o) :
Loading /usr/lib/milli.a (reml.o) :
Loading /usr/lib/milli.a (dyncallU.o) :
Searching library /usr/lib/milli.a :
ld : Unsatisfied shared lybrary symbols :
main (code)
ld :(Warning) Linker features werw used that may not supported in future releases.
Why?
Thank you and be
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 12:05 AM
тАО02-17-2005 12:05 AM
Re: Linked in FORTRAN 77 (HP-UX)
do this:
./a.out
not
a.out
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 07:00 PM
тАО02-17-2005 07:00 PM
Re: Linked in FORTRAN 77 (HP-UX)
Why unsatisfied shared lybrary symbols :
main (code) ?
$ ./a.out
and this is the result:
sh : a.out : not found.
Why ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 12:22 AM
тАО02-18-2005 12:22 AM
Re: Linked in FORTRAN 77 (HP-UX)
Sorry for not being clear!
It works if i do "./a.out".
Why does not function if i do "a.out" and returns error "sh: a.out : not found"
Why i receive error message at linkedit? See:
LPATH is : /usr/lib: /opt/langtools/lib
Loading /lib/crt0.o:
Loading text77.o:
Searching library /usr/lib/libdld.1:
Searching library /usr/lib/libisamstub.1:
Searching library /usr/lib/libcl.sl:
Searching library /usr/lib/libisamstub.sl:
Searching library /usr/lib/libc.sl:
Searching library /usr/lib/milli.a:
Loading /usr/lib/milli.a (errnet.o) : errno
Loading /usr/lib/milli.a (div_const.o) :
Loading /usr/lib/milli.a (reml.o) :
Loading /usr/lib/milli.a (dyncallU.o) :
Searching library /usr/lib/milli.a :
ld : Unsatisfied shared lybrary symbols :
main (code)
ld :(Warning) Linker features werw used that may not supported in future releases.
How could i compile or linked in order to make "a.out" work aut ?
Thank you and best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 12:28 AM
тАО02-18-2005 12:28 AM
Re: Linked in FORTRAN 77 (HP-UX)
PROGRAM main
print *,"hello world"
END
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 12:30 AM
- Tags:
- PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 12:55 AM
тАО02-18-2005 12:55 AM
Re: Linked in FORTRAN 77 (HP-UX)
Best Regards.
Roxana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 12:58 AM
тАО02-18-2005 12:58 AM
Re: Linked in FORTRAN 77 (HP-UX)
always glad to help.
Can you please identify the soultion(s) and close the thread if it was resolved.
Many Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2005 07:56 PM
тАО02-20-2005 07:56 PM
Re: Linked in FORTRAN 77 (HP-UX)
I understand and i resolved.