[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem compiling pciutils from source...



Sudhakar Chandrasekharan proclaimed:
> cc -O2 -g -fomit-frame-pointer -Wall -W -Wno-parentheses
> -Wstrict-prototypes   -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:78: `inb' previously defined here
> /usr/include/sys/io.h:53: redefinition of `inb_p'
> /usr/include/asm/io.h:78: `inb_p' previously defined here
> /usr/include/sys/io.h:62: redefinition of `inw'
> /usr/include/asm/io.h:81: `inw' previously defined here
> /usr/include/sys/io.h:71: redefinition of `inw_p'
> /usr/include/asm/io.h:81: `inw_p' previously defined here
> /usr/include/sys/io.h:80: redefinition of `inl'
> /usr/include/asm/io.h:84: `inl' previously defined here
> /usr/include/sys/io.h:89: redefinition of `inl_p'
> /usr/include/asm/io.h:84: `inl_p' previously defined here
> /usr/include/sys/io.h:97: redefinition of `outb'
> /usr/include/asm/io.h:87: `outb' previously defined here
> /usr/include/sys/io.h:103: redefinition of `outb_p'
> /usr/include/asm/io.h:87: `outb_p' previously defined here
> /usr/include/sys/io.h:110: redefinition of `outw'
> /usr/include/asm/io.h:88: `outw' previously defined here
> /usr/include/sys/io.h:117: redefinition of `outw_p'
> /usr/include/asm/io.h:88: `outw_p' previously defined here
> /usr/include/sys/io.h:124: redefinition of `outl'
> /usr/include/asm/io.h:89: `outl' previously defined here
> /usr/include/sys/io.h:130: redefinition of `outl_p'
> /usr/include/asm/io.h:89: `outl_p' previously defined here
> /usr/include/sys/io.h:137: redefinition of `insb'
> /usr/include/asm/io.h:91: `insb' previously defined here
> /usr/include/sys/io.h:144: redefinition of `insw'
> /usr/include/asm/io.h:92: `insw' previously defined here
> /usr/include/sys/io.h:151: redefinition of `insl'
> /usr/include/asm/io.h:93: `insl' previously defined here
> /usr/include/sys/io.h:158: redefinition of `outsb'
> /usr/include/asm/io.h:95: `outsb' previously defined here
> /usr/include/sys/io.h:165: redefinition of `outsw'
> /usr/include/asm/io.h:96: `outsw' previously defined here
> /usr/include/sys/io.h:172: redefinition of `outsl'
> /usr/include/asm/io.h:97: `outsl' previously defined here
> make[1]: *** [i386-ports.o] Error 1
> make[1]: Leaving directory `/u/thaths/tmp/pciutils-2.1.2.orig/lib'
> make: *** [lib] Error 2


Oh.  And at if this stage if I cd to lib/ and run make, things compile
fine.

S.
-- 
"Am I the only one who just wants to play hopscotch, bake cookies, and 
         watch '"The McLaughlin Group?'" -- Lisa Simpson
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave


Reply to: