[sisyphus] Компиляция 3c59x.c - что делаю неправильно?

Alexander Vasiliev =?iso-8859-1?q?vav_=CE=C1_tascom=2Eru?=
Вт Дек 18 13:52:43 MSK 2001


При попытке скомпилировать 3c59x.c в 3c59x.o командой
gcc -c -O -o 3c59x.o 3c59x.c
имею на выходе:
In file included from /usr/include/linux/sched.h:14,
                 from 3c59x.c:243:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/sched.h:30,
		 from 3c59x.c:243:
/usr/include/linux/numa_sched.h:56: parse error before `____cacheline_aligned'
/usr/include/linux/numa_sched.h:56: warning: data definition has no type or storage class
/usr/include/linux/numa_sched.h:58: parse error before `schedule_data'
/usr/include/linux/numa_sched.h:58: warning: data definition has no type or storage class
In file included from /usr/include/linux/sched.h:84,
		 from 3c59x.c:243:
/usr/include/linux/timer.h:17: field `list' has incomplete type
In file included from /usr/include/linux/irq.h:69,
		 from /usr/include/asm/hardirq.h:6,
		 from /usr/include/linux/interrupt.h:45,
		 from 3c59x.c:250:
/usr/include/asm/hw_irq.h:78: parse error before `('
In file included from 3c59x.c:250:
/usr/include/linux/interrupt.h:78: parse error before `('
/usr/include/linux/interrupt.h:79: parse error befor `('
/usr/include/linux/interrupt.h:155: parse error before `('
/usr/include/linux/interrupt.h:163: parse error before `('
In file included from 3c59x.c:252:
/usr/include/linux/mii.h:106: parse error before `u16'
/usr/include/linux/mii.h:106: warning: no semicolon at end of struct or union
/usr/include/linux/mii.h:107: warning: data definition has no type or storage class
/usr/include/linux/mii.h:108: parse error before `val_in'
/usr/include/linux/mii.h:108: warning: data definition has no type or storage class
/usr/include/linux/mii.h:109: parse error before `val_out'
/usr/include/linux/mii.h:109: warning: data definition has no type or storage class
In file included from /usr/include/asm/pgalloc.h:6,
		 from /usr/include/linux/highmem.h:5,
		 from /usr/include/linux/skbuff.h:27,											                 from 3c59x.c:256:
/usr/include/asm/fixmap.h:72: parse error before `pgprot_t'
In file included from /usr/include/linux/highmem.h:5,
	         from /usr/include/linux/skbuff.h:27,
		 from 3c59x.c:256:
/usr/include/asm/pgalloc.h:51: parse error before `*'
.....


Версии используемых пакетов:  
gcc-2.96-ipl14mdk
kernel24-source-2.4.15-alt0.61
kernel24-headers-2.4.15-alt0.61

Что я делаю неправильно?

Александр Васильев





Подробная информация о списке рассылки Sisyphus