Menu

ibcs-3_8 compile error on RHEL 5.5 64-bit

Help
2011-02-20
2014-09-13
  • Rod Sheppard

    Rod Sheppard - 2011-02-20

    Hello,

    ibcs-3_8
    I am getting the following compilation errors on..
    RHEL 5.6 64-bit
    Kernel 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linuxion errors
    --- snip ---
    make -C /lib/modules/2.6.18-238.el5/build M=/usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8 modules
    make: Entering directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
      CC   /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8/coff/binfmt-coff.o
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8/coff/binfmt-coff.c: In function âcoff_load_objectâ:
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8/coff/binfmt-coff.c:588: error: âTIF_ABI_PENDINGâ undeclared (first use in this function)
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8/coff/binfmt-coff.c:588: error: (Each undeclared identifier is reported only once
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_8/coff/binfmt-coff.c:588: error: for each function it appears in.)
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
    make: ***  Error 2
    --- snip ---

    nb. compiles and seems to work OK on RHEL 5.6 32-bit.

    Much appreciated if anyone could help.

    Rod

     
  • Rod Sheppard

    Rod Sheppard - 2011-02-20

    Sorry should be RHEL 5.6 in topic

     
  • jhon smith

    jhon smith - 2011-02-20

    hello friend

    recalls that the IBCS-3.8 module is only compatible for Kernel 2.6.27 and 2.6.28.

    if you use the 2.6.18 kernel should use version 3.3 of the IBCS module.

    Note:

    Release Name: ibcs-3.3

    Notes: Support for Kernels from 2.6.5 to 2.6.21

    I hope it helps

     
  • Rod Sheppard

    Rod Sheppard - 2011-02-21

    Thanks for the help,

    I tried ibcs-3_3 (and ibcs-3_4) both  getting this error…
    --- snip ---
    # make
    make -C /lib/modules/2.6.18-238.el5/build M=/usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3 modules
    make: Entering directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
      CC   /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.o
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c: In function âcoff_load_binaryâ:
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: â__NR_vm86â undeclared (first use in this function)
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: (Each undeclared identifier is reported only once
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: for each function it appears in.)
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:829: error: âstruct pt_regsâ has no member named âebxâ
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
    make: ***  Error 2
    --- snip ---

     
  • Rod Sheppard

    Rod Sheppard - 2011-02-21

    Thanks for the help,

    I tried ibcs-3_3 (and ibcs-3_4) both  getting this error…
    --- snip ---
    # make
    make -C /lib/modules/2.6.18-238.el5/build M=/usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3 modules
    make: Entering directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
      CC   /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.o
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c: In function âcoff_load_binaryâ:
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: â__NR_vm86â undeclared (first use in this function)
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: (Each undeclared identifier is reported only once
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:828: error: for each function it appears in.)
    /usr/src/kernels/2.6.18-238.el5-x86_64/ibcs-3_3/coff/binfmt-coff.c:829: error: âstruct pt_regsâ has no member named âebxâ
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/kernels/2.6.18-238.el5-x86_64'
    make: ***  Error 2
    --- snip ---

     
  • jhon smith

    jhon smith - 2011-02-21

    my friend

    I've only been working successfully IBCS module when compiled into a generic kernel, downloaded from web site www.kernel.org.

    compile the kernel first and then compile the kernel module IBCs.

    Now, you have to take into account that corresponds to that kernel IBCS. This information is also given in this site.

    For example, this information is for the IBCS-3.8

    http://sourceforge.net/project/shownotes.php?release_id=659427

    Notes:
    1) Support for Kernel 2.6.27 and added 2/6/1928;
    2) Created local "uts_sem" to Overcome missing export;
    3) Short inode mapping and "/ proc" support.

    I hope that helps you and sorry for any mistakes in my language because English is not my native language

     
  • Rod Sheppard

    Rod Sheppard - 2011-02-21

    Thanks for the help,

    But I am restricted to using the kernel src installed by RHEL 5.6.
    So unless I can get the ibcs module to compile on 64-bit (preffered),  I will have to go with the 32-bit RedHat.
    I tried compiling ibcs-3_3 on the 32-bit platform but got this error..
    --- snip ---
      CC   /usr/src/kernels/2.6.18-238.el5-i686/ibcs-3_3/svr4/termios.o
    /usr/src/kernels/2.6.18-238.el5-i686/ibcs-3_3/svr4/termios.c:309: error: redefinition of âstruct termioxâ
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/kernels/2.6.18-238.el5-i686'
    make: ***  Error 2
    --- snip ---

    Would you think it would be ok using ibcs-3_8 which compiles and seems to work on 32-bit, even
    if it was not intended for that kernel version?
    Or should I try an older version like ibcs-3_4, which I have been sucsessfully using on
    Slackware 12 (kernel 2.6.21.5-smp) for some time.

    Rod

     
  • Rod Sheppard

    Rod Sheppard - 2011-02-21

    Update:

    on 32-bit RHEL 5.6 (2.6.18-238.el5-i686)   ibcs-3_4 gets same compile erroras above with ibcs-3_3

     
  • Axel Reinhold

    Axel Reinhold - 2011-03-18

    Hi, i have used iBCS 3.8 with CentOS (RHEL) 5.4 up to kernel 2.6.18-194.26.1.el5 without any issues.
    With centOS 5.5 kernel 2.6.18-194.26.1.el5 i can compile iBCS 3.8 without problems - but on load i get:

    insmod: error inserting '/opt/ibcs/lib/util/abi_util.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/lcall/abi_lcall.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/coff/binfmt_coff.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/xout/binfmt_xout.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/svr4/abi_svr4.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/cxenix/abi_cxenix.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/sco/abi_sco.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/ibcs/abi_ibcs.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/isc/abi_isc.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/solaris/abi_solaris.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/uw7/abi_uw7.ko': -1 Invalid module format
    insmod: error inserting '/opt/ibcs/lib/wyse/abi_wyse.ko': -1 Invalid module format

    and in dmesg:

    binfmt_coff: disagrees about version of symbol struct_module
    binfmt_xout: disagrees about version of symbol struct_module
    abi_svr4: disagrees about version of symbol struct_module
    abi_cxenix: disagrees about version of symbol struct_module
    abi_sco: disagrees about version of symbol struct_module
    abi_ibcs: disagrees about version of symbol struct_module
    abi_isc: disagrees about version of symbol struct_module
    abi_solaris: disagrees about version of symbol struct_module
    abi_uw7: disagrees about version of symbol struct_module
    abi_wyse: disagrees about version of symbol struct_module

    Why?

    Please help.

     
  • Rod Sheppard

    Rod Sheppard - 2011-03-19

    Hi,

    Not sure if it helps but I also got the same invalid format errors for the ko modules
    when trying to copy to andinstall them on RHEL 5.6 32-bit 2.6.18-238.5.1.el5PAE #1 SMP
    They were originally compiled on compiled on 2.6.18-238.el5 #1 SMP where they install and work fine.
    Solution was to compile and install on the target system, even tho I thought they had the same kernel.

    2.6.18-238.5.1.el5PAE #1 SMP

     
  • mlthati

    mlthati - 2014-08-23

    hi
    ibcs-3.8 is compiled on 2.6.18-238.5.1.el5PAE. But when I tried to execute sco binary i.e foxplus I am getting this follwing error. Why ? Is ther any include is missing during compilation ?
    Error :
    libc: setlocale: LC_CTYPE: LANG environment variable syntax error

    Termcap entry too long
    Termcap entry too long

    Invalid signal received

    Thanks in advance

     
    • Dobes Milan

      Dobes Milan - 2014-08-25

      hi
      I have Foxpro installed in /usr/lib/foxpro, ibcs in /usr/local/src/ibcs-3_8 is. Attached is a script to run foxpro.pr including the required terminfo file. It is optimized to run on the server console or in a terminal putty. There is also a small adjustment ibcs to avoid error messages when you start FoxPro.

       
  • mlthati

    mlthati - 2014-09-13

    hi Milan
    Can u help me in running sco lotus. Here is the source of sco-lotus123
    I will be very much thankful to you

     

Log in to post a comment.