LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   File "sys_errlist.h" non-existent in FC4 (https://www.linuxquestions.org/questions/linux-software-2/file-sys_errlist-h-non-existent-in-fc4-389600/)

JRR883 12-05-2005 07:06 PM

File "sys_errlist.h" non-existent in FC4
 
I've had this error before, and I have no idea what it is. I'm trying to build Gnome 2.12 using jhbuild, and when I run "make install" it gives me this error:
Code:

[me@localhost jhbuild]$ make install
gcc -Wall -O2 -o install-check install-check.c
In file included from install-check.c:19:
/usr/include/stdio.h:750:30: error: bits/sys_errlist.h: No such file or directory
make: *** [install-check] Error 1

I googled the error message, couldn't find anything. Does anyone have any idea what the problem is? What exactly is "sys_errlist.h"? How can I fix this?

JRR883 12-05-2005 07:22 PM

I just tried compiling a simple "hello world" script in C, and I got the same error.
Code:

[me@localhost Desktop]$ gcc hello.c
In file included from hello.c:1:
/usr/include/stdio.h:750:30: error: bits/sys_errlist.h: No such file or directory

So now I'm thinking something is wrong with my GCC installation and/or configuration. Any ideas?

JRR883 12-06-2005 04:11 PM

Bump, this is bugging the hell out of me.

Ynot Irucrem 12-06-2005 07:26 PM

Quote:

Originally Posted by JRR883
So now I'm thinking something is wrong with my GCC installation and/or configuration.

Yes, that's what it looks like. Did you install it with yum, download all the rpms from a site like freshrpms.net, compile it yourself, or is this the version of gcc that came on disc with FC4? what packages and versions did you install? does /usr/include/bits/sys_errlist.h exist? does it exist in another location?

JRR883 12-06-2005 08:58 PM

I didn't install gcc manually, I have been using the one packaged with the FC4 disc (but I probably updated it during a "yum update"). I just did a "yum -y remove gcc && yum -y install gcc" and I still got the same error.

spooon 12-06-2005 10:44 PM

try reinstalling the "glibc-headers" package

JRR883 12-20-2005 08:11 PM

I fixed it. You'll never believe what worked: I created an empty file named "sys_errlist.h" in /usr/include/bits/. Worked like a charm.


All times are GMT -5. The time now is 01:57 PM.