Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 21104 invoked from network); 26 Nov 2007 19:56:49 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 26 Nov 2007 19:56:49 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3D86B7C1053;
 Mon, 26 Nov 2007 20:56:49 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 28875-05; Mon, 26 Nov 2007 20:56:49 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A9B797C0FC3;
 Mon, 26 Nov 2007 20:56:48 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 26 Nov 2007 20:10:21 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8EF197C1989
 for <oracle-l@freelists.org>; Mon, 26 Nov 2007 20:10:21 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 23640-05 for <oracle-l@freelists.org>;
 Mon, 26 Nov 2007 20:10:21 -0500 (EST)
Received: from pweml001pp.pw.local (202-129-79-75.perm.iinet.net.au [202.129.79.75])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BA2667C197B
 for <oracle-l@freelists.org>; Mon, 26 Nov 2007 20:10:04 -0500 (EST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C83092.35127DFC"
Subject: PRO*C compiling AIX 5.3
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Tue, 27 Nov 2007 12:09:28 +1100
Message-ID: <89B8BA31ACC4A64393D21E75B1B5DA0A3303DD@pweml001pp.pw.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: PRO*C compiling AIX 5.3
From: "Ken Wallis" <kwallis@paperless-warehousing.com>
To: <oracle-l@freelists.org>
X-archive-position: 3475
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: kwallis@paperless-warehousing.com
Precedence: normal
Reply-to: kwallis@paperless-warehousing.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------_=_NextPart_001_01C83092.35127DFC
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

In July, Brian Shanblatt posted a query to this list regarding a problem
with 9.2 Pro*C and AIX 5.3 for which there was no adequate answer
(http://dba.5341.com/msg/81329.html).

However, his post turned up in a Google search when I ran into the same
error with the same components and this helped me understand that I had
a soluble problem which I have now overcome.  I wanted to add some value
by posting a follow up.

Brian, I recently ran into this same issue with a properly installed
version of Oracle 'Pro*C/C++: Release 9.2.0.1.0' on AIX 5300-06.  It
appears that between AIX 5300-04 and 5300-06 IBM put a section into
/usr/include/standards.h with this #warning line and Pro*C/C++ doesn't
like it.  This warning then appears to throw off the entire
precompilation phase such that simple types such as size_t aren't
defined and everything falls in a heap.

After unsuccessfully trying various fiddles involving DEFINE=3D in my =
proc
invocation, I decided that rather than modify standards.h in
/usr/include, I would make a local copy of standards.h in the directory
with my source code and header files and edit that.

I changed IBM's:

#if defined(__IBM_PP_WARNING)
#warning  The -qdfp option is required to process DFP code in headers.
#else
#error  The -qdfp option is required to process DFP code in headers.
#endif

into:

#if !defined(__IBM_PP_WARNING)
#error  The -qdfp option is required to process DFP code in headers.
#endif

My proc invocation already included INCLUDE=3D., so this local version =
of
standards.h got pulled in instead of IBM's one and the proc command in
the makefile then went through successfully.

HTH,

KEN WALLIS
Technical Consultant



PRO*C compiling AIX 5.3

2007-07-19       - By Brian Shanblatt

Hi Peter and all.

Thank you for your reply.

I just did an install of the 9.2.0.8 patchset, which upgraded and
relinked
everything.

The same problem occurred with pro*c on the standards.h file.

I then relinked the precompilers and the shared client libraries.

Same error.

It might have something to do with the AIX patchsets.  Metalink lists a
whole bunch, and I will have the sysadmins on the machine check that we
have them.

Comments?

=20


------_=_NextPart_001_01C83092.35127DFC
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi=
ps" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"=
 =
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag=
es" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Century Gothic";
	panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
	{font-family:"Lucida Console";
	panose-1:2 11 6 9 4 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Century Gothic","sans-serif";
	color:#1F497D;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Century Gothic","sans-serif";
	color:#993366;
	font-weight:normal;
	font-style:normal;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>In July, Brian Shanblatt posted a query to this list =
regarding a
problem with 9.2 Pro*C and AIX 5.3 for which there was no adequate =
answer
(http://dba.5341.com/msg/81329.html).<o:p></o:p></span></p>

<p><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>However, his post turned up in a Google search when I ran =
into
the same error with the same components and this helped me understand =
that I
had a soluble problem which I have now overcome.&nbsp; I wanted to add =
some value
by posting a follow up.<o:p></o:p></span></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>Brian, I recently ran into this same issue with a =
properly
installed version of Oracle &#8216;Pro*C/C++: Release 9.2.0.1.0&#8217; =
on AIX
5300-06.&nbsp; It appears that between AIX 5300-04 and 5300-06 IBM put a
section into /usr/include/standards.h with this #warning line and =
Pro*C/C++
doesn&#8217;t like it.&nbsp; This warning then appears to throw off the =
entire
precompilation phase such that simple types such as size_t aren&#8217;t =
defined
and everything falls in a heap.<o:p></o:p></span></i></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>After unsuccessfully trying various fiddles involving =
DEFINE=3D in
my proc invocation, I decided that rather than modify standards.h in
/usr/include, I would make a local copy of standards.h in the directory =
with my
source code and header files and edit that.<o:p></o:p></span></i></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>I changed IBM&#8217;s:<o:p></o:p></span></i></p>

<p><span style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:#8064A2'>#if
defined(__IBM_PP_WARNING)<br>
#warning&nbsp; The -qdfp option is required to process DFP code in =
headers.<br>
#else<br>
#error&nbsp; The -qdfp option is required to process DFP code in =
headers.<br>
#endif<o:p></o:p></span></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>into:<o:p></o:p></span></i></p>

<p><span style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:#8064A2'>#if
!defined(__IBM_PP_WARNING)<br>
#error&nbsp; The -qdfp option is required to process DFP code in =
headers.<br>
#endif<o:p></o:p></span></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>My proc invocation already included INCLUDE=3D., so this =
local
version of standards.h got pulled in instead of IBM&#8217;s one and the =
proc
command in the makefile then went through =
successfully.<o:p></o:p></span></i></p>

<p><i><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#1F497D'>HTH,<o:p></o:p></span></i></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span
lang=3DEN-AU style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#FF9900'>KEN WALLIS</span></i></b><b><i><span lang=3DEN-AU
style=3D'font-size:11.0pt;font-family:"Century =
Gothic","sans-serif";color:blue'><br>
</span></i></b><b><i><span lang=3DEN-AU =
style=3D'font-size:9.0pt;font-family:"Century Gothic","sans-serif";
color:blue'>Technical Consultant</span></i></b><span lang=3DEN-AU
style=3D'font-size:11.0pt;font-family:"Century =
Gothic","sans-serif";color:teal'><br>
<br>
</span><b><span style=3D'font-size:10.0pt;font-family:"Century =
Gothic","sans-serif";
color:#993366'><o:p></o:p></span></b></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><b><span =
style=3D'font-size:10.0pt;
font-family:"Century Gothic","sans-serif";color:#993366'>PRO*C compiling =
AIX
5.3<o:p></o:p></span></b></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><i><span =
style=3D'font-size:10.0pt;
font-family:"Century Gothic","sans-serif";color:#993366'>2007-07-19 =
&nbsp;
&nbsp; &nbsp; - By Brian Shanblatt</span></i><span =
style=3D'font-size:10.0pt;
font-family:"Century Gothic","sans-serif";color:#993366'><br>
<br>
Hi Peter and all.<br>
<br>
Thank you for your reply.<br>
<br>
I just did an install of the 9.2.0.8 patchset, which upgraded and =
relinked<br>
everything.<br>
<br>
The same problem occurred with pro*c on the standards.h file.<br>
<br>
I then relinked the precompilers and the shared client libraries.<br>
<br>
Same error.<br>
<br>
It might have something to do with the AIX patchsets. &nbsp;Metalink =
lists a<br>
whole bunch, and I will have the sysadmins on the machine check that =
we<br>
have them.<br>
<br>
Comments?<o:p></o:p></span></p>

<p style=3D'margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C83092.35127DFC--
--
http://www.freelists.org/webpage/oracle-l


