From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: "Kondreddy, Vinay Kumar" <VinayKumar.Kondreddy@staples.com>
Cc: "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
gcc-help <gcc-help@gcc.gnu.org>,
gcc-bugzilla-account-request
<gcc-bugzilla-account-request@gcc.gnu.org>,
"Mahankali, Sharath Kumar" <SharathKumar.Mahankali@staples.com>
Subject: Re: Need help with Proc compilation with GCC 4.8.3
Date: Wed, 1 Mar 2023 09:00:57 +0000 [thread overview]
Message-ID: <CAH6eHdSdCHrdrMxf-Sg4e-rH7auKBZW1hywwsXXLSB8oFvMSHw@mail.gmail.com> (raw)
In-Reply-To: <DM4PR03MB61904C8693A34D2093DA7D9D9EAD9@DM4PR03MB6190.namprd03.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 2927 bytes --]
Please don't cross-post to several mailing lists, this belongs on the
gcc-help mailing list only.
On Wed, 1 Mar 2023, 06:33 Kondreddy, Vinay Kumar, <
VinayKumar.Kondreddy@staples.com> wrote:
> Hi Team,
>
>
>
> We are using GCC 4.8.3 for one of our legacy applications i.e: Automatch.
> after database upgrade from 11/2 to 19.0.0, while recompiling one of our
> proc program we are getting below error. Could you please help us to
> resolve below issue. Please find full error trace in above attachment.
>
>
>
> Also could you please provide any URL or website to download proper GCC
> along with their dependencies as we are not able to find all dependencies
> at one place.
>
>
>
> Error:-
>
> amatch@autd1db01 $ make -f PushOfPayables.mk
>
> /ORACLE/app/oracle/product/19.0.0/dbhome_1/bin/proc
> SQLCHECK=SEMANTICS mode=oracle ireclen=120 userid=am_user/steve7
> DEFINE=__64BIT__ /usr/include/
> iname=/app/amatch/tst/code/src/proc/PushOfPayables.pc
> oname=/app/amatch/tst/code/src/c/PushOfPayables.c
>
>
>
> Pro*C/C++: Release 19.0.0.0.0 - Production on Wed Feb 22 09:54:42 2023
>
> Version 19.15.0.0.0
>
>
>
> Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights
> reserved.
>
>
>
> System default option values taken from:
> /ORACLE/app/oracle/product/19.0.0/dbhome_1/precomp/admin/pcscfg.cfg
>
>
>
> /usr/bin/gcc -c -o /app/amatch/tst/code/obj/PushOfPayables.o
> -maix64 /usr/include/ /app/amatch/tst/code/include
> -I/ORACLE/app/oracle/product/19.0.0/dbhome_1/precomp/public
> -I/app/amatch/tst/code/include /app/amatch/tst/code/src/c/PushOfPayables.c
>
> In file included from /usr/include/sys/resource.h:57:0,
>
> from
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/wait.h:62,
>
> from
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdlib.h:349,
>
> from /app/amatch/tst/code/src/c/PushOfPayables.c:181:
>
> /usr/include/sys/time.h:110:16: error: redefinition of 'struct sigset_t'
>
> typedef struct sigset_t {
>
> ^
>
> In file included from
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdio.h:479:0,
>
> from /app/amatch/tst/code/src/c/PushOfPayables.c:180:
>
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/types.h:345:16:
> note: originally defined here
>
> typedef struct sigset_t {
>
> ^
>
> In file included from /usr/include/sys/resource.h:57:0,
>
> from
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/wait.h:62,
>
> from
> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdlib.h:349,
>
> from /app/amatch/tst/code/src/c/PushOfPayables.c:181:
>
> /usr/include/sys/time.h:126:3: error: conflicting types for 'sigset_t'
>
> } sigset_t;
>
> ^
>
>
>
> Thanks & Regards,
>
> Vinay Kumar
>
prev parent reply other threads:[~2023-03-01 9:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 6:33 Kondreddy, Vinay Kumar
2023-03-01 9:00 ` Jonathan Wakely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6eHdSdCHrdrMxf-Sg4e-rH7auKBZW1hywwsXXLSB8oFvMSHw@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=SharathKumar.Mahankali@staples.com \
--cc=VinayKumar.Kondreddy@staples.com \
--cc=gcc-bugzilla-account-request@gcc.gnu.org \
--cc=gcc-help@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).