Glibc make error
Having trouble making glibc :( , try to find a solution but can't find one. can anyone help please. Here is the error I get.
Code:
nscd_stat.c:34:30: selinux/selinux.h: No such file or directory |
Which version of LFS are you building? And what Chapter are you in? 5 or 6?
|
I'm in chapter 5 of version 6.0. The first make command gives this error.
Edit: Oh and i'm using fedora core 3 |
When you build gcc for the first time in chapter 5 you need to pass gcc the switch CC="gcc -B/usr/bin" like this
Code:
CC="gcc -B/usr/bin" ../gcc-3.4.1/configure \ Quote:
|
Just tried it but I still get the same errors
|
There is a selinux.h in the nscd directory in the source dir of glibc, but not in a selinux dir. I can't find a avc.h file.
|
Sorry, my mistake, that was a different bug. It's actually a lot more simple. Just add --without-selinux to the configure options of glibc . Hope that helps. Sorry for being a balloon.
|
I thought it would be something like that. Thak you it compiled fine this time.
|
All times are GMT -5. The time now is 12:37 PM. |