![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to port a real application from VMS to Linux (SUSE 10.3) and cannot sort out how to set up the opts file. the imageapp is failing with many undefined references (I have left one in the extract below). Here is the opt file and a listing of the library it refers to showing that the module is in the library. Can anyone tell me what I am doing wrong? just in case (forgive the pun!) this is a case sensitive issue (in the Fortran everything is uppercase) I tried changing the procedure definition in ABF to uppercase with the same result. |
| thanks Allan dfs>abfimage asdsm_abf asdsm_app ... ... ... ... abextract.obj .data+0x1908): undefined reference to `coad_p_asd'collect2: ld returned 1 exit status E_AB0020 Link failed The link failed with status '69891'. This could mean either that the linker could not be run or that it ran and returned an error. E_AI0002 The application image was NOT built. An earlier error prevents the application image from being built. Correct the cause of the earlier error and then run imageapp again. dfs> cat asdsm.opt /home/biggs2a/asdsm/asdsm.a dfs> ar t asdsm.a sqeeze_p_gen.o yesno_p_gen.o tstco_p_asd.o coad_p_asd.o .... .... This communication is for use by the intended recipient and contains information that may be Privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean http:// www.DuPont.com/corp/email_disclaimer.html _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Karl, It's actually Fortran but as you may have seen with my next post - If I delete or rename the opt file I get the same failure in other words I don't think that it is including the .opt file but this is the answer to the nm command . nm asdsm.a | grep -i coad_p_asd + grep -i coad_p_asd + nm asdsm.a coad_p_asd.o: 0000000000000000 T coad_p_asd_ |
![]() |
| Thread Tools | |
| Display Modes | |
| |