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.
hi all,
i am sure this thread is going to continue for quite a long time...
i am not much into programming as into linux administration...but i am trying to complile linux-from-scratch v6.1 packages just to hav a some fun with totally customised linux on my machine.
according to the document instructions i did 'make' on gcc folder during gcc pass2. but unexpectedly the following error occured...shown below are the last few lines
Quote:
checking linker position independent executable support... yes
checking linker --as-needed support... yes
configure: error:
The following requested languages were not found: c++
The following languages were available: c treelang
make: *** [configure-gcc] Error 1
how do i fix this....i worked exactly according to the instructions
it may be( I don't know for sure) that since you deleted the gcc-build directory, that may have done it. Again just a thought, I'm working on getting a 6.0 build to work...not having too much sucess
well..during first pass of gcc i had built a gcc-build directory. and after the step(doing 'make install') it hadn't said to delete the folder.
In gcc-pass2 stage it again says
mkdir gcc-build
now where am i supposed to create this folder if i dont delete the previous one?
After installing each package, delete its source and build directories, unless specifically instructed otherwise.
So you actually were supposed to delete the GCC Pass 1 source, and Build directories (as well as any other sources it didn't warn about deleting). That should salve your problem.
except for i (obviously) deleted the gcc-build folder that was made during the first pass to create a new one.
did you remove the gcc-3.4.1 directory? That may be the problem, it maybe building the 'pass 2' from the same source used for the 'pass 1'. Just a thought, again, no guarantees.
ok...i have done the compilation once again just to ensure that i had not missed a point...but again failed at the same error.
the first time i had deleted the gcc-build directory and created a new one. but this time, i also deleted the gcc-3.4.3 directory and applied the patches freshly. but the same error persists.
the first line of the page says...
---------------------
This package is known to have issues when its default optimization flags (including the -march and -mcpu options) are changed. If any environment variables that override default optimizations have been defined, such as CFLAGS and CXXFLAGS, unset them when building GCC.
---------------------
can this be the problem? anybody knows i can check those flags and set them appropiately?
or what else can be the problem? the error says - 'The following requested languages were not found: c++'
http://bugs.linuxfromscratch.org/show_bug.cgi?id=1575 If you have separate gcc tarballs you'll have to unpack the gcc-core, gcc-g++ and gcc-testsuite tarballs. Otherwise, the full tarball should have support for all languages in it.
Power by Google
Last edited by freegianghu; 08-13-2005 at 12:42 PM.
hotplug..? is it something similar to kudzu that comes with redhat/fedora packages? if yes, do i need to install/compile kudzu later in presence of hotplug if i want the functionality of kudzu?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.