LINUX.ORG.RU
ФорумAdmin

2.6.15 + cloop


0

0

Пытаюсь собрать. Версия 2.02. Не смотря на сообщение об ошибке хоть убей не вижу в semaphore.h и rwsem.h ничего подозрительного. Может кто сталкивался?

cc -I/lib/modules/2.6.15-mm4/build/include -I/lib/modules/2.6.15-mm4/build/include/asm/mach-default  -D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" -D__OPTIMIZE__ compressed_loop.c -c -o compressed_loop.o
In file included from /lib/modules/2.6.15-mm4/build/include/linux/rwsem.h:27,
                 from /lib/modules/2.6.15-mm4/build/include/asm/semaphore.h:42,
                 from /lib/modules/2.6.15-mm4/build/include/linux/sched.h:20,
                 from /lib/modules/2.6.15-mm4/build/include/linux/module.h:10,
                 from compressed_loop.c:29:
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h: In function `__down_read':
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h:105: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h: In function `__down_write':
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h:157: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h: In function `__up_read':
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h:194: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h: In function `__up_write':
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h:220: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h: In function `__downgrade_write':
/lib/modules/2.6.15-mm4/build/include/asm/rwsem.h:245: error: syntax error before "cloop"
In file included from /lib/modules/2.6.15-mm4/build/include/linux/sched.h:20,
                 from /lib/modules/2.6.15-mm4/build/include/linux/module.h:10,
                 from compressed_loop.c:29:
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h: In function `down':
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h:105: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h: In function `down_interruptible':
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h:130: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h: In function `down_trylock':
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h:155: error: syntax error before "cloop"
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h: In function `up':
/lib/modules/2.6.15-mm4/build/include/asm/semaphore.h:179: error: syntax error before "cloop"
gmake: *** [compressed_loop.o] Error 1
★★★★★

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.