[LFS 7.4 r.c.1] Chapter 5.8. Libstdc++-4.8.1
Hi! Started with LFS 7.4 and got stuck right in the toolchain :s
Thanks in advance for anyone who can help me resolve this issue. I'm using Ubuntu 13.04 as the host system, and no virtualbox this time. The culprit code is: Code:
make[3]:../../../gcc-4.8.1/libstdc++-v3/src/c++98/strstream.cc:324:63: error: 'INT_MAX' was not declared in this scope Thanks again! |
You need to change the symlink, dash won't cut it.
Run the following: rm /bin/sh ln -s /bin/bash /bin/sh Dash doesn't have all of the bash features which are depended on in the build process. Once you've symlinked it, try again but you may need to go back to the start. While you're at it, check your other sym links as well. My post here may be of help: http://www.linuxquestions.org/questi...st-4175474870/ |
Quote:
Make sure that all of the Host System Requirements are met, they are there for a reason! |
Sad to say, but despite changing the symlink, the problem is still the same :s.
|
2 questions:
- Can you post the output of the version-check.sh script? - Did you only redo 5.8. Libstdc++-4.8.1 after changing the link or did you start again from 5.4. Binutils-2.23.2 and onward? You aren't too far into the build. I would remove what you have, make 100% sure all Host System Requirements are met and start again. Using dash instead of bash might have foobarred some stuff in the chapters leading upto 5.8. |
Yes, if you used Dash at any time up till now rather than Bash, you'll need to completely rebuild from scratch all over from the first package.
Bash is listed as a required build package for a reason. You have to follow the book exactly. |
Quote:
|
Quote:
No need to PM me. |
Recompiling with bash worked like a charm. Finished with the toolchain :)
And valuable lesson learnt! |
All times are GMT -5. The time now is 08:27 PM. |