AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#Power

 View Only
  • 1.  Installation error - '_UKJBLEN' undeclared here

    Posted Sun June 29, 2008 04:19 AM

    Originally posted by: SystemAdmin


    Hi,

    I want to install a ghostscript file in AIX 5.3.. i confgiured it then gave make command. it has thrown the following error.

    -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./src -o ./obj/ttfmain.o -c ./src/ttfmain.c
    In file included from ./src/setjmp_.h:20,
    from ./src/ttobjs.h:42,
    from ./src/ttfmain.c:24:
    /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/setjmp.h:123: error: '_UKJBLEN' undeclared here (not in a function)
    make: 1254-004 The error code from the last command is 1.
    Stop.
    what is the problem..

    is there something wrong with gcc.... I downloaded gcc and installed ti from http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html

    http://www.gnu.org/ site 4.3.1 latest gcc is available.. but the installation procedure is not proper. any bosy knows how to install gcc-4.3.1 in AIX 5.3.

    Pleaseee help....

    Thanks,
    #AIX-Forum


  • 2.  Re: Installation error - '_UKJBLEN' undeclared here

    Posted Tue August 12, 2008 12:22 PM

    Originally posted by: SystemAdmin


    I just ran into this while installing stunnel. The problem is with /usr/include/setjmp.h from fileset bos.adt.include. The definition of _UKJBLEN was added between AIX 5.3 TL4 and AIX 5.3 TL5. You need to update to TL5.
    #AIX-Forum


  • 3.  Re: Installation error - '_UKJBLEN' undeclared here

    Posted Tue August 12, 2008 12:24 PM

    Originally posted by: SystemAdmin


    Sorry, wrong file name:

    sbkovwobid01# oslevel -s
    5300-04-01
    sbkovwobid01# grep JBLEN /usr/include/sys/m_setjmp.h
    #define _JBLEN 128 /* doublewords, 1K (364 legacy + 228 VMX + 432 rsvd) */
    #define _JBLEN 229 /* words, 916 bytes (256 legacy + 228 VMX + 432 rsvd) */
    #define _JBLEN 85 /* regs, fp regs, cr, sigmask, context, etc. */
    #define _JBLEN 64 /* regs, fp regs, cr, sigmask, context, etc. */
    sbkovwobid01#

    sbkovwadmd01$ oslevel -s
    5300-05-06
    sbkovwadmd01$ grep JBLEN /usr/include/sys/m_setjmp.h
    #define _JBLEN 128 /* doublewords, 1K (364 legacy + 228 VMX + 432 rsvd) */
    #define _UKJBLEN 131 /* + 3 doublewords */
    #define _JBLEN 229 /* words, 916 bytes (256 legacy + 228 VMX + 432 rsvd) */
    #define _UKJBLEN 233 /* + 4 words */
    #define _JBLEN 85 /* regs, fp regs, cr, sigmask, context, etc. */
    #define _UKJBLEN 88 /* + 3 doublewords */
    #define _JBLEN 64 /* regs, fp regs, cr, sigmask, context, etc. */
    #define _UKJBLEN 68 /* + 4 words */
    sbkovwadmd01$
    #AIX-Forum