Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  FLEX Issues no 32bit version

    Posted Tue March 08, 2022 01:55 PM
    My developers are trying to compile some old code and are hitting issues because the new compiler that uses flex does not appear to have a 32bit library for /usr/lib/libc.a.

    Looking for suggestions:

    #yum info flex
    Installed Packages
    Name : flex
    Arch : ppc
    Version : 2.6.4
    Release : 1
    Size : 1.3 M
    Repo : installed
    From repo : AIX_Toolbox
    Summary : A tool for creating scanners (text pattern recognizers)
    URL : http://flex.sourceforge.net/
    License : BSD
    Description : The flex program generates scanners. Scanners are programs which can
    : recognize lexical patterns in text. Flex takes pairs of regular
    : expressions and C code as input and generates a C source file as
    : output. The output file is compiled and linked with a library to
    : produce an executable. The executable searches through its input for
    : occurrences of the regular expressions. When a match is found, it
    : executes the corresponding C code. Flex was designed to work with
    : both Yacc and Bison, and is used by many programs as part of their
    : build process.
    :
    : You should install flex if you are going to use your system for
    : application development.


    On my older system that works:
    # rpm -qa|grep flex
    flex-2.5.37-1.ppc




    ------------------------------
    Brian Bellrose
    ------------------------------

    #AIXOpenSource


  • 2.  RE: FLEX Issues no 32bit version

    Posted Wed March 09, 2022 06:25 AM
    " because the new compiler that uses flex does not appear to have a 32bit library for /usr/lib/libc.a. " 

    This statement doesn't make any sense. Can you be more clear ? 


    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: FLEX Issues no 32bit version

    Posted Thu March 10, 2022 08:23 AM
    What's the issue ?
    flex doesn't run ?  what's the message ?

    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------