Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There's not enough info to give you a specific solution.
- Have you checked and re-checked the previous 2 steps?
- Did you start with a clean source directory?
- Are there any more lines present then the ones shown above?
In general: Please be more generous with your information. Just dumping a handful of lines won't tell us anything.
could you help, to recheck previous steps, i mean how you mean to recheck them?
root:/sources/coreutils-8.21# make -j1
GEN lib/alloca.h
GEN lib/arpa/inet.h
GEN lib/configmake.h
GEN lib/ctype.h
GEN lib/dirent.h
GEN lib/fcntl.h
GEN lib/iconv.h
GEN lib/inttypes.h
GEN lib/langinfo.h
GEN lib/locale.h
GEN lib/math.h
GEN lib/netdb.h
GEN lib/selinux/selinux.h
GEN lib/selinux/context.h
GEN lib/signal.h
GEN lib/spawn.h
GEN lib/stdalign.h
GEN lib/stdio.h
GEN lib/stdlib.h
GEN lib/string.h
GEN lib/sys/ioctl.h
GEN lib/sys/resource.h
GEN lib/sys/select.h
GEN lib/sys/socket.h
GEN lib/sys/stat.h
GEN lib/sys/time.h
GEN lib/sys/types.h
GEN lib/sys/uio.h
GEN lib/sys/utsname.h
GEN lib/sys/wait.h
GEN lib/termios.h
GEN lib/time.h
GEN lib/unistd.h
GEN lib/wchar.h
GEN lib/wctype.h
GEN src/version.c
GEN src/version.h
make all-recursive
make[1]: Entering directory `/sources/coreutils-8.21'
Making all in po
make[2]: Entering directory `/sources/coreutils-8.21/po'
make[2]: Leaving directory `/sources/coreutils-8.21/po'
Making all in .
make[2]: Entering directory `/sources/coreutils-8.21'
CC lib/set-mode-acl.o
CC lib/copy-acl.o
CC lib/file-has-acl.o
CC lib/allocator.o
CC lib/areadlink.o
CC lib/areadlink-with-size.o
CC lib/areadlinkat.o
CC lib/argmatch.o
CC lib/argv-iter.o
CC lib/backupfile.o
CC lib/base64.o
CC lib/binary-io.o
CC lib/bitrotate.o
CC lib/c-strtod.o
CC lib/c-strtold.o
CC lib/canon-host.o
CC lib/canonicalize.o
CC lib/careadlinkat.o
CC lib/cloexec.o
CC lib/close-stream.o
CC lib/closein.o
CC lib/closeout.o
CC lib/md5.o
CC lib/sha1.o
CC lib/sha256.o
CC lib/sha512.o
CC lib/cycle-check.o
CC lib/di-set.o
CC lib/opendir-safer.o
CC lib/dirname.o
CC lib/basename.o
CC lib/dirname-lgpl.o
CC lib/basename-lgpl.o
CC lib/dtoastr.o
CC lib/dtotimespec.o
CC lib/exclude.o
CC lib/exitfail.o
CC lib/fadvise.o
CC lib/fatal-signal.o
CC lib/chmodat.o
CC lib/chownat.o
CC lib/creat-safer.o
CC lib/open-safer.o
CC lib/fd-hook.o
CC lib/fd-reopen.o
CC lib/fd-safer-flag.o
CC lib/dup-safer-flag.o
CC lib/fdutimensat.o
CC lib/file-set.o
CC lib/file-type.o
CC lib/filemode.o
CC lib/filenamecat.o
CC lib/filenamecat-lgpl.o
CC lib/filevercmp.o
CC lib/fopen-safer.o
CC lib/fprintftime.o
CC lib/freading.o
CC lib/freadseek.o
CC lib/freopen-safer.o
CC lib/ftoastr.o
CC lib/gethrxtime.o
CC lib/getndelim2.o
CC lib/gettime.o
CC lib/getugroups.o
CC lib/hard-locale.o
CC lib/hash.o
CC lib/hash-triple.o
CC lib/heap.o
CC lib/human.o
CC lib/i-ring.o
CC lib/idcache.o
CC lib/ino-map.o
CC lib/imaxtostr.o
CC lib/inttostr.o
CC lib/offtostr.o
CC lib/uinttostr.o
CC lib/umaxtostr.o
CC lib/ldtoastr.o
CC lib/linebuffer.o
CC lib/localcharset.o
CC lib/glthread/lock.o
CC lib/long-options.o
CC lib/malloca.o
CC lib/math.o
CC lib/mbchar.o
CC lib/mbiter.o
CC lib/mbsalign.o
CC lib/mbscasecmp.o
CC lib/mbslen.o
CC lib/mbsstr.o
CC lib/mbswidth.o
CC lib/mbuiter.o
CC lib/memcasecmp.o
CC lib/memchr2.o
CC lib/memcmp2.o
CC lib/memcoll.o
CC lib/mgetgroups.o
CC lib/mkancesdirs.o
CC lib/dirchownmod.o
CC lib/mkdir-p.o
CC lib/modechange.o
CC lib/mpsort.o
CC lib/nproc.o
CC lib/openat-die.o
CC lib/openat-safer.o
CC lib/parse-datetime.o
CC lib/physmem.o
CC lib/pipe2.o
CC lib/pipe2-safer.o
CC lib/posixtm.o
CC lib/posixver.o
CC lib/printf-frexp.o
CC lib/printf-frexpl.o
CC lib/progname.o
CC lib/propername.o
CC lib/quotearg.o
CC lib/randint.o
CC lib/randperm.o
CC lib/randread.o
CC lib/read-file.o
CC lib/readtokens.o
CC lib/readtokens0.o
CC lib/root-dev-ino.o
CC lib/safe-read.o
CC lib/safe-write.o
CC lib/same.o
CC lib/save-cwd.o
CC lib/savedir.o
CC lib/savewd.o
CC lib/se-context.o
CC lib/se-selinux.o
CC lib/settime.o
CC lib/sig-handler.o
CC lib/spawn-pipe.o
CC lib/stat-time.o
CC lib/statat.o
CC lib/mkstemp-safer.o
CC lib/strftime.o
CC lib/striconv.o
CC lib/strnlen1.o
CC lib/sys_socket.o
CC lib/tempname.o
CC lib/glthread/threadlib.o
CC lib/timespec.o
CC lib/glthread/tls.o
CC lib/trim.o
CC lib/unicodeio.o
CC lib/unistd.o
CC lib/dup-safer.o
CC lib/fd-safer.o
CC lib/pipe-safer.o
CC lib/uniwidth/width.o
CC lib/userspec.o
CC lib/utimecmp.o
CC lib/utimens.o
CC lib/verror.o
CC lib/version-etc.o
CC lib/version-etc-fsf.o
CC lib/wait-process.o
CC lib/wctype-h.o
CC lib/write-any-file.o
CC lib/xmalloc.o
CC lib/xalloc-die.o
CC lib/xfreopen.o
CC lib/xfts.o
CC lib/xgetcwd.o
CC lib/xgetgroups.o
CC lib/xgethostname.o
CC lib/xmemcoll.o
CC lib/xnanosleep.o
CC lib/xprintf.o
CC lib/xstriconv.o
CC lib/xstrndup.o
CC lib/xstrtod.o
CC lib/xstrtoimax.o
CC lib/xstrtol.o
CC lib/xstrtoul.o
CC lib/xstrtol-error.o
CC lib/xstrtold.o
CC lib/xstrtoumax.o
CC lib/xvasprintf.o
CC lib/yesno.o
CC lib/asprintf.o
CC lib/chdir-long.o
CC lib/fclose.o
CC lib/fcntl.o
CC lib/fflush.o
CC lib/fpurge.o
CC lib/freadahead.o
CC lib/freadptr.o
CC lib/fseek.o
CC lib/fseeko.o
CC lib/fseterr.o
CC lib/fsusage.o
CC lib/fts.o
CC lib/futimens.o
CC lib/getpass.o
CC lib/isapipe.o
CC lib/isnanl.o
CC lib/linkat.o
CC lib/mknod.o
CC lib/mountlist.o
CC lib/openat-proc.o
CC lib/printf-args.o
CC lib/printf-parse.o
CC lib/readutmp.o
CC lib/selinux-at.o
CC lib/sig2str.o
CC lib/utimensat.o
CC lib/vasnprintf.o
CC lib/vasprintf.o
CC lib/vfprintf.o
CC lib/vprintf.o
AR lib/libcoreutils.a
CC src/version.o
AR src/libver.a
CC src/chroot.o
CCLD src/chroot
CC src/hostid.o
CCLD src/hostid
CC src/nice.o
CCLD src/nice
CC src/who.o
CCLD src/who
CC src/users.o
CCLD src/users
CC src/pinky.o
CCLD src/pinky
CC src/stty.o
CCLD src/stty
CC src/df.o
CC src/find-mount-point.o
CCLD src/df
CC src/stdbuf.o
CCLD src/stdbuf
CC src/lbracket.o
CCLD src/[
CC src/base64.o
CCLD src/base64
CC src/basename.o
CCLD src/basename
CC src/cat.o
CCLD src/cat
CC src/chcon.o
CCLD src/chcon
CC src/chgrp.o
CC src/chown-core.o
CCLD src/chgrp
CC src/chmod.o
CCLD src/chmod
CC src/chown.o
CCLD src/chown
CC src/cksum.o
CCLD src/cksum
CC src/comm.o
CCLD src/comm
CC src/cp.o
CC src/copy.o
CC src/cp-hash.o
CC src/extent-scan.o
CCLD src/cp
CC src/csplit.o
CCLD src/csplit
CC src/cut.o
CCLD src/cut
CC src/date.o
CCLD src/date
CC src/dd.o
CCLD src/dd
CC src/ls.o
CCLD src/dir
CC src/dircolors.o
CCLD src/dircolors
CC src/dirname.o
CCLD src/dirname
CC src/du.o
CCLD src/du
CC src/echo.o
CCLD src/echo
CC src/env.o
CCLD src/env
CC src/expand.o
src/expand.c: In function 'expand_multibyte':
src/expand.c:500:9: warning: implicit declaration of function 'iswblank' [-Wimplicit-function-declaration]
if (convert_entire_line == 0 && !iswblank(wc))
^
CCLD src/expand
CC src/expr.o
CCLD src/expr
CC src/factor.o
CCLD src/factor
CC src/false.o
CCLD src/false
CC src/fmt.o
CCLD src/fmt
CC src/fold.o
CCLD src/fold
CC src/src_ginstall-install.o
CC src/src_ginstall-prog-fprintf.o
CC src/src_ginstall-copy.o
CC src/src_ginstall-cp-hash.o
CC src/src_ginstall-extent-scan.o
CCLD src/ginstall
CC src/groups.o
CC src/group-list.o
CCLD src/groups
CC src/head.o
CCLD src/head
CC src/id.o
CCLD src/id
CC src/join.o
src/join.c: In function 'keycmp':
src/join.c:548:33: warning: ignoring return value of 'wcrtomb', declared with attribute warn_unused_result [-Wunused-result]
wcrtomb (copy[i] + j, uwc, &state_wc);
^
CCLD src/join
CC src/link.o
CCLD src/link
CC src/ln.o
CC src/relpath.o
CCLD src/ln
CC src/logname.o
CCLD src/logname
CCLD src/ls
CC src/src_md5sum-md5sum.o
CCLD src/md5sum
CC src/mkdir.o
CC src/prog-fprintf.o
CCLD src/mkdir
CC src/mkfifo.o
CCLD src/mkfifo
CC src/mknod.o
CCLD src/mknod
CC src/mktemp.o
CCLD src/mktemp
CC src/mv.o
CC src/remove.o
CCLD src/mv
CC src/nl.o
CCLD src/nl
CC src/nproc.o
CCLD src/nproc
CC src/nohup.o
CCLD src/nohup
CC src/numfmt.o
CCLD src/numfmt
CC src/od.o
CCLD src/od
CC src/paste.o
CCLD src/paste
CC src/pathchk.o
CCLD src/pathchk
CC src/pr.o
CCLD src/pr
CC src/printenv.o
CCLD src/printenv
CC src/printf.o
CCLD src/printf
CC src/ptx.o
CCLD src/ptx
CC src/pwd.o
CCLD src/pwd
CC src/readlink.o
CCLD src/readlink
CC src/realpath.o
CCLD src/realpath
CC src/rm.o
CCLD src/rm
CC src/rmdir.o
CCLD src/rmdir
CC src/runcon.o
CCLD src/runcon
CC src/seq.o
CCLD src/seq
CC src/src_sha1sum-md5sum.o
CCLD src/sha1sum
CC src/src_sha224sum-md5sum.o
CCLD src/sha224sum
CC src/src_sha256sum-md5sum.o
CCLD src/sha256sum
CC src/src_sha384sum-md5sum.o
CCLD src/sha384sum
CC src/src_sha512sum-md5sum.o
CCLD src/sha512sum
CC src/shred.o
CCLD src/shred
CC src/shuf.o
CCLD src/shuf
CC src/sleep.o
CCLD src/sleep
CC src/sort.o
src/sort.c: In function 'getmonth_mb':
src/sort.c:2887:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
*ea = s + strlen (monthtab[lo].name);
^
CCLD src/sort
CC src/split.o
CCLD src/split
CC src/stat.o
CCLD src/stat
CC src/sum.o
CCLD src/sum
CC src/sync.o
CCLD src/sync
CC src/tac.o
CCLD src/tac
CC src/tail.o
CCLD src/tail
CC src/tee.o
CCLD src/tee
CC src/test.o
CCLD src/test
CC src/timeout.o
CC src/operand2sig.o
CCLD src/timeout
CC src/touch.o
CCLD src/touch
CC src/tr.o
CCLD src/tr
CC src/true.o
CCLD src/true
CC src/truncate.o
CCLD src/truncate
CC src/tsort.o
CCLD src/tsort
CC src/tty.o
CCLD src/tty
CC src/uname.o
CCLD src/uname
CC src/unexpand.o
CCLD src/unexpand
CC src/uniq.o
src/uniq.c: In function 'different_multi':
src/uniq.c:422:31: warning: ignoring return value of 'wcrtomb', declared with attribute warn_unused_result [-Wunused-result]
wcrtomb (copy[i] + j, uwc, &state_wc);
^
CCLD src/uniq
CC src/unlink.o
CCLD src/unlink
CCLD src/vdir
CC src/wc.o
CCLD src/wc
CC src/whoami.o
CCLD src/whoami
CC src/yes.o
CCLD src/yes
CC src/getlimits.o
CCLD src/getlimits
CC src/make-prime-list.o
CCLD src/make-prime-list
CC src/setuidgid.o
CCLD src/setuidgid
CC src/src_libstdbuf_so-libstdbuf.o
CCLD src/libstdbuf.so
GEN man/chroot.1
GEN man/hostid.1
GEN man/nice.1
GEN man/who.1
GEN man/users.1
GEN man/pinky.1
GEN man/stty.1
GEN man/df.1
GEN man/stdbuf.1
GEN man/base64.1
GEN man/basename.1
GEN man/cat.1
GEN man/chcon.1
GEN man/chgrp.1
GEN man/chmod.1
GEN man/chown.1
GEN man/cksum.1
GEN man/comm.1
GEN man/cp.1
GEN man/csplit.1
GEN man/cut.1
GEN man/date.1
GEN man/dd.1
GEN man/dir.1
GEN man/dircolors.1
GEN man/dirname.1
GEN man/du.1
GEN man/echo.1
GEN man/env.1
GEN man/expand.1
GEN man/expr.1
help2man: can't get '--help' info from man/expr.td/expr
make[2]: *** [man/expr.1] Error 127
make[2]: Leaving directory `/sources/coreutils-8.21'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-8.21'
make: *** [all] Error 2
i've used both parametres, i mean kust "make", and "make -j1" the same mistakes
There's nothing in the log file that points to something specific. Maybe the config.log file might have a clue.
Have you stopped and restarted building LFS (rebooted) at any point while building chapter 6? If so:
- Did you redo 6.2.2 and 6.2.3 before entering the chrooted environment as mentioned in chapter 6.4?
Quote:
Originally Posted by sonik3230
any ideas?
Be patient, we are all volunteers here at LQ......
mount -v --bind /dev $LFS/dev
mount: error while loading shared libraries: libmount.so.1: cannot open shared object file: No such file or directory
have this trouble
Again with the limited information that is provided by you......
- When did you do the above?
- Are you already in the chrooted environment (you shouldn't be)?
- Is this showing up just now or did you have this error before?
- Did you or didn't you reboot when building chapter 6. If so, when?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.