Mailing List Archive

compilation problems for unstable
Hi

Because I'm having problems with SCSI I thought of giving a try to
xen-unstable and see maybe it will work. Trying to compile xen-unstable
fails with the following error:

gcc -D__KERNEL__ -I/tmp/xen-unstable/linux-2.4.29-xen0/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-nostdinc -iwithprefix include -DKBUILD_BASENAME=pci_pc -c -o pci-pc.o
pci-pc.c
pci-pc.c: In function `pci_confx_read':
pci-pc.c:55: error: `PHYSDEVOP_PCI_CFGREG_READ' undeclared (first use in
this function)
pci-pc.c:55: error: (Each undeclared identifier is reported only once
pci-pc.c:55: error: for each function it appears in.)
pci-pc.c:56: error: union has no member named `pci_cfgreg_read'
pci-pc.c:57: error: union has no member named `pci_cfgreg_read'
pci-pc.c:58: error: union has no member named `pci_cfgreg_read'
pci-pc.c:59: error: union has no member named `pci_cfgreg_read'
pci-pc.c:60: error: union has no member named `pci_cfgreg_read'
pci-pc.c:65: error: union has no member named `pci_cfgreg_read'
pci-pc.c: In function `pci_confx_write':
pci-pc.c:79: error: `PHYSDEVOP_PCI_CFGREG_WRITE' undeclared (first use
in this function)
pci-pc.c:80: error: union has no member named `pci_cfgreg_write'
pci-pc.c:81: error: union has no member named `pci_cfgreg_write'
pci-pc.c:82: error: union has no member named `pci_cfgreg_write'
pci-pc.c:83: error: union has no member named `pci_cfgreg_write'
pci-pc.c:84: error: union has no member named `pci_cfgreg_write'
pci-pc.c:85: error: union has no member named `pci_cfgreg_write'
pci-pc.c: In function `pcibios_init':
pci-pc.c:198: error: `PHYSDEVOP_PCI_PROBE_ROOT_BUSES' undeclared (first
use in this function)
pci-pc.c:207: error: union has no member named `pci_probe_root_buses'
pci-pc.c:207: error: union has no member named `pci_probe_root_buses'
pci-pc.c: In function `pcibios_enable_device':
pci-pc.c:232: error: `PHYSDEVOP_PCI_INITIALISE_DEVICE' undeclared (first
use in this function)
pci-pc.c:233: error: union has no member named `pci_initialise_device'
pci-pc.c:234: error: union has no member named `pci_initialise_device'
pci-pc.c:235: error: union has no member named `pci_initialise_device'
make[4]: *** [pci-pc.o] Error 1
make[4]: Leaving directory
`/tmp/xen-unstable/linux-2.4.29-xen0/arch/xen/kernel'
make[3]: *** [_dir_arch/xen/kernel] Error 2
make[3]: Leaving directory `/tmp/xen-unstable/linux-2.4.29-xen0'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/tmp/xen-unstable'
make[1]: *** [linux-2.4-xen0-build] Error 2
make[1]: Leaving directory `/tmp/xen-unstable'
make: *** [kernels] Error 1
root@wintermute:/tmp/xen-unstable#


Can anyone give me a pointer on why it fails and how I fix it?


TIA
Paolo

PS - a couple of more details: Base system is Slackware 10.1. The only
change from the stock slackware is the use of grub 0.96.


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users