dbTalk Databases Forums  

Embedded SQL

comp.databases.ingres comp.databases.ingres


Discuss Embedded SQL in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
kodaliece@gmail.com
 
Posts: n/a

Default Re: Embedded SQL - 03-22-2007 , 04:54 AM






Hi,
I could see the eqdef.h file at the location %II_SYSTEM%ingres\files.
But still this program is throwing the same error.
Mohan

Quote:
To my naked eye that looks fine (although I might have included the SQLCA
outside the scope of main()).

If you look in %II_SYSTEM%ingres\files do you see a file called eqdef.h?
That's what is being included, so it needs to be there. If you don't have
it, presumably you can get it from wherever you got the esqlc.exe. I have
no idea if you'd get the particular error you are seeing if it doesn't exist
though.

Roy- Hide quoted text -

- Show quoted text -



Reply With Quote
  #22  
Old   
ac297@dial.pipex.com
 
Posts: n/a

Default Re: [Info-Ingres] Embedded SQL - 03-22-2007 , 05:13 AM






Quoting kodaliece (AT) gmail (DOT) com:

Quote:
Hi,
I could see the eqdef.h file at the location %II_SYSTEM%ingres\files.
But still this program is throwing the same error.
Mohan
First, try and compile this:

#include <stdio.h>

void main() {
}

If that works, continue with

#include <stdio.h>

void main() {
EXEC SQL INCLUDE SQLCA;
}

I'm expecting that to fail (it's another include command)..

if not just carry on adding code until you see the offending line.

As others have said, copying files one at a time is a really bad approach.

Paul


Reply With Quote
  #23  
Old   
kodaliece@gmail.com
 
Posts: n/a

Default Re: Embedded SQL - 03-22-2007 , 07:16 AM



Hi,
Now I am able to generate the '.c' file. But the problem is if I try
to compile the file it is showing the "unresolved external symbol"
errors. But the header files are included in the c program and the
header files contain the prototype of these functions. Still it is
throwing the errors.
Mohan


Reply With Quote
  #24  
Old   
ac297@dial.pipex.com
 
Posts: n/a

Default Re: [Info-Ingres] Embedded SQL - 03-22-2007 , 07:44 AM



Quoting kodaliece (AT) gmail (DOT) com:

Quote:
Hi,
Now I am able to generate the '.c' file. But the problem is if I try
to compile the file it is showing the "unresolved external symbol"
errors. But the header files are included in the c program and the
header files contain the prototype of these functions. Still it is
throwing the errors.
Missing libraries, or incorrect library path probably..

Quote:
Mohan

_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres


--


Reply With Quote
  #25  
Old   
Ingres Forums
 
Posts: n/a

Default Re: Embedded SQL - 09-19-2011 , 01:51 AM



You're welcome. BTW 'Edmonton Asian Escort'
(http://www.edmontonescortasiam.com) how far back do you suggest
answering 'Edmonton Escort' (http://www.edmontonescortasian.com) some of
these posted problems? 'Edmonton Escorts'
(http://www.edmontonescortasiam.com) See a lot of unanswered ones going
way back. 'Edmonton Asian Escorts' (http://www.edmontonescortasiam.com)


--
lzqqqq

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.