Compilation module noyau

トップ ページ

このメッセージに返信
著者: Frédéric
日付:  
To: ML Guilde
題目: Compilation module noyau
Bonjour,

Je tente de compiler un module, mais la compilation plante sur le header du
kernel :

cc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
 -fno-strength-reduce -march=i486 -falign-loops=2 -falign-jumps=2
 -falign-functions=2 -DCPU=586 -DMODULE  -DEXPORT_SYMTAB -c -o vmehb_core.o
 vmehb_core.c
In file included from /usr/include/asm-i486/system.h:5,
                 from /usr/include/asm/system.h:8,
                 from /usr/include/asm-i486/processor.h:18,
                 from /usr/include/asm/processor.h:8,
                 from /usr/include/asm-i486/thread_info.h:17,
                 from /usr/include/asm/thread_info.h:8,
                 from /usr/include/linux/thread_info.h:21,
                 from /usr/include/linux/spinlock.h:19,
                 from /usr/include/linux/capability.h:45,
                 from /usr/include/linux/sched.h:7,
                 from /usr/include/linux/module.h:10,
                 from vmehb_core.c:63:
/usr/include/linux/kernel.h:104: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:106: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:108: error: syntax error before 'size_t'
/usr/include/linux/kernel.h:110: error: syntax error before 'size_t'


Kesako ? Est-ce une des options de compilation qui fout la merde ?

--
Frédéric

http://www.gbiloba.org