The Linux Wacom Project
SourceForge.net Logo

Linux Wacom Project HOWTO

3.3 - Building wacom.c (for kernel 2.4)






To build the wacom.o kernel module, you need configure the package with --enable-wacom option. The kernel sources are required as described on the configuration page. Here's how the configuration should generally look:
[jej@ayukawa linuxwacom]$ ./configure --enable-wacom
...
checking for valid kernel source tree... ok
...
----------------------------------------
  BUILD ENVIRONMENT:
       architecture - i686
       linux kernel - yes 2.4
  module versioning - yes
             kernel - yes /usr/src/linux
            XFree86 - no
               XLib - yes /usr/X11R6
                TCL - yes /usr
                 TK - yes /usr
            ncurses - yes
                GTK - 2.0.6

  BUILD OPTIONS:
            wacom.o - yes
            wacdump - yes
             xidump - yes
        libwacomcfg - yes
         libwacomxi - yes
          xsetwacom - yes
              hid.o - no
         usbmouse.o - no
            evdev.o - no
         mousedev.o - no
            input.o - no
        tabletdev.o - no
        wacom_drv.o - no
----------------------------------------

As shown above, the kernel directory was detected and the wacom.o module will be built. If the kernel option shows "no", you will need to specify the --with-kernel option and the correct directory.

To build the driver, just run make.

The output will be a file called wacom.o. It is located in the linuxwacom package's src/2.4 directory for versions older than 2.4.22. For versions 2.4.22 or newer, it is in src/2.4.22 directory. This is your replacement driver.






Copyright (C) 2002-2008 - LinuxWacom -Last updated September 1, 2008
This website and its contents are licensed under the GNU FDL.