![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Hi Scott et al, Well done to Kristoff Picard in Tech support, who pointed out that due toa quirk in the g77 compiler the object was defined with a trailing underscore! So all I had to do was edit the procedure definition and alter the 'Symbol' field to inclde the trailing underscrore. But, g77 wasn't quite done with us...the name add_cr already has an underscore, so g77 defines a symbol with TWO trailing underscores!! A quick edit of the Symbol field to 'add_cr__' and now the blasted thing links beautifully! Yay Team! Now that's why I pay for support! Marty -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of OldSchool Sent: 29 January 2009 16:38 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: Re: [Info-Ingres] abf problems on fortran program On Jan 28, 10:31*am, "Martin Bowes" <martin.bo... (AT) ctsu (DOT) ox.ac.uk wrote: Hi Mike, Still fighting this battle? Yes. Plus I decided to raise an issue with the Corp about this as well. The abextract program is generated by abf. Guessed that bit. As for add_cr, I assume your program is generating that link need? Is this for a crypto function? It must be. But add_cr is not a crypto function, its actually taking a report and making sure there are carriage returns at the end of the lines. I'm not sure why its necessary, it might be something peculiar to VMS, but given that its part of the application I'm hesitant to try and unpick it at this point. Marty this may have been asked elsewhere, if so apologies.... so add_cr has been defined in the abf app as a procedure, with the correct return type? _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://www.kettleriverconsulting.com/mailman/listinfo/info-ingres- Hide quoted text - - Show quoted text - |
#12
| |||
| |||
|
|
Hi Scott et al, Well done to Kristoff Picard in Tech support, who pointed out that due to a quirk in the g77 compiler the object was defined with a trailing underscore! So all I had to do was edit the procedure definition and alter the 'Symbol' field to inclde the trailing underscrore. But, g77 wasn't quite done with us...the name add_cr already has an underscore, so g77 defines a symbol with TWO trailing underscores!! A quick edit of the Symbol field to 'add_cr__' and now the blasted thing links beautifully! Yay Team! Now that's why I pay for support! Marty -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of OldSchool Sent: 29 January 2009 16:38 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: Re: [Info-Ingres] abf problems on fortran program On Jan 28, 10:31*am, "Martin Bowes" <martin.bo... (AT) ctsu (DOT) ox.ac.uk wrote: Hi Mike, Still fighting this battle? Yes. Plus I decided to raise an issue with the Corp about this as well. The abextract program is generated by abf. Guessed that bit. As for add_cr, I assume your program is generating that link need? Is this for a crypto function? It must be. But add_cr is not a crypto function, its actually taking a report and making sure there are carriage returns at the end of the lines. I'm not sure why its necessary, it might be something peculiar to VMS, but given that its part of the application I'm hesitant to try and unpick it at this point. Marty this may have been asked elsewhere, if so apologies.... so add_cr has been defined in the abf app as a procedure, with the correct return type? _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://www.kettleriverconsulting.com/mailman/listinfo/info-ingres- Hide quoted text - - Show quoted text - |
#13
| |||
| |||
|
#14
| |||
| |||
|
|
The GNU people warn to use -fno_underscoring: "Use of -fno- underscoring is not recommended unless ....." (see the man pages) However, I tested it anyway by changing utcom.def. When you do this you run immediateley into a new problem, missing several functions in libingresetc, because of a missing underscore. (they are defined with that underscore ....) Cheers Kristoff |
#15
| |||
| |||
|
|
On Jan 30, 10:12*am, Kristoff <kristoff.pic... (AT) ingres (DOT) com> wrote: The GNU people warn to use -fno_underscoring: "Use of -fno- underscoring is not recommended unless ....." (see the man pages) However, I tested it anyway by changing utcom.def. When you do this you run immediateley into a new problem, missing several functions in libingresetc, because of a missing underscore. (they are defined with that underscore ....) Cheers Kristoff i kinda suspected as much....thx |
![]() |
| Thread Tools | |
| Display Modes | |
| |