Hi Amit, -Wall option is sufficient for warnings. Other options you can use while compiling module can be -O (optimization, for including inline functions), you should avoid using higher level of optimization by -O2,as this might take some function non-inline functions as inline functions, which can create some problems. -D (for defining Macros, like -D__KERNEL__) -I (for giving the path of kernel header files, like -I/usr/src/linux-2.4/include) -c (definitely for compiling) Regards, Gaurav. -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of aksingh@xxxxxxxxxxx Sent: Monday, July 26, 2004 1:47 PM To: kernelnewbies@xxxxxxxxxxxx Subject: compile time options for modules Hi What are the compile time options I should use when compiling a module, is there some well defined set of warning options generally used, currently I just use -Wall while using gcc regards Amit ***************** HSS-Unclassified ************* -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/