for   
Save 
Save 
   Join IIUG  

Informix News
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read

Previous news items
 

Home Member Area About IIUG


Resources
IIUG Insider
IIUG Hotspots
IBM-Informix Links
IIUG RSS Feeds
Software Repository
Informix Products
Online Resources
Informix Library
Informix Books
IIUG Banners
Discussion
Technical Special
  Interest Groups

Other Discussion
Community
Events
Webcasts/Chat w Lab
IIUG TV
IIUG Sponsors
Informix Business Directory
IIUG Press Partners
Local User Groups
Rate the Vendor
Job Board
Fun Stuff

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Open Admin Tool

RE: OAT install on HPUX [50] [53]

Posted By: John Miller iii
Date: Thursday, 13 March 2008, at 12:01 a.m.

John:

From some quick research I did, I believe the gcc 64 bit compiler is
separate from the
gcc 32 bit compiler on HP. Here is an excerpt from the URL below.

There are two separate GCC packages for PA-RISC, one that generates ILP=
32
code, and another that generates LP64 code. The 32-bit version is insta=
lled
in the /opt/hp-gcc directory, and the 64-bit version is installed in
/opt/hp-gcc64.

http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b=
49c108973a801/?ciid=3D2a08725cc2f02110725cc2f02110275d6e10RCRD

Based on this you need to make sure you installed the 64 bit version of=

gcc, if you want to compile in 64 bit mode. Then you just need to make=

sure your path is set to pickup the 64 bit version of gcc not the 32 bi=
t
gcc compiler.

John

=

"John D. =

Ballentine III" =

<BallenJ@osm.com> =
To

John Miller iii/Menlo =

03/12/2008 07:30 Park/IBM@IBMUS =

AM =
cc

<oat@iiug.org> =

Subj=
ect

RE: [Oat] OAT install on HPUX [5=
0]

[53] =

=

=

=

=

=

=

Thanks for the reply. I wasn't sure if I should get ahold of you direc=
tly
or not before this...

I wanted to use the HP (purchased) C compiler, but it didn't like the Z=
end
header files. I also wanted to use the 64 bit version of Informix, sin=
ce
that is what HPUX is now. Unfortunately, it doesn't look like I have t=
hat
option either. Since I have already loaded gcc, do you know if there i=
s an
option to force it to generate 64 bit code? I've tried using the
"-mportable-runtime", but I get complaints that that option is incompat=
ible
with the "PIC" options.

Silly question - if I do finally get this driver compiled, will it work=

with either version of HPUX, or do I have to rebuild this on every serv=
er I
have Informix on? It would be nice if I could just copy over the binar=
ies
to other servers running the same version of Informix, but I'm getting =
the
idea that it won't work properly...

Thanks for your help!

From: John Miller iii [mailto:miller3@us.ibm.com]
Sent: Tuesday, March 11, 2008 5:24 PM
To: oat@iiug.org
Cc: John D. Ballentine III
Subject: Re: [Oat] OAT install on HPUX [50] [53]

John:

The file command shows that the pdo_informix.o is a 32 bit object,
but the informix csdk library you are using is a 64 bit version. I do n=
ot
believe
on HP you can mix 32 bit object files with 64 bit libraries.

Here is a quick example of what it look like to compile in 32 bit mode:=

> cc -c t.c
> file t.o
t.o: PA-RISC2.0 relocatable object

Here is a quick example of what it look like to compile in 64 bit mode:=

> cc -c +DS2.0 +DA2.0W t.c
> file t.o
t.o: ELF-64 relocatable object file - PA-RISC 2.0 (LP64)

Notice in 64 bit mode you must pass to the compiler "+DS2.0 +DA2.0W"

At this point you would have two options that I see to solve
your problem:
1. Download a 32 bit version of CSDK and link with the 32
bit version of the informix libraries. The 32 bit version
number will have a "U" or an "H" in the version. (do not use
a version with a "F" in it.)

2. Re-compile all of the php code again with the addition flags
"+DS2.0 +DA2.0W" to create a 64 bit version of pdo_informix.o

Hope this helps,
John F. Miller III

"JOHN BALLENTINE III" <ballenj@osm.com>

=

"JOHN =

BALLENTINE III" =

<ballenj@osm.co =

m> =

Sent by: =
To

oat-bounces@iiu =

g.org oat@iiug.org =

=

=
cc

03/11/2008 =

02:04 PM =

Subj=
ect

=

Please respond to Re: [Oat] OAT inst=
all

oat@iiug.org on HPUX [50] [53] =

=

=

=

=

=

=

(Probably) last update on this...

At this point, I am still stuck on the "link" step referenced in my
previous
message. What I think is the key is that the "file magic" values are
different
for the drivers I am building and the Informix libraries installed with=

CSDK
3.
After running "make", I then run the "file" command on one of the
libraries,
and see:
Jackson2> file .libs/pdo_informix.o
..libs/pdo_informix.o: PA-RISC2.0 relocatable object

On one of the Informix libraries:
Jackson2> file ~informix/lib/esql/libifglx.sl
..../lib/esql/libifglx.sl: ELF-64 shared object file - PA-RISC 2.0 (LP6=
4)

At this point, I have no idea how to fix it. Neither do 2 of the local
programmers here, one of which has worked on C programs in our environm=
ent
for
years. If I use the loaded HP C compiler, it doesn't recognize the "Zen=
d"
include files. If I use gcc, I get the errors shown previously.

If anyone has any suggestions, I would love to hear them. Otherwise, I =
give
up
on this tool, which removes ~50% of the "wow" factor for my bosses when=
I
try
and tell them we should upgrade to 11.whatever.

Thanks in advance!

***********************************************************************=
********

Forum Note: Use "Reply" to post a response in the discussion forum.

See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
=

Messages In This Thread

  • RE: OAT install on HPUX [50] [53]
    John Miller iii -- Thursday, 13 March 2008, at 12:01 a.m.
    • Re: RE: OAT install on HPUX [50] [53]
      JOHN BALLENTINE III -- Thursday, 13 March 2008, at 1:52 p.m.
      • Re: RE: OAT install on HPUX [50] [53]
        JOHN BALLENTINE III -- Wednesday, 19 March 2008, at 2:41 p.m.
        • Re: RE: OAT install on HPUX [50] [53]
          DAVID BEECHER -- Monday, 21 July 2008, at 9:04 p.m.
          • Re: RE: OAT install on HPUX [50] [53]
            DAVID BEECHER -- Monday, 21 July 2008, at 9:43 p.m.
            • Re: RE: OAT install on HPUX [50] [53]
              JOHN BALLENTINE III -- Tuesday, 22 July 2008, at 10:51 a.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Open Admin Tool is maintained by Administrator with WebBBS 5.12.

©2001 - 2007 International Informix Users Group.   All rights reserved.     Terms of use    
*** Powered By IBM Informix Dynamic Server V10.00 ***