|
发表于 2004-3-6 19:05:31
|
显示全部楼层
http://archives.linuxfromscratch ... 03-June/017823.html
NULL is a constant, normally defined in GCC includes, normal includes,
and even in TCL's own header files.
Did the specs file sed work? The command
fgrep 'linker /stage1/lib/' /stage1/lib/gcc-lib/*/*/specs
should produce some output - one line, actually.
But if you got no output, you forgot or had a typo in the
'"Locking in" the glibc' step. Don't worry, you only
need to edit /stage1/lib/gcc-lib/*/*/specs
specifically the line with '-dynamic-linker' in it, and make sure
the stuff between the braces '{}' is something like
{!dynamic-linker:-dynamic-linker /stage1/lib/ld-linux.so.2}
You might have, say, /lib/ld.so.1, after the linker, just add
/stage1 before it and retry. Only touch the portion after the
space upto and including the number. |
|