On Mon, Sep 7, 2009 at 5:44 AM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Thanks for your valuable help.
On Mon, Sep 7, 2009 at 4:21 PM, Shankar Ganesh<shankarganeshk@xxxxxxxxx> wrote:It's been a long time since I build my kernel modules just for
> Hi ,
>
> I am trying to build the driver as module . And my driver file includes a
> header files placed in current working directory.
>
> ----------------------------------
> /* driver.c */
>
> #include "head.h"
>
> .............
>
> ------------------------------------
>
> And there are macros defined under header file.
>
> When i build my driver, i am getting error as the MACROS under header files
> are unresolved.
> Example : /home/bgh11183/driver.c:3851: error: 'LCD_INT' undeclared (first
> use in this function)
learning purposes. Maybe you need to add -L <path to dir which holds
your header> to CFLAGS...
Thanks for your valuable help.
--
regards,
Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com
--
With Regards,
ShankarGanesh K .
"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."