Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIseterr linking failure

 
   Database Help (Home) -> Ingres RSS
Next:  sql vdi.dll  
Author Message
nikosv

External


Since: May 31, 2008
Posts: 5



(Msg. 1) Posted: Wed Oct 15, 2008 11:32 pm
Post subject: IIseterr linking failure
Archived from groups: comp>databases>ingres (more info?)

When migrating from Unix and Ingres II 2.5 to Linux and Ingres version
9.02
the following error occurred when trying to build an image :

"Building runnable image of gryl00010aqep . . .
seterr.obj: In function `seterr':
seterr.cSad.text+0xe):
undefined reference to `iiseterr'
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."

Specs which it was tested on and it occurs :
Ingres II 9.2.0 (int.lnx/118)NPTL
openSUSE 11.0 (i586)

Ingres II 9.2.0 (int.lnx/118)NPTL
CentOS release 5.2 (Final)

First I thought that it was linux related but the same error occurred
on Unix and an old ingres version:
Ingres II 2.0/9808 (usl.us5/00)
5 7.1.1 i386 x86at SCO UNIX_SVR5

However using the following specs the error does not appear and
linking succeeds :
Specs where there was no problem :
Ingres II 2.5/0011
SCO_SV 3.2 5.0.7 i386

Ingres II 2.5/0011
SCO_SV 3.2 5.0.5 i386

Ingres II 2.0/0308 (hpb.us5/00)
HP-UX 11.00

The problem lies in calling the 'iiseterr' function.Apparently, the
linker on the machines with the problem cannot find a reference to it.
The related entry in the manual (r3 Documentation, Forms-based
Application Development Tools, User Guide Runtime Error Processing M–
3, Using iiseterr() in Ingres Applications,page 1243) is :

seterr ()
{
extern int myhandler();
iiseterr (myhandler);
return;
}

In examining some C header (eqpname.h in particular) files I've
noticed that all references to iiseterr were IIseterr. Subsequently
changing the entry to IIseterr solved the problem, the linking
succeeded plus it did not break the specs that had no problem to begin
with. So the correct entry which works universally is :

seterr ()
{
extern int myhandler();
IIseterr (myhandler);
return;
}


The question is why the same entry in some cases breaks and in some
not?

 >> Stay informed about: IIseterr linking failure 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Lots of "failure to issue listen" messages ->.. - Hi all, problem on a Windows 2003 Ingres 2.6 SP2 machine: server runs a few days, than suddenly "failure to issue listen" messages occur in errlog.log, users can't connect anymore to the database and Ingres service has to be restarted. We h...

Anyone using Plone with Ingres? - I'm currently playing about with Plone and Ingres (i.e. I have created a ZODB that is stored in an Ingres database). I am curious to know who else is. Roy

Windows Server 2003 Ingres Net Problems - Gday, I am running Ingres Net (version 2.6 SP2) on a Windows Server 2003 box with ODBC Driver version 3.50.00.32 and am having some problems with stability. Essentially the problem is that I get a random Ingres ODBC error ERROR [HY000] [CA][Ingres ODBC...

ODBC error message: Unable to authenticate client's user ID - Hi list, we have two machines: 1. Suse Linux with Ingres 2.6 SP2 DBMS 2. Win 2000 Server with IngresNet (client-only) 2.5 The Win 2000 box starts a Borland-Delphi-app that connects via ODBC, unfortunately this fails. Errlog.log on the Windows machine....

Ingres with PHP - Hallo, sorry for my bad english. I need to use IIS/PHP/Ingres, but it does not work. Do you know the exactly way to use Ingres with PHP?
   Database Help (Home) -> Ingres All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]