Link error using F90 on Itanium (103 Views)
Reply
Regular Advisor
JUP
Posts: 162
Registered: ‎03-22-1999
Message 1 of 4 (103 Views)

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
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 4 (103 Views)

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...

http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do...


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
Regular Advisor
JUP
Posts: 162
Registered: ‎03-22-1999
Message 3 of 4 (103 Views)

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
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 4 of 4 (103 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.