Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Link error using F90 on Itanium

JUP
Regular Advisor

Link error using F90 on Itanium

Hi - I'm trying to port my fortan app to Itanium B.11.23 from PA-RISC 11.00.
I'm using the following F90 compiler:

B3909DB B.11.23.08 HP Fortran 90 compiler and associated products (S800) for HP-UX 11.2x

The source code files appear to compile ok,but when linking I get:

ld: (Warning) Unsatisfied symbol "main" in file /usr/lib/hpux32/libc.so
1 warnings.


The binary is created but I'm concerned about this warning.

I'm using HP32 flag in the F90 compiler.

Does anyone have any ideas what the problem may be ?

Thank you in advance
JUP
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Link error using F90 on Itanium

You probably want to test this application very thoroughly.

Here are a couple of links that reference the error. I'd want to know what line of code generated it prior to proceeding but that may not be possible.

http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D111228&qt=Unsatisfied+symbol+%22main%22+in+file+/usr/lib/hpux32/libc.so&hit=2

http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D350967&qt=Unsatisfied+symbol+%22main%22+in+file+/usr/lib/hpux32/libc.so&hit=3


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
JUP
Regular Advisor

Re: Link error using F90 on Itanium

Thanks SEP for your reply - however neither of the two links work - a message appears on the bottom of the IE window that reads "Error on page".

Can you confirm if these links are indeed correct ?

Thanks again
JUP
Highlighted
Steven E. Protter
Exalted Contributor

Re: Link error using F90 on Itanium

I'm sorry a year old upgrade corrupted certain itrc content. The posts were exact matches for your error.

I suggest a Boolean search with your error message of itrc posts. Some of the content may have survied the upgrade.

Apologies, when the search engine gives me high scores on a search I sometimes link without a read.

If it werre c or c++ I'd say an improper use of a variable or function. It could also be the unavailability of a needed resource file that is not available on your Itanium machine. Probably it wasn't provided with the OS or compiler.

I don't believe this effort merits points unless my search advice pans out.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com