#15 does not compile with 2.6.20

closed-fixed
Math_B
None
5
2007-04-08
2007-02-23
gfdsa
No

hi

#include <linux/jiffies.h>

should be added to polling.c

Discussion

  • Math_B

    Math_B - 2007-03-24
    • assigned_to: nobody --> math_b
     
  • Math_B

    Math_B - 2007-03-24

    Logged In: YES
    user_id=1435472
    Originator: NO

    Hi,
    strange it compile well here.
    Do you use a vanilla 2.6.20 or does it come from your distro ?

     
  • Julian Sikorski

    Julian Sikorski - 2007-04-03

    Logged In: YES
    user_id=1359362
    Originator: NO

    I have hit a similar problem with Fedora Core 6 kernel, 2.6.20-1.2933.fc6

     
  • Nobody/Anonymous

    Logged In: NO

    vanilla kernel
    just updated the svn and got the same results:
    /home/gfdsa/omnibook/trunk/polling.c: In function ‘omnibook_key_poller’:
    /home/gfdsa/omnibook/trunk/polling.c:91: warning: implicit declaration of function ‘msecs_to_jiffies’
    WARNING: "msecs_to_jiffies" [/home/gfdsa/omnibook/trunk/omnibook.ko] undefined!

    after adding
    #include <linux/jiffies.h>
    compiles, links and works

    regards

     
  • Math_B

    Math_B - 2007-04-08
    • status: open --> closed-fixed
     
  • Math_B

    Math_B - 2007-04-08

    Logged In: YES
    user_id=1435472
    Originator: NO

    Ok, my 2.6.20 has indeed -rt patch applied,
    I think that somehow prevented me to see that error.
    The suggested fix is applied.
    Thanks.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks