LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   sys/signalfd.h missing on Ubuntu ? (https://www.linuxquestions.org/questions/ubuntu-63/sys-signalfd-h-missing-on-ubuntu-826856/)

hwatari 08-17-2010 04:26 PM

sys/signalfd.h missing on Ubuntu ?
 
Hi,
I'm getting the following error message during make of MySQL server on Ubuntu,

sys/signalfd.h not found

does anybody have any idea ?
Thanks,
Hiromichi

stuart_cherrington 08-18-2010 07:13 AM

Look in /usr/include/linux directory, if it's there, copy to /usr/include/sys, if not there, can you find with locate command? SOme people suggest installing kernel-headers package.

hwatari 08-18-2010 08:58 AM

Quote:

Originally Posted by stuart_cherrington (Post 4070137)
Look in /usr/include/linux directory, if it's there, copy to /usr/include/sys, if not there, can you find with locate command? SOme people suggest installing kernel-headers package.

Thank you Stuart,
I copied it to /usr/include/sys, I had to also include /usr/include/linux/types.h because of some types not being defined. But now I'm getting the following error, do you have any idea ? I believe I have Ubuntu 8.04.
Also how do you install kernel-headers package ?

sql_select.cc:11009: error: ‘signalfd’ was not declared in this scope

Hiromichi

stuart_cherrington 08-18-2010 09:23 AM

Not sure what the kernel-headers package would translate to on Ubuntu, don't have a host to hand to test it either.

hwatari 08-18-2010 11:44 AM

Quote:

Originally Posted by stuart_cherrington (Post 4070270)
Not sure what the kernel-headers package would translate to on Ubuntu, don't have a host to hand to test it either.

Thank you Stuart,
It looks like that signalfd.h does not contain signalfd() function definition, I'll have to keep investigating.
Hiromichi


All times are GMT -5. The time now is 11:02 PM.