[ 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 ] 

Select this message: inb outb, compile failure with Redhat 6.1 please help.

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

[ Members ]  [ Subscribe ]  [ No Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ] 
[ Edit This Forum ]