[Pkg-pciutils-discuss] pciutils-3.1.10 package compilation error
shashank chaturvedi
rtoscdac at gmail.com
Wed Sep 5 10:43:46 UTC 2012
After change in the Makefile according to README.windows i am facing an
below error,How to resolve this issue?
gcc lspci.o ls-vpd.o ls-caps.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o
common.o lib/libpci.a -o lspci
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x79): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x8d): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0xbe): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x121): undefined reference
to `__outpw'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x135): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x161): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x177): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x1fc): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x240): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x261): undefined reference
to `__outpw'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x281): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x2fc): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x310): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x341): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x37e): undefined reference
to `__inpw'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x398): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x3b7): undefined reference
to `__inp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x3c9): undefined reference
to `__inpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x45c): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x497): undefined reference
to `__inpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x4b7): undefined reference
to `__inpw'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x4d7): undefined reference
to `__inp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x6c6): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x6da): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x6ee): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x6fa): undefined reference
to `__inp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x718): undefined reference
to `__inp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x7b7): undefined reference
to `__outp'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x7c3): undefined reference
to `__inpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x7d9): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x7e5): undefined reference
to `__inpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x7fc): undefined reference
to `__outpd'
lib/libpci.a(i386-ports.o):i386-ports.c:(.text+0x82f): undefined reference
to `__outpd'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
lib/libpci.a(i386-ports.o): bad reloc address 0x0 in section `.data'
collect2: ld returned 1 exit status
Makefile:90: recipe for target `lspci' failed
----Shashank
On Wed, Sep 5, 2012 at 11:24 AM, shashank chaturvedi <rtoscdac at gmail.com>wrote:
> Can you please help me ,how to compile pciutils on windows7 in cygwin
> enviornment.I am new to this windows compilation process
>
> regards
> shashank
>
> On Tue, Sep 4, 2012 at 8:04 PM, Matthew Wilcox <matthew at wil.cx> wrote:
>
>> On Tue, Sep 04, 2012 at 07:55:51PM +0530, shashank chaturvedi wrote:
>> > Hello,
>> > I am facing problem while compilation of pciutils-3.1.10 package
>> in
>> > cygwin enviornment,its give an error,how to resolve this issue
>> >
>> > $ make
>> > cd lib && ./configure
>> > Configuring libpci for your system... i386-cygwin_nt-6.1
>> 1.7.15(0.260/5/3)
>> > i386 6.1
>> > Looking for access methods... Unfortunately, your OS is not supported by
>> > the PCI Library
>>
>> Did you read README.Windows?
>>
>> --
>> Matthew Wilcox Intel Open Source Technology
>> Centre
>> "Bill, look, we understand that you're interested in selling us this
>> operating system, but compare it to ours. We can't possibly take such
>> a retrograde step."
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pciutils-discuss/attachments/20120905/790e5422/attachment.html>
More information about the Pkg-pciutils-discuss
mailing list