dbTalk Databases Forums  

[Info-Ingres] ABF opts file on Linux

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] ABF opts file on Linux in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Biggs
 
Posts: n/a

Default [Info-Ingres] ABF opts file on Linux - 07-16-2009 , 05:47 AM






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

Reply With Quote
  #2  
Old   
Karl & Betty Schendel
 
Posts: n/a

Default Re: [Info-Ingres] ABF opts file on Linux - 07-16-2009 , 06:55 AM






On Jul 16, 2009, at 6:47 AM, Allan Biggs wrote:

Quote:
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.
Did you try lowercasing the symbol name in the ABF procedure
definition? I assume
that the ABF definition is an external C procedure?

What does nm asdsm.a | grep -i coad_p_asd
have to say?

Karl

Quote:

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

Reply With Quote
  #3  
Old   
Allan Biggs
 
Posts: n/a

Default Re: [Info-Ingres] ABF opts file on Linux - 07-16-2009 , 07:04 AM



I think that this problem is occurring before the opts file is called - I
have tried removing the opt file from the directory and got the same
error.

I did find
http://community.ingres.com/forum/mi...g-failure.html


Allan




Allan Biggs/GB/CONT/DPT@DPT
Sent by: info-ingres-bounces (AT) kettleriver...ting (DOT) com
16/07/2009 11:47
Please respond to
Ingres and related product discussion forum
<info-ingres (AT) kettleriverconsulting (DOT) com>


To
Ingres and related product discussion forum
<info-ingres (AT) kettleriverconsulting (DOT) com>
cc

Subject
[Info-Ingres] ABF opts file on Linux







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


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

Reply With Quote
  #4  
Old   
Allan Biggs
 
Posts: n/a

Default Re: [Info-Ingres] ABF opts file on Linux - 07-16-2009 , 08:37 AM



thanks Karl - got there just as your e-mail arrived - that was obscure !!!
It now works only 50 to change !!!!

thanks again
Allan



Karl & Betty Schendel <schendel (AT) kbcomputer (DOT) com>
16/07/2009 13:51

To
Allan Biggs/GB/CONT/DPT@DPT
cc

Subject
Re: [Info-Ingres] ABF opts file on Linux







On Jul 16, 2009, at 8:13 AM, Allan Biggs wrote:

Quote:
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_

Looks like the "symbol name" that you need to declare to ABF is
coad_p_asd_ with the trailing underscore. Try that and see if it
helps, at least for the one symbol.

Karl



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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.