Kompilacia driveru

Sekcia: Aplikácie & Desktop 23.06.2009 | 18:47
Avatar Dare_devil Debian, OpenSuse  Používateľ
Dobry den. Postupoval som podla https://help.ubuntu.com/community/TabletSetupWizardpen aby som si rozbehal moj novo-kupeny tablet trust TB 6300. Dosiel som az po
sudo ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
&& make install

Kde som sa sekol.. configure prebehlo v poriadku, ale make konci hlaskou
make all-recursive
make[1]: Entering directory `/home/viktor/wizardpen-0.6.0.2'
Making all in src
make[2]: Entering directory `/home/viktor/wizardpen-0.6.0.2/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
wizardpen.c: In function 'DeviceInit':
wizardpen.c:648: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes integer from pointer without a cast
wizardpen.c:648: error: too many arguments to function 'InitValuatorClassDeviceStruct'
make[2]: *** [wizardpen.lo] Error 1
make[2]: Leaving directory `/home/viktor/wizardpen-0.6.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/viktor/wizardpen-0.6.0.2'
make: *** [all] Error 2

Co s tym moze byt? Dakujem
There is no flag large enough to cover the shame of killing innocent people
    • Re: Kompilacia driveru 23.06.2009 | 20:34
      to   Návštevník
      Aku verziu X-servera mas(aspon ake Ubuntu)?

      tvar funkcie sa menil
      InitValuatorClassDeviceStruct

      extern Bool InitValuatorClassDeviceStruct(
      DeviceIntPtr /*device*/,
      int /*numAxes*/,
      - ValuatorMotionProcPtr /* motionProc */,
      int /*numMotionEvents*/,
      int /*mode*/);
      http://cgit.freedesktop.org/xorg/xserver/diff/?id=0877de13ac6ddfb55108aa3456d47f970c6c442c

      Mozno pomzoe nevsia, alebo starsia verzia ovladaca

      treba vidiet ako vyzera riadok c. 648 v subore
      /home/viktor/wizardpen-0.6.0.2/src/wizardpen.c
      • Re: Kompilacia driveru 23.06.2009 | 21:41
        Avatar Dare_devil Debian, OpenSuse  Používateľ
        Jo uz som to opravil. Teraz mam ale problem rozbehat cely ten tablet :( aach jaj..
        There is no flag large enough to cover the shame of killing innocent people