Trouble building module with adjtimex(...)

jchludzinski_at_gmail.com
Date: 09/19/05

  • Next message: John Fusco: "Re: 64bits/66MHz PCI driver question"
    Date: 19 Sep 2005 13:05:39 -0700
    
    

    I'm having trouble building a module (driver) that references
    adjtimex(...). The canonical procedure for building modules seems (I'm
    a newbie) to be to create a Makefile with something like:

    obj-m += module-name.o
    all:
            $(MAKE) -C/lib/modules/$(shell uname -r)/build M=$(PWD) modules

    This (of course) calls the Makefile in: /lib/modules/$(shell uname
    -r)/build, which is autogenerated - no editing. The result:

    /home/jski/handler/gpsdevdrvr.c:5:23: sys/timex.h: No such file or
    directory

    Any ideas?

    ---John


  • Next message: John Fusco: "Re: 64bits/66MHz PCI driver question"

    Relevant Pages

    • Trouble building module with adjtimex(...)
      ... I'm having trouble building a module that references ... The canonical procedure for building modules seems (I'm ... a newbie) to be to create a Makefile with something like: ...
      (comp.os.linux.hardware)
    • Trouble building module with adjtimex(...)
      ... I'm having trouble building a module that references ... The canonical procedure for building modules seems (I'm ... a newbie) to be to create a Makefile with something like: ...
      (comp.os.linux.hardware)
    • Trouble building module with adjtimex(...)
      ... I'm having trouble building a module that references ... The canonical procedure for building modules seems (I'm ... a newbie) to be to create a Makefile with something like: ...
      (comp.os.linux.development.system)
    • Re: unknown compilation output-plz help
      ... I compiled a device driver programusing makefile. ... Building modules, stage 2. ... Plz help.... ...
      (comp.os.linux.hardware)
    • Re: Is anyone able to compile this code
      ... I tried your Makefile and changed the file name accordingly to m.c ... Building modules, stage 2. ... MODPOST ... This is so fustrating. ...
      (comp.os.linux.development.system)