[sisyphus] Компиляция 3c59x.c - что делаю неправильно?
Stanislav Ievlev
=?iso-8859-1?q?inger_=CE=C1_altlinux=2Eru?=
Вт Дек 18 14:53:24 MSK 2001
Alexander Vasiliev wrote:
>При попытке скомпилировать 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
>
>Что я делаю неправильно?
>
Все что можно сделать неправильно Вы сделали неправильно.
Никто так не собирирает модули. Этот вопрос для
mandrake-russian на altlinux.ru.
>
>Александр Васильев
>
>
>_______________________________________________
>Sisyphus mailing list
>Sisyphus на altlinux.ru
>http://altlinux.ru/mailman/listinfo/sisyphus
>
Подробная информация о списке рассылки Sisyphus