This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems with compilation of modules
- To: help-gcc at gnu dot org
- Subject: Problems with compilation of modules
- From: "Pradeep" <psrinivasa at netkracker dot com>
- Date: Fri, 14 Sep 2001 13:04:46 GMT
Hello,
I have installed Linux (RH 7.1) Kernel 2.4.2.2 on
an Pentium III m/c.
I wnated to make modules after building the kernel.
But I am facing problems during compilation, esp
for the files asm/include/spinlock.h
extern int printk(char * fmt,...)
__attribute__((format(printf,1,2));
It says Nondecimal and not a hexadecimal. Also
it says printk declared as function returning a function
ptr.
The same thing happens for linux/include/module.h for
inter_module_register and other functions.
What is the problem.
The version of gcc is 2.96.
What are the other info I should gather?
Thanks in the meantime,
Regards,
Pradeep
Get fast and easy Internet access through
http://www.netkracker.com