|
|
发表于 2005-11-10 13:44:58
|
显示全部楼层
如果是在6.11,here a solution for you!
This is an error, and it's happening because section 6.8.2 didn't happen on this boot. One of the symlinks that gets created is /dev/fd, which g++ apparently requires.
What you need to do:
1) Remove everything in /mnt/lfs/dev.
2) Go through 6.8.1 and 6.8.2 again.
I'm saying to remove everything, then do 6.8.1, because if you don't have the tmpfs mounted on /dev, then any writes to /dev/zero (for example) will create a new file there, instead of writing to the existing device. So you need to delete those files.
It's easiest to just delete everything in /dev (/mnt/lfs/dev, from the host), then do section 6.8.1 (creating /dev/console and /dev/null) again. Then, you can do 6.8.2 and re-try building glibc. |
|