LINUX.ORG.RU

Linux From Scratch 7.1


0

1

В предыдущей своей теме я спрашивал про установку GCC. Проблему решил путем установки более новой версии. Теперь у меня проблема с Glibc. Запускаю make, спустя n времени выдает следующее:

cc1: error: ../sysdeps/i386/fpu/s_frexp.S: Input/output error
make[2]: *** [/media/LFS/sources/glibc-build/math/s_frexp.os] Error 1
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/math'
make[1]: *** [math/others] Error 2
make subdir=setjmp -C setjmp ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/setjmp'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/setjmp'
make[1]: *** [setjmp/others] Error 2
make subdir=signal -C signal ..=../ others
make: Entering an unknown directory
make: *** signal: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [signal/others] Error 2
make subdir=stdlib -C stdlib ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/stdlib'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/stdlib'
make[1]: *** [stdlib/others] Error 2
make subdir=stdio-common -C stdio-common ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/stdio-common'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/stdio-common'
make[1]: *** [stdio-common/others] Error 2
make subdir=libio -C libio ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/libio'
make[2]: Makefile: Input/output error
make[2]: stat: Makefile: Input/output error
make[2]: *** No rule to make target `Makefile'.
make[2]: Failed to remake makefile `Makefile'.
make[2]: *** No rule to make target `others'.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/libio'
make[1]: *** [libio/others] Error 2
make subdir=dlfcn -C dlfcn ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/dlfcn'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/dlfcn'
make[1]: *** [dlfcn/others] Error 2
make subdir=malloc -C malloc ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/malloc'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/malloc'
make[1]: *** [malloc/others] Error 2
make subdir=string -C string ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/string'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/string'
make[1]: *** [string/others] Error 2
make subdir=wcsmbs -C wcsmbs ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/wcsmbs'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/wcsmbs'
make[1]: *** [wcsmbs/others] Error 2
make subdir=timezone -C timezone ..=../ others
make: Entering an unknown directory
make: *** timezone: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [timezone/others] Error 2
make subdir=time -C time ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/time'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/time'
make[1]: *** [time/others] Error 2
make subdir=dirent -C dirent ..=../ others
make: Entering an unknown directory
make: *** dirent: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [dirent/others] Error 2
make subdir=grp -C grp ..=../ others
make: Entering an unknown directory
make: *** grp: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [grp/others] Error 2
make subdir=pwd -C pwd ..=../ others
make: Entering an unknown directory
make: *** pwd: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [pwd/others] Error 2
make subdir=posix -C posix ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/posix'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/posix'
make[1]: *** [posix/others] Error 2
make subdir=io -C io ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/io'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/io'
make[1]: *** [io/others] Error 2
make subdir=termios -C termios ..=../ others
make: Entering an unknown directory
make: *** termios: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [termios/others] Error 2
make subdir=resource -C resource ..=../ others
make: Entering an unknown directory
make: *** resource: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [resource/others] Error 2
make subdir=misc -C misc ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/misc'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/misc'
make[1]: *** [misc/others] Error 2
make subdir=socket -C socket ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/socket'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/socket'
make[1]: *** [socket/others] Error 2
make subdir=sysvipc -C sysvipc ..=../ others
make: Entering an unknown directory
make: *** sysvipc: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [sysvipc/others] Error 2
make subdir=gmon -C gmon ..=../ others
make: Entering an unknown directory
make: *** gmon: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [gmon/others] Error 2
make subdir=gnulib -C gnulib ..=../ others
make: Entering an unknown directory
make: *** gnulib: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [gnulib/others] Error 2
make subdir=wctype -C wctype ..=../ others
make: Entering an unknown directory
make: *** wctype: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [wctype/others] Error 2
make subdir=manual -C manual ..=../ others
make: Entering an unknown directory
make: *** manual: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [manual/others] Error 2
make subdir=shadow -C shadow ..=../ others
make: Entering an unknown directory
make: *** shadow: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [shadow/others] Error 2
make subdir=gshadow -C gshadow ..=../ others
make: Entering an unknown directory
make: *** gshadow: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [gshadow/others] Error 2
make subdir=po -C po ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/po'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/po'
make[1]: *** [po/others] Error 2
make subdir=argp -C argp ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/argp'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/argp'
make[1]: *** [argp/others] Error 2
make subdir=crypt -C crypt ..=../ others
make: Entering an unknown directory
make: *** crypt: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [crypt/others] Error 2
make subdir=nptl -C nptl ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/nptl'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/nptl'
make[1]: *** [nptl/others] Error 2
make subdir=resolv -C resolv ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/resolv'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/resolv'
make[1]: *** [resolv/others] Error 2
make subdir=nss -C nss ..=../ others
make: Entering an unknown directory
make: *** nss: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [nss/others] Error 2
make subdir=rt -C rt ..=../ others
make: Entering an unknown directory
make: *** rt: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [rt/others] Error 2
make subdir=conform -C conform ..=../ others
make: Entering an unknown directory
make: *** conform: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [conform/others] Error 2
make subdir=debug -C debug ..=../ others
make: Entering an unknown directory
make: *** debug: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [debug/others] Error 2
make subdir=libidn -C libidn ..=../ others
make: Entering an unknown directory
make: *** libidn: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [libidn/others] Error 2
make subdir=nptl_db -C nptl_db ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/nptl_db'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/nptl_db'
make[1]: *** [nptl_db/others] Error 2
make subdir=inet -C inet ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/inet'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/inet'
make[1]: *** [inet/others] Error 2
make subdir=hesiod -C hesiod ..=../ others
make: Entering an unknown directory
make: *** hesiod: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [hesiod/others] Error 2
make subdir=sunrpc -C sunrpc ..=../ others
make: Entering an unknown directory
make: *** sunrpc: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [sunrpc/others] Error 2
make subdir=nis -C nis ..=../ others
make: Entering an unknown directory
make: *** nis: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [nis/others] Error 2
make subdir=nscd -C nscd ..=../ others
make: Entering an unknown directory
make: *** nscd: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [nscd/others] Error 2
make subdir=streams -C streams ..=../ others
make: Entering an unknown directory
make: *** streams: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [streams/others] Error 2
make subdir=login -C login ..=../ others
make: Entering an unknown directory
make: *** login: Input/output error. Stop.
make: Leaving an unknown directory
make[1]: *** [login/others] Error 2
make subdir=elf -C elf ..=../ others
make[2]: Entering directory `/media/LFS/sources/glibc-2.14.1/elf'
make[2]: *** INTERNAL: readdir: Input/output error
. Stop.
make[2]: Leaving directory `/media/LFS/sources/glibc-2.14.1/elf'
make[1]: *** [elf/others] Error 2
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/media/LFS/sources/glibc-2.14.1'
make: *** [all] Error 2


Как мне кажется, Glibc не может найти эти директории. В логе копался, но толком ничего и не понял

Точка монтирования раздела — /media/LFS/

В чем здесь проблема и как ее решить?

Компилятор GCC, версия 4.6.2

P.S. Ответы из серии «Gentoo, Arch» и «зачем мне LFS», а также «Забей все это» не принимаются.

Ответ на: комментарий от MBRBulawa

Нет, не все работает.

Путем попытки сделать dir [путь к точке монтирования флешки], и получив Input/Output Error, понял, что проблема в флешке, а не в Glibc, так что тема закрыта

MBRBulawa ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.