omar
Зарегистрирован: 22.01.2004 Сообщения: 99 Откуда: г.К-Чепецк
|
Добавлено: Ср Ноя 24 2004 17:00 Заголовок сообщения: help DGE530T |
|
|
Помогите плиз не собирется модуль гигабитной карты на DGE530T на Suse9.1 ядро 2.6.4
сообщения типа:
router-gdc:/home/omar/dlink/sk98lin # make
gcc -D__KERNEL__ -DMODULE -D__SMP__ -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include -I. -DSK_USE_CSUM -c -o skge.o skge.c
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:13,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from skge.c:366:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from h/skdrv1st.h:129,
from skge.c:369:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from h/skdrv1st.h:129,
from skge.c:369:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from h/skdrv1st.h:129,
from skge.c:369:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
skge.c: In function `skge_probe':
skge.c:535: warning: implicit declaration of function `pci_present'
skge.c:556: warning: integer constant is too large for "long" type
skge.c:561: warning: implicit declaration of function `init_etherdev'
skge.c:561: warning: assignment makes pointer from integer without a cast
skge.c:710: warning: assignment makes pointer from integer without a cast
skge.c: In function `SkGeBoardInit':
skge.c:1116: warning: passing arg 2 of `request_irq' from incompatible pointer type
skge.c:1119: warning: passing arg 2 of `request_irq' from incompatible pointer type
skge.c: In function `SkGeOpen':
skge.c:1812: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:515)
skge.c: In function `SkGeClose':
skge.c:1914: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
skge.c: At top level:
skge.c:2978: warning: `SetQueueSizes' defined but not used
make: *** [skge.o] Ошибка 1
что не нравится ?
исходники ядра лежат! что исчо нужно? |
|