View Single Post
Old 04-28-04, 11:59 PM   #2
mygod100
Registered User
 
Join Date: Apr 2004
Posts: 6
Default Re: How to correct my installation nvnet after recompile core?

[root@Michael nforce]# make
make -C nvnet
make[1]: Entering directory `/space/software/drivers/MainBoard/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.6.4/build/include nvnet.c
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:18,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/mpspec.h:6:25: mach_mpspec.h: 没有那个文件或目录
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:18,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/mpspec.h:8: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:9: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:10: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:12: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:19: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:20: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:20: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.4/build/include/asm/mpspec.h:8: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.4/build/include/asm/mpspec.h:22: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:24: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/mpspec.h:24: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.4/build/include/asm/mpspec.h:12: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.4/build/include/asm/mpspec.h:50: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4/build/include/asm/smp.h:20,
from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/io_apic.h:160: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/io_apic.h:160: conflicting types for `mp_irqs'
/lib/modules/2.6.4/build/include/asm/mpspec.h:22: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/smp.h:71:26: mach_apicdef.h: 没有那个文件或目录
In file included from /lib/modules/2.6.4/build/include/linux/smp.h:17,
from /lib/modules/2.6.4/build/include/linux/sched.h:23,
from /lib/modules/2.6.4/build/include/linux/module.h:10,
from nvnet.h:20,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.4/build/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
In file included from /lib/modules/2.6.4/build/include/linux/irq.h:20,
from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/irq.h:16:25: irq_vectors.h: 没有那个文件或目录
In file included from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/linux/irq.h: At top level:
/lib/modules/2.6.4/build/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4/build/include/linux/irq.h:72,
from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.4/build/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.4/build/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)nvnet.c: In function `nvnet_open':
nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: structure has no member named `driver_data'
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/space/software/drivers/MainBoard/nforce/nvnet'
make: *** [nvnet_make] Error 2
[root@Michael nforce]#
mygod100 is offline   Reply With Quote