Next-in-Thread Next Message

Question inb outb, compile failure with Redhat 6.1 please help. 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Feb 20
From: ehlarson

I am having difficulty compiling the PCMCIA card services under RedHat 6.1 - kernel 2.2.12-20 smb, versions 3.0.14 and 3.1.10, 3.1.11. In each case the compilation fails with the following series of errors:

obe.c -o probe probe.c: In function `i365_get':

probe.c:157: warning: implicit declaration of function `outb'

probe.c:157: warning: implicit declaration of function `inb'

probe.c: In function `tcic_getw':

probe.c:284: warning: implicit declaration of function `inw'

probe.c: In function `tcic_setw':

probe.c:290: warning: implicit declaration of function `outw'

/tmp/ccnlFJoj.o: In function `i365_get':

/tmp/ccnlFJoj.o(.text+0x289): undefined reference to `outb'

/tmp/ccnlFJoj.o(.text+0x295): undefined reference to `inb'

/tmp/ccnlFJoj.o: In function `i365_set':

/tmp/ccnlFJoj.o(.text+0x2bd): undefined reference to `outb'

/tmp/ccnlFJoj.o(.text+0x2cd): undefined reference to `outb'

/tmp/ccnlFJoj.o: In function `i365_probe':

/tmp/ccnlFJoj.o(.text+0x491): undefined reference to `outb'

/tmp/ccnlFJoj.o(.text+0x49e): undefined reference to `outb'

/tmp/ccnlFJoj.o: In function `tcic_getb':

/tmp/ccnlFJoj.o(.text+0x5a3): undefined reference to `inb'

/tmp/ccnlFJoj.o: In function `tcic_setb':

/tmp/ccnlFJoj.o(.text+0x5c4): undefined reference to `outb'

/tmp/ccnlFJoj.o: In function `tcic_getw':

/tmp/ccnlFJoj.o(.text+0x5db): undefined reference to `inw'

/tmp/ccnlFJoj.o: In function `tcic_setw':

/tmp/ccnlFJoj.o(.text+0x5fc): undefined reference to `outw'

collect2: ld returned 1 exit status etc.

My config dialog goes like:

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users. Consult the PCMCIA-HOWTO for additional info about each option.

Linux source directory [/usr/src/linux]:

The kernel source tree is version 2.2.12-20. WARNING: the current kernel is actually version 2.2.12-20smp. The current kernel build date is Mon Sep 27 10:34:45 1999.

Alternate target install directory []: 
  Module install directory [/lib/modules/2.2.12-20]: 
Build 'trusting' versions of card utilities (y/n) [n]: 
Include 32-bit (CardBus) card support (y/n) [y]: 
Include PnP BIOS resource checking (y/n) [n]: 

Kernel configuration options:
    Symmetric multiprocessing support is enabled.
    PCI BIOS support is enabled.
    Advanced Power Management (APM) support is enabled.
    SCSI support is enabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is enabled.
     Fast switching is disabled.
    Module version checking is enabled.
    /proc filesystem support is enabled.
    Maximum physical memory: 1GB

It looks like you have a System V init file setup.

X Windows include files found. /usr/X11/lib/libforms.so and /usr/X11/include/forms.h found.

Configuration successful.

This is with the standard Redhat 6.1 kernel RPMs, and a version of XForms (0.88-1) which I downloaded from the Redhat contrib directory.

Next-in-Thread Next Message

Add Message to: "inb outb, compile failure with Redhat 6.1 please help."

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10