Eduardo wrote > Hello everybody, > > I have successfully build my own LFS system (SVN-20120122) and now, i > continue with the BLF book. I currently try to implement the X Windows > System Environnement (chapter 24), but i failled. > > I'm at the step where I must build MesaLib-7.11.2 with it's dependencies > called LLVM-3.0. > > When i'm compiling LLVM-3.0, i've got this error : > > llvm[2]: ======= Finished Linking Release Executable not (without symbols) > make[2]: Leaving directory `/sources/llvm-3.0.src/utils/not' > make[2]: Entering directory `/sources/llvm-3.0.src/utils/unittest' > make[3]: Entering directory > `/sources/llvm-3.0.src/utils/unittest/googletest' llvm[3]: Compiling > gtest.cc for Release build (PIC) > llvm[3]: Compiling gtest-death-test.cc for Release build (PIC) > llvm[3]: Compiling gtest-filepath.cc for Release build (PIC) > llvm[3]: Compiling gtest-port.cc for Release build (PIC) > llvm[3]: Compiling gtest-printers.cc for Release build (PIC) > llvm[3]: Compiling gtest-test-part.cc for Release build (PIC) > llvm[3]: Compiling gtest-typed-test.cc for Release build (PIC) > llvm[3]: Linking Release Shared Library libGoogleTest.so > make[3]: Leaving directory > `/sources/llvm-3.0.src/utils/unittest/googletest' make[3]: Entering > directory `/sources/llvm-3.0.src/utils/unittest/UnitTestMain' llvm[3]: > Compiling TestMain.cpp for Release build (PIC) > llvm[3]: Linking Release Shared Library libUnitTestMain.so > make[3]: Leaving directory > `/sources/llvm-3.0.src/utils/unittest/UnitTestMain' make[2]: Leaving > directory `/sources/llvm-3.0.src/utils/unittest' > make[1]: Leaving directory `/sources/llvm-3.0.src/utils' > make[1]: Entering directory `/sources/llvm-3.0.src/lib/VMCore' > llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td > /sources/llvm-3.0.src/Release/bin/llvm-tblgen: error while loading shared > libraries: libLLVMTableGen.so: cannot open shared object file: No such > file or directory make[1]: *** > [/sources/llvm-3.0.src/lib/VMCore/Release/Intrinsics.gen.tmp] Error 127 > make[1]: Leaving directory `/sources/llvm-3.0.src/lib/VMCore' > make: *** [all] Error 1 > root [ /sources/llvm-3.0.src ]# > > For your information, all packages which i've compiled before LLVM-3.0 have > successfully compiled. > > I didn't find any solution in the web, or i hope to find a solution with > the LFS/BLFS community. > > If somebody have any solution or idea, it'll be nice to explain me what can > i do. > > Best regards, > > Tony > Could it be that you're compiling with a -jX option passed over to make? > Occasionally, some packages do not strictly enforce all the dependencies, > instead assuming that things will compile in the order they come up in the > makefile, which may then fail if the -j option is used. > As a rule of thumb I always start make with 'lfs [/sources/xpto]$ nice make - > j2' (my processor has 2 cores) and if I get an error message I try again with > simply 'lfs [/sources/xpto]$ make'. This also ensures that any error messages > I get afterwards are more significant. > Regards, > Eduardo Thanks for your response. I don't use the -jX option to make. I'll look for the bruce's suggestion : > When i'm compiling LLVM-3.0, i've got this error : > llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td > /sources/llvm-3.0.src/Release/bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory > For your information, all packages which i've compiled before > LLVM-3.0 have successfully compiled. You should have a line earlier: llvm[1]: Linking Release Shared Library libLLVMTableGen.so make[1]: Leaving directory `/tmp/llvm/llvm-3.0.src/lib/TableGen' Did you get that? -- Bruce
I'll tell you later if i have directory `/tmp/llvm/llvm-3.0.src/lib/TableGen' Regards, Tony
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page