compiling ibcs on Debian 3.0 / 2.4.19 kernel and on Debian 2.2r5 / 2.2.26 kernel

From: Daniel Lebras (daniel_lebras_at_yahoo.com)
Date: 11/01/04

  • Next message: dimoni_at_dimoni.demon.nl: "xserver cannot start on iMac G3"
    Date: Mon, 1 Nov 2004 10:34:31 -0800 (PST)
    To: debian-user@lists.debian.org
    
    

    I am trying to see if it is possible to get SCO
    binaries to run on Debian GNU/Linux.

    I am just trying to get iBCS to work on two boxes:
    bliss: Debian 3.0 GNU/Linux "woody" box running a
    2.4.19 kernel
    fury: Debian 2.2r5 GNU/Linux box running a 2.2.26
    kernel

    [root@bliss] 16:32 /root> apt-get install ibcs-base
    ibcs-source-2.2

    I get a /usr/src/modules/ibcs-2.2 directory.
    In that directory:
    cp CONFIG.i386 CONFIG
    vi CONFIG

    I am using the following options in my CONFIG:

    ARCH=i386
    KERNEL=/usr/src/linux
    include $(KERNEL)/.config
    USE_VERSIONS=no
    ifeq ($(CONFIG_MODVERSIONS),y)
    USE_VERSIONS=yes
    endif
    SOCKSYS_MAJOR=30
    EMU_SCO = yes
    EMU_ISC = no
    EMU_SVR4 = no
    EMU_BSD = no
    EMU_WYSE = no
    EMU_WYSEMP = no
    EMU_X286 = no
    EMU_SPX = no
    EMU_XTI = no
    EMU_TLI_OPTMGMT = yes
    EMU_XTI_OPTMGMT = no
    EMU_BINFMT_AOUT = no
    EMU_BINFMT_ELF = no # Broken. Do not use!
    EMU_BINFMT_COFF = yes
    EMU_BINFMT_XOUT = no
    EMU_BINFMT_OLDSCRIPT = no
    IBCS_TRACE = no
    VERBOSE_ERRORS = no
    COFF_TRACE = no
    ELF_TRACE = no
    XOUT_DEBUG = no
    ARCH_FLAGS = -i686

    ... let's try to compile this on a 2.4.19 kernel:

    [root@bliss] 16:32 /usr/src/modules/ibcs-2.2>cd
    iBCSemul/
    [root@bliss] 16:32
    /usr/src/modules/ibcs-2.2/iBCSemul>time make clean
    rm -f core *.o *.a *.s iBCS .depend

    real 0m0.027s
    user 0m0.020s
    sys 0m0.010s
    [root@bliss] 16:32
    /usr/src/modules/ibcs-2.2/iBCSemul>time make install
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -i686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    emulate.c
    In file included from emulate.c:54:
    ../include/ibcs/ibcs.h:30: warning: `personality'
    redefined
    /usr/src/linux/include/linux/personality.h:97:
    warning: this is the location of the previous
    definition
    In file included from emulate.c:54:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    emulate.c:482: warning: initialization from
    incompatible pointer type
    emulate.c:486: warning: initialization from
    incompatible pointer type
    emulate.c:493: warning: initialization from
    incompatible pointer type
    emulate.c:497: warning: initialization from
    incompatible pointer type
    emulate.c:504: warning: initialization from
    incompatible pointer type
    emulate.c:508: warning: initialization from
    incompatible pointer type
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -i686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    sysi86.c
    In file included from sysi86.c:30:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    sysi86.c: In function `ibcs_sysi86':
    sysi86.c:131: warning: assignment makes pointer from
    integer without a cast
    sysi86.c:154: warning: assignment makes pointer from
    integer without a cast
    sysi86.c:174: `PER_MASK' undeclared (first use in this
    function)
    sysi86.c:174: (Each undeclared identifier is reported
    only once
    sysi86.c:174: for each function it appears in.)
    sysi86.c:174: `PER_SCOSVR3' undeclared (first use in
    this function)
    sysi86.c:180: warning: assignment makes pointer from
    integer without a cast
    make: *** [sysi86.o] Error 1

    real 0m1.771s
    user 0m1.630s
    sys 0m0.090s

    ... well, the compilation fails with a 2.4.19 kernel.

    Now let's try on fury (Debian 2.2r5 with a 2.2.26
    kernel):

    [root@fury] /root>cd /usr/src/modules/
    [root@fury] /usr/src/modules>ll
    [root@fury] /usr/src/modules>cd ibcs-2.2/
    [root@fury] /usr/src/modules/ibcs-2.2>cd iBCSemul/
    [root@fury] /usr/src/modules/ibcs-2.2/iBCSemul>make
    clean
    rm -f core *.o *.a *.s iBCS .depend
    [root@fury] /usr/src/modules/ibcs-2.2/iBCSemul>make
    install
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    emulate.c
    cc: unrecognized option `-686'
    In file included from emulate.c:54:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    sysi86.c
    cc: unrecognized option `-686'
    In file included from sysi86.c:30:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    sysi86.c: In function `ibcs_sysi86':
    sysi86.c:131: warning: assignment makes pointer from
    integer without a cast
    sysi86.c:154: warning: assignment makes pointer from
    integer without a cast
    sysi86.c:180: warning: assignment makes pointer from
    integer without a cast
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    wysev386.c
    cc: unrecognized option `-686'
    In file included from wysev386.c:26:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c xnx.c
    cc: unrecognized option `-686'
    In file included from xnx.c:38:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c map.c
    cc: unrecognized option `-686'
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c coff.c
    cc: unrecognized option `-686'
    In file included from coff.c:39:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    coff.c: In function `ibcs_exec':
    coff.c:251: warning: assignment makes pointer from
    integer without a cast
    coff.c:252: warning: assignment makes pointer from
    integer without a cast
    coff.c:253: warning: assignment makes pointer from
    integer without a cast
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    hrtsys.c
    cc: unrecognized option `-686'
    In file included from hrtsys.c:23:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c ioctl.c
    cc: unrecognized option `-686'
    In file included from ioctl.c:31:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    ioctl.c: In function `do_ioctl':
    ioctl.c:99: warning: implicit declaration of function
    `bsd_ioctl_termios'
    ioctl.c: At top level:
    ioctl.c:43: warning: `ibcs_ioctl_tape' declared
    `static' but never defined
    ioctl.c:48: warning: `ibcs_ioctl_termiox' declared
    `static' but never defined
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c ipc.c
    cc: unrecognized option `-686'
    In file included from ipc.c:67:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c mmap.c
    cc: unrecognized option `-686'
    In file included from mmap.c:19:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c open.c
    cc: unrecognized option `-686'
    In file included from open.c:39:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    open.c: In function `ibcs_fcntl':
    open.c:548: warning: implicit declaration of function
    `xnx_rdchk'
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    secureware.c
    cc: unrecognized option `-686'
    In file included from secureware.c:26:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    socket.c
    cc: unrecognized option `-686'
    In file included from socket.c:25:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    socket.c: In function `ibcs_getsockopt':
    socket.c:152: warning: assignment makes pointer from
    integer without a cast
    socket.c:153: warning: assignment makes pointer from
    integer without a cast
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c poll.c
    cc: unrecognized option `-686'
    In file included from poll.c:37:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    ptrace.c
    cc: unrecognized option `-686'
    In file included from ptrace.c:22:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    signal.c
    cc: unrecognized option `-686'
    In file included from signal.c:40:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    socksys.c
    cc: unrecognized option `-686'
    In file included from socksys.c:41:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    socksys.c: In function `socksys_syscall':
    socksys.c:572: warning: assignment makes pointer from
    integer without a cast
    socksys.c:603: warning: assignment makes pointer from
    integer without a cast
    socksys.c:650: warning: assignment makes pointer from
    integer without a cast
    socksys.c:652: warning: assignment makes pointer from
    integer without a cast
    socksys.c:666: warning: assignment makes pointer from
    integer without a cast
    socksys.c:677: warning: assignment makes pointer from
    integer without a cast
    socksys.c:679: warning: assignment makes pointer from
    integer without a cast
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c stat.c
    cc: unrecognized option `-686'
    In file included from stat.c:30:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    stream.c
    cc: unrecognized option `-686'
    In file included from stream.c:26:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    sysconf.c
    cc: unrecognized option `-686'
    In file included from sysconf.c:31:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c sysfs.c
    cc: unrecognized option `-686'
    In file included from sysfs.c:31:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    sysinfo.c
    cc: unrecognized option `-686'
    In file included from sysinfo.c:18:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    sysisc.c
    cc: unrecognized option `-686'
    In file included from sysisc.c:21:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    syslocal.c
    cc: unrecognized option `-686'
    In file included from syslocal.c:30:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c timod.c
    cc: unrecognized option `-686'
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    ulimit.c
    cc: unrecognized option `-686'
    In file included from ulimit.c:35:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    utsname.c
    cc: unrecognized option `-686'
    In file included from utsname.c:24:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c vtkd.c
    cc: unrecognized option `-686'
    In file included from vtkd.c:38:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c xstat.c
    cc: unrecognized option `-686'
    In file included from xstat.c:29:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    binfmt_lib.c
    cc: unrecognized option `-686'
    binfmt_lib.c: In function `create_ibcs_tables':
    binfmt_lib.c:40: warning: implicit declaration of
    function `strlen_user'
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    bsdioctl.c
    cc: unrecognized option `-686'
    In file included from bsdioctl.c:27:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    cc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include
    -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -686 -DSOCKSYS_MAJOR=30
    -DEMU_SCO -DEMU_TLI_OPTMGMT -DEMU_BINFMT_COFF
    -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c
    binfmt_coff.c
    cc: unrecognized option `-686'
    In file included from binfmt_coff.c:62:
    ../include/ibcs/ibcs.h:47: warning: function
    declaration isn't a prototype
    binfmt_coff.c:135: warning: initialization from
    incompatible pointer type
    binfmt_coff.c: In function `load_object':
    binfmt_coff.c:570: warning: implicit declaration of
    function `create_ibcs_tables'
    binfmt_coff.c:753: `PF_PTRACED' undeclared (first use
    in this function)
    binfmt_coff.c:753: (Each undeclared identifier is
    reported only once
    binfmt_coff.c:753: for each function it appears in.)
    binfmt_coff.c: In function `load_coff_library':
    binfmt_coff.c:1032: warning: `status' might be used
    uninitialized in this function
    make: *** [binfmt_coff.o] Error 1
    [root@fury] /usr/src/modules/ibcs-2.2/iBCSemul>

    I have used the lists.debian.org search engine and I
    have found that somebody had the same problem in
    december of 2003:
    http://lists.debian.org/debian-user/2003/12/msg05126.html

    ... apparently nobody could help.

    Also, the files in /usr/src/modules/ibcs-2.2/iBCSemul
    appear to be pretty old...
    Six of them are dated Feb 16 2002 and the rest of them
    is dated May 2 2000.

    I'd be very delighted if somebody could help...

    Daniel

                    
    __________________________________
    Do you Yahoo!?
    Check out the new Yahoo! Front Page.
    www.yahoo.com
     

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: dimoni_at_dimoni.demon.nl: "xserver cannot start on iMac G3"

    Relevant Pages

    • compiling ibcs on Debian 3.0 / 2.4.19 kernel and on Debian 2.2r5 / 2.2.26 kernel
      ... emulate.c:482: warning: initialization from incompatible pointer type ...
      (comp.os.linux.misc)
    • Re: Urgent C Questions
      ... int, not void. ... Then you need to turn up the warning level on QuickC. ... 3  missing prototype for 'main' ... stdio.h contains the declaration for printf: ...
      (comp.lang.c)
    • Re: 2.6.4-rc2-mm1 (compile stats)
      ... qualifiers from pointer target type ... drivers/ide/ide.c:2291: warning: implicit declaration of function ... different type arg ...
      (Linux-Kernel)
    • Re: Warnings in lcc-win
      ... the default and the user has asked for a higher warning level. ... function earlier in the source, without having a prototype, is ... I am NOT talking about K&R style declaration versus ... Are you saying that as long as this appears before any call to func() ...
      (comp.lang.c)
    • Re: va_list usage
      ... prototype declaration of bazin scope at the call to it; ... In C99 of course you must have some declaration, ... pointer or struct that is passed by value and not shared. ...
      (comp.lang.c)