LFS6.4 step 5.17 compiling coreutils-6.12 error

haiye1018 haiye1018 at 163.com
Sat Jan 23 07:26:53 PST 2010


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/6.4/coreutils-6.12/src/chcon.c:204: undefined reference to `context_str'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:220: undefined reference to `context_free'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:221: undefined reference to `freecon'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:220: undefined reference to `context_free'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:221: undefined reference to `freecon'
chcon.o: In function `compute_context_from_mask':
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:119: undefined reference to `context_new'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:141: undefined reference to `context_user_set'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:142: undefined reference to `context_range_set'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:143: undefined reference to `context_role_set'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:144: undefined reference to `context_type_set'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:149: undefined reference to `context_free'
chcon.o: In function `main':
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:561: undefined reference to `context_new'
/mnt/lfs/sources/6.4/coreutils-6.12/src/chcon.c:565: undefined reference to `context_free'
../lib/libcoreutils.a(selinux-at.o): In function `lsetfileconat':
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:45: undefined reference to `lsetfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:38: undefined reference to `lsetfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:73: undefined reference to `lsetfilecon'
../lib/libcoreutils.a(selinux-at.o): In function `setfileconat':
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:45: undefined reference to `setfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:38: undefined reference to `setfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:73: undefined reference to `setfilecon'
../lib/libcoreutils.a(selinux-at.o): In function `lgetfileconat':
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:45: undefined reference to `lgetfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:38: undefined reference to `lgetfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:73: undefined reference to `lgetfilecon'
../lib/libcoreutils.a(selinux-at.o): In function `getfileconat':
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:45: undefined reference to `getfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:38: undefined reference to `getfilecon'
/mnt/lfs/sources/6.4/coreutils-6.12/lib/at-func.c:73: undefined reference to `getfilecon'
collect2: ld returned 1 exit status

How to edit coreutils'configure scriptsss to get rid of selinux support?

Can anyone help me to fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100123/c548cbfc/attachment.html>


More information about the lfs-support mailing list