LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-17-2010, 05:26 PM   #1
hwatari
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
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
 
Old 08-18-2010, 08:13 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
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.
 
Old 08-18-2010, 09:58 AM   #3
hwatari
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stuart_cherrington View Post
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
 
Old 08-18-2010, 10:23 AM   #4
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Not sure what the kernel-headers package would translate to on Ubuntu, don't have a host to hand to test it either.
 
Old 08-18-2010, 12:44 PM   #5
hwatari
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stuart_cherrington View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Partitions in /sys/block and /dev ThatGuyTim Linux - Newbie 6 01-30-2009 04:05 PM
missing file??? /proc/sys/kernel/sysrq bad_gui Linux - General 4 08-18-2006 11:37 PM
Sys V, old computer and missing root password nutz Other *NIX 3 03-14-2006 03:21 AM
fail instaill eiciel... missing sys/acl.h YourPadre Slackware 2 10-14-2005 04:22 PM
apcupsd /sys/bus/usb/drivers/hiddev missing Toscana Linux - Hardware 3 07-16-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration