Hi,
The build process fails miserably!
<OUTPUT>
/bin/sh ../libtool --mode=link gcc -Wall -pedantic -g -O2 -I/usr/include/
gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/
pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/
glib-2.0 -I/usr/lib/glib-2.0/include -o xsetwacom xsetwacom.o
libwacomcfg.la -ltk -ltcl -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -Wall -pedantic -g -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/
include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-o .libs/xsetwacom xsetwacom.o -Wl,--export-dynamic ./.libs/libwacomcfg.so
-L/usr/X11R6/lib -lX11 -lXi -ltk -ltcl /usr/lib/libgtk-x11-2.0.so /usr/lib/
libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /
usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/
libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /
usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib
creating xsetwacom
gcc -I/usr/src/linux/include -Wall -D__JEJ_DEBUG -D__KERNEL__ -DMODULE
-DEXPORT_SYMTAB -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 \
-DKBUILD_BASENAME=wacom -c -o wacom.o wacom.c
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/usb.h:15,
from wacom.c:101:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or
directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/usb.h:15,
from wacom.c:101:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not
in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/usb.h:15,
from wacom.c:101:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not
in a function)
/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not
in a function)
wacom.c: In function `wacom_open':
wacom.c:656: error: too few arguments to function `usb_submit_urb'
wacom.c: In function `wacom_reset':
wacom.c:679: warning: implicit declaration of function `usb_set_report'
wacom.c: In function `wacom_probe':
wacom.c:733: error: structure has no member named `idbus'
wacom.c:734: error: structure has no member named `idvendor'
wacom.c:735: error: structure has no member named `idproduct'
wacom.c:736: error: structure has no member named `idversion'
wacom.c:743: error: request for member `altsetting' in something not a
structure or union
wacom.c:745: warning: implicit declaration of function `usb_set_idle'
wacom.c:745: error: request for member `altsetting' in something not a
structure or union
wacom.c:747: warning: implicit declaration of function `FILL_INT_URB'
wacom.c:756: error: structure has no member named `number'
wacom.c: In function `wacom_disconnect':
wacom.c:771: warning: comparison of distinct pointer types lacks a cast
wacom.c: In function `wacom_events':
wacom.c:806: warning: comparison of distinct pointer types lacks a cast
wacom.c:812: warning: comparison of distinct pointer types lacks a cast
wacom.c: In function `wacom_thread':
wacom.c:818: error: too few arguments to function `daemonize'
wacom.c: At top level:
wacom.c:840: warning: initialization from incompatible pointer type
wacom.c:841: warning: initialization from incompatible pointer type
make[3]: *** [wacom.o] Error 1
make[3]: Leaving directory `/home/simon/Kildekode/linuxwacom-dev/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/Kildekode/linuxwacom-dev/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/Kildekode/linuxwacom-dev'
make: *** [all] Error 2
</OUTPUT>
This is the same that happened with the dev-version off
linuxwacom.sourceforge.net.
- Simon
On Wednesday 01 October 2003 23:44, you wrote:
> <<linuxwacom-dev.tar.gz>>
> Hi Simon,
>
> Can you please build wacom_drv.o from the attached package and try it out:
>
> unzip and untar linuxwacom-dev.tar.gz
> cd linuxwacom-dev
> ./bootstrap
> aclocal
> ./configure --enable-wacomdrv --with-xf86=your_XFree86_source_path
> make
> su
> make install
> cp src/wacom_drv.o /usr/X11R6/lib/modules/input
>
> restart Xserver and login as yourself to if the new driver works or not.
>
> I have new kernel changes. I'll email the files to you if you make this one
> work.
>
> Thanks,
>
> Ping
>
> -----Original Message-----
> From: Simon Ask Ulsnes
> To: [EMAIL PROTECTED]
> Sent: 10/1/03 1:43 PM
> Subject: Wacom driver and Linux kernel 2.6.0
>
> Hello there!
> I have noticed that the wacom driver in XFree86 doesn't work on Linux
> kernel
> 2.6.0.
> I am running the latest development version of both XFree86 and the
> Linux
> kernel (4.3.99.13 and 2.6.0-test6 respectively). Everything was fine
> with
> Linux kernel 2.4.21.
>
> Discussing this on the Linux Kernel Mailing List, I reached the
> conclusion
> that the "error" was not in the kernel module but in the XFree86 driver.
>
> Can anyone inform me on progress with the wacom driver, as it is the
> last
> remaining issue before I'll move completely to LInux 2.6?
>
> Thanks,
> Sincerely yours,
> Simon Ask Ulsnes
>
>
> _______________________________________________
> Devel mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel