Comment 38 for bug 1424293

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Raedwulf, I have a laptop with the BYD Trackpad and wanted to test your patch. I applied your changes to the ubuntu-wily kernel source but encountered the following error while rebuilding:

  CC [M] drivers/input/mouse/byd.o
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:159:5: error: redefinition of ‘byd_init’
 int byd_init(struct psmouse *psmouse)
     ^
In file included from /home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:33:0:
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.h:23:19: note: previous definition of ‘byd_init’ was here
 static inline int byd_init(struct psmouse *psmouse)
                   ^
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:284:5: error: redefinition of ‘byd_detect’
 int byd_detect(struct psmouse *psmouse, bool set_properties)
     ^
In file included from /home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:33:0:
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.h:18:19: note: previous definition of ‘byd_detect’ was here
 static inline int byd_detect(struct psmouse *psmouse,
                   ^
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:258: recipe for target 'drivers/input/mouse/byd.o' failed
make[5]: *** [drivers/input/mouse/byd.o] Error 1
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:403: recipe for target 'drivers/input/mouse' failed
make[4]: *** [drivers/input/mouse] Error 2
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:403: recipe for target 'drivers/input' failed
make[3]: *** [drivers/input] Error 2

I'm building the kernel as per these instructions.

  * https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

Any chance you can shed some light on this please?