Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Informix Topics / January 2007

Tip: Looking for answers? Try searching our database.

Compiling utils2 on HPUX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffa - 26 Jan 2007 16:28 GMT
Hi,

I think I have followed the instructions in his Makefile, but I am
still struggling to build AK's utils2 package on HPUX 11.11, with the
HP gcc package.

Errors as follows

/home/informix/utils2_ak> gmake
INFORMIXC=gcc esql -I/informix/FT2/incl/public  -DHAVE_GNU_GETOPT=0
-o dostats dostats.ec getopt.c
esqlc: "dostats.ec", line 297: Error -33200: Invalid statement on
symbol 'lvarchar'.
esqlc: "dostats.ec", line 2308: Error -33040: Object 'statement2' was
not declared.
esqlc: "dostats.ec", line 3480: Warning -33208: Runtime error is
possible because size of 'arglist' is unknown.
esqlc: "dostats.ec", line 3836: Error -33051: Syntax error on
identifier or symbol 'char'.
esqlc: "dostats.ec", line 3891: Error -33051: Syntax error on
identifier or symbol 'char'.
esqlc: "dostats.ec", line 3931: Error -33040: Object 'tabid' was not
declared.
1 warning(s)
5 error(s) found
gmake: *** [dostats] Error 1
Jonathan Leffler - 27 Jan 2007 05:49 GMT
> I think I have followed the instructions in his Makefile, but I am
> still struggling to build AK's utils2 package on HPUX 11.11, with the
[quoted text clipped - 20 lines]
> 5 error(s) found
> gmake: *** [dostats] Error 1

Which version of ESQL/C or CSDK are you using?  Superficially, it might
appear that you are using ESQL/C 7.2x, which would not understand the
lvarchar type that was added with ESQL/C 9.x.  If so, the answer is to
upgrade to CSDK 2.90 or thereabouts.  If you're worried about that, then
divulge the server version (IDS) that you're using.

Signature

Jonathan Leffler                   #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/

Jeffa - 29 Jan 2007 09:39 GMT
Hi,

Thanks for response.

onstat -
IBM Informix Dynamic Server Version 9.40.FC5W2   -- On-Line -- Up 2
days 23:58:32 -- 1456044 Kbytes

esqlvers
IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version 9.53.UC2X3

Is this version OK, or do I need to go higher?  I would rather not
upgrade the SDK, but will investigate if I neeed to (application  
support matrix issues!)
Art S. Kagel - 29 Jan 2007 20:48 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> upgrade the SDK, but will investigate if I neeed to (application  
> support matrix issues!)

That version should work and while the first error message about not
recognizing lvarchar host bariable definitions definitely points to a
problem like Jonathan is guessing (ie that your esql is old) the second
error complaining about a 'string' type host variable having not been
defined seems to be another problem altogether since even ESQL/C 5.xx
recognized 'string' host vars.

HMM, I think that I've seen this one before... Are you using a version of
GCC later than 3.4.x?  I think there is a problem with that and I haven't
had a chance to track it down or to see how to fix it.....  Let me know and
let's take this offline for a bit and we'll post final results when/if we
get you going.  Send me a reply directly (kagel@bloomberg.net) and deselect
the newsgroup.

Art S. Kagel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.