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?
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
