[CentOS] kernel mod compilation frustration
m.roth at 5-cent.us
m.roth at 5-cent.usMon Jul 19 15:29:54 UTC 2010
- Previous message: [CentOS] www.centos.org - SSL Cert Expired - CSS fubar'd
- Next message: [CentOS] kernel mod compilation frustration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to add a sleep() to a module. It tells me it can't find <time.h>; if I tell it "/usr/include/time.h", it gives me a ton of errors (I *have* put the #include just above where I call sleep, not up at the top). Any clues as to what I'm doing wrong? With kernel /vmlinuz-2.6.18-194.3.1.el5, I just added the line extern unsigned int sleep( unsigned int seconds ); and everything was wonderful; with the current kernel, it complains sleep is undefined. ?? mark
- Previous message: [CentOS] www.centos.org - SSL Cert Expired - CSS fubar'd
- Next message: [CentOS] kernel mod compilation frustration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list