pciutils not compiling

Gerard Beekmans gerard at linuxfromscratch.org
Mon Jan 22 18:43:57 PST 2001

On January 21, 2001 02:01 pm, Nicholas Dille wrote:
> hi there,
> i was trying to compile pciutils-2.1 but all i got was:
> make -C lib all
> make[1]: Entering directory `/usr/src/pciutils-2.1/lib'
> cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes
> -W error   -c -o i386-ports.o i386-ports.c
> In file included from i386-ports.c:15:
> /usr/include/sys/io.h:44: redefinition of `inb'
> /usr/include/asm/io.h:83: `inb' previously defined here

make a backup of /usr/include/sys/io.h
edit io.h, go to line 44 and comment that line out.

do the same for the other redefinitions you got.

compile pciutils and when it compiled properly restore the io.h backup.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-

Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the blfs-support mailing list