Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-29 Thread Bruce Dubbs
haiye1018 wrote: > Thank everyone!!! > I have fixed it. > Coreutils whose version is greater than 6.0 needs selinux, which can be see > from source file: > #include or / and > #include Don't top post. Trim what isn't needed. You are talking to several hundred people. You are wrong. Coreu

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-29 Thread Justin P. Mattock
On 01/29/10 05:13, haiye1018 wrote: > Thank everyone!!! > I have fixed it. > Coreutils whose version is greater than 6.0 needs selinux, which can be > see from source file: > #include or / and > #include > > These are host system's header files,so we must replace these file with > se-selinux.in.h

Re:Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-29 Thread haiye1018
Thank everyone!!! I have fixed it. Coreutils whose version is greater than 6.0 needs selinux, which can be see from source file: #include or / and #include These are host system's header files,so we must replace these file with se-selinux.in.h se-context.in.h They are coreutils's built-in h

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-26 Thread Trent Shea
Ack, I keep hitting reply and pulling stuff off the list. Anyhow, thanks for poking me in the right direction. On Tuesday 26 January 2010 19:20:48 you wrote: > No, you aren't isolated from the host until you enter chroot in Chapter Fair enough, I should have said fairly isolated at this point.

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-26 Thread Bruce Dubbs
Trent Shea wrote: > Just for kicks I just built up to gcc pass 2 in chapter 5 and issued the > commands above and this is my output: > > > #include "..." search starts here: > #include <...> search starts here: > /mnt/data/data/build/lfs-main/lfs/lfs-testing/tools/bin/../lib/gcc/i686-pc- > li

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-26 Thread Trent Shea
On Saturday 23 January 2010 09:32:12 you wrote: > On Saturday 23 January 2010 08:26:53 haiye1018 wrote: > > hello > > > > In LFS6.4 step 5.17 compile coreutils-6.12 error: > > > > > > How to edit coreutils'configure scriptsss to get rid of selinux support? > > > > Can anyone help me to fix it? > >

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-24 Thread Mike McCarty
Justin P. Mattock wrote: > On 01/23/10 09:21, Trent Shea wrote: >> On Saturday 23 January 2010 10:17:21 you wrote: >>> I don't see any flags to disable the search for SELinux. >>> >> I should mention it's my understanding that gcc shouldn't be searching for >> host include files at this point, mayb

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Justin P. Mattock
On 01/23/10 09:21, Trent Shea wrote: > On Saturday 23 January 2010 10:17:21 you wrote: >> I don't see any flags to disable the search for SELinux. >> > I should mention it's my understanding that gcc shouldn't be searching for > host include files at this point, maybe someone can clarify for me tho

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Trent Shea
On Saturday 23 January 2010 10:17:21 you wrote: > I don't see any flags to disable the search for SELinux. > I should mention it's my understanding that gcc shouldn't be searching for host include files at this point, maybe someone can clarify for me though. -- http://linuxfromscratch.org/mailma

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Trent Shea
On Saturday 23 January 2010 10:01:22 Justin P. Mattock wrote: > getfilecon sounds something from an SELinux > header file. do you have an updated > libselinux?(or maybe build disabling audit/SELinux) > I don't see any flags to disable the search for SELinux. -- http://linuxfromscratch.org/mailma

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Justin P. Mattock
On 01/23/10 08:38, Trent Shea wrote: > On Saturday 23 January 2010 09:32:12 Trent Shea wrote: > >> echo 'main(){}'> dummy.c >> cc -v dummy.c 2>&1 |grep include >> rm dummy.c > > or don't forget: > rm a.out getfilecon sounds something from an SELinux header file. do you have an updated libselinux?

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Trent Shea
On Saturday 23 January 2010 08:26:53 haiye1018 wrote: > hello > > In LFS6.4 step 5.17 compile coreutils-6.12 error: > > How to edit coreutils'configure scriptsss to get rid of selinux support? > > Can anyone help me to fix it? > I'm not sure the configure file is the problem. Can you try to

Re: LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread Trent Shea
On Saturday 23 January 2010 09:32:12 Trent Shea wrote: > echo 'main(){}' > dummy.c > cc -v dummy.c 2>&1 |grep include > rm dummy.c or don't forget: rm a.out -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above in

LFS6.4 step 5.17 compiling coreutils-6.12 error

2010-01-23 Thread haiye1018
hello In LFS6.4 step 5.17 compile coreutils-6.12 error: /mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:546: undefined reference to `getfilecon' chcon.o: In function `change_file_context': /mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:199: undefined reference to `context_new' /mnt/lfs/sources