Trouble building module with adjtimex(...)

jchludzinski_at_gmail.com
Date: 09/19/05


Date: 19 Sep 2005 11:44:32 -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



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.development.system)
  • 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)
  • Re: unknown compilation output-plz help
    ... I compiled a device driver programusing makefile. ... Building modules, stage 2. ... Plz help.... ...
    (comp.os.linux.hardware)
  • Re: hello world module
    ... > Building modules, stage 2. ... > MODPOST ... Can you please post your Makefile - seems something is wrong here. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)