bugSwinput - Bugs: bug #27512, swinput compile fails - implicit...

 
 

bug #27512: swinput compile fails - implicit declaration of function 'LONG'

Submitter:  None
Submitted:  Thu 24 Sep 2009 03:10:06 AM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  hesa
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Sep 2009 03:10:06 AM UTC, original submission:  

Swinput failed to compile on a different gentoo system with a
different error(I wrote the other compile failure bug too).

cd src && make -C /lib/modules/2.6.31/build SUBDIRS=/root/swinput-0.7.1/src modules
make[1]: Entering directory `/usr/src/linux-2.6.31'
  CC [M]  /root/swinput-0.7.1/src/swmouse.o
/root/swinput-0.7.1/src/swmouse.c: In function 'init_module':
/root/swinput-0.7.1/src/swmouse.c:172: error: implicit declaration of function 'LONG'
/root/swinput-0.7.1/src/swmouse.c:172: warning: left shift count >= width of type
/root/swinput-0.7.1/src/swmouse.c:172: warning: left shift count >= width of type
/root/swinput-0.7.1/src/swmouse.c:172: warning: left shift count >= width of type
/root/swinput-0.7.1/src/swmouse.c:173: warning: left shift count >= width of type
/root/swinput-0.7.1/src/swmouse.c:179: warning: ignoring return lvalue of 'input_register_device', declared with attribute warn_unused_result
/root/swinput-0.7.1/src/swmouse.c: In function 'swmouse_write':
/root/swinput-0.7.1/src/swmouse.c:365: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct input_dev *'
/root/swinput-0.7.1/src/swmouse.c:374: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct input_dev *'
/root/swinput-0.7.1/src/swmouse.c:253: warning: unused variable 'i'
/root/swinput-0.7.1/src/swmouse.c:268: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result
make[2]: * [/root/swinput-0.7.1/src/swmouse.o] Error 1
make[1]: * [_module_/root/swinput-0.7.1/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31'
make: * [default] Error 2

Please fix this, this module looks to be extremely useful if it
can compile!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hesa (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-01 hesa StatusIn Progress Fixed
        Severity3 - Normal 4 - Important
    2009-10-01 hesa StatusNone In Progress
        Assigned toNone hesa

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code