Hi, i am building an LFS. while installing coreutils6.12, configure runs fine and while i am doing make i got the following error: plz help me in this issue
This is how i done configure: *./configure --prefix=/tools --enable-install-program=hostname* ** *Make Error:* chcon.o: In function `main': /home/lfs/coreutils-6.10/src/chcon.c:545: undefined reference to `getfilecon' chcon.o: In function `change_file_context': /home/lfs/coreutils-6.10/src/chcon.c:198: undefined reference to `context_new' /home/lfs/coreutils-6.10/src/chcon.c:203: undefined reference to `context_str' /home/lfs/coreutils-6.10/src/chcon.c:219: undefined reference to `context_free' /home/lfs/coreutils-6.10/src/chcon.c:220: undefined reference to `freecon' /home/lfs/coreutils-6.10/src/chcon.c:219: undefined reference to `context_free' /home/lfs/coreutils-6.10/src/chcon.c:220: undefined reference to `freecon' chcon.o: In function `compute_context_from_mask': /home/lfs/coreutils-6.10/src/chcon.c:118: undefined reference to `context_new' /home/lfs/coreutils-6.10/src/chcon.c:140: undefined reference to `context_user_set' /home/lfs/coreutils-6.10/src/chcon.c:141: undefined reference to `context_range_set' /home/lfs/coreutils-6.10/src/chcon.c:142: undefined reference to `context_role_set' /home/lfs/coreutils-6.10/src/chcon.c:143: undefined reference to `context_type_set' /home/lfs/coreutils-6.10/src/chcon.c:148: undefined reference to `context_free' chcon.o: In function `main': /home/lfs/coreutils-6.10/src/chcon.c:560: undefined reference to `context_new' /home/lfs/coreutils-6.10/src/chcon.c:564: undefined reference to `context_free' ../lib/libcoreutils.a(selinux-at.o): In function `lsetfileconat': /home/lfs/coreutils-6.10/lib/at-func.c:45: undefined reference to `lsetfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:38: undefined reference to `lsetfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:73: undefined reference to `lsetfilecon' ../lib/libcoreutils.a(selinux-at.o): In function `setfileconat': /home/lfs/coreutils-6.10/lib/at-func.c:45: undefined reference to `setfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:38: undefined reference to `setfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:73: undefined reference to `setfilecon' ../lib/libcoreutils.a(selinux-at.o): In function `lgetfileconat': /home/lfs/coreutils-6.10/lib/at-func.c:45: undefined reference to `lgetfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:38: undefined reference to `lgetfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:73: undefined reference to `lgetfilecon' ../lib/libcoreutils.a(selinux-at.o): In function `getfileconat': /home/lfs/coreutils-6.10/lib/at-func.c:45: undefined reference to `getfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:38: undefined reference to `getfilecon' /home/lfs/coreutils-6.10/lib/at-func.c:73: undefined reference to `getfilecon' collect2: ld returned 1 exit status make[2]: *** [chcon] Error 1 make[2]: Leaving directory `/home/lfs/coreutils-6.10/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/lfs/coreutils-6.10/src' make: *** [all-recursive] Error 1 --- R B _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
