Re: Need help with Proc compilation with GCC 4.8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux