--- Jonathan Davis <[EMAIL PROTECTED]> wrote: > While running "make check" in section 10.42. > Gettext-0.14.5 64 Bit of > CLFS Version 1.0.0rc3-x86_64-Multilib, a number of > tests failed with > this error: > > /usr/bin/ld: cannot find -lrpathy > collect2: ld returned 1 exit status > make[4]: *** [usey] Error 1 > > These are the tests that failed with the above > error: > > FAIL: rpath-2aac > FAIL: rpath-2abc > FAIL: rpath-2bac > FAIL: rpath-2bbc > FAIL: rpath-3aac > FAIL: rpath-3abc > FAIL: rpath-3bac > FAIL: rpath-3bag > FAIL: rpath-3bbc > FAIL: rpath-3bbg > > It appears to be all of the tests that end in a "c" > or a "g". All of > the others are either skipped or they pass. I tried > compilation > without setting CFLAGS or CXXFLAGS and these errors > were still > present. There were no failures on the 32-bit > tests, just the 64-bit > ones. Any ideas as to what could be causing this > problem? Someone > else mentioned errors with gettext in another post > to CLFS-support, > but they didn't really give any details, so I don't > know if these > errors were the same ones that they were getting. > Any help would be > appreciated. Thanks.
Hello It's a problem linked to the -fPIC parameter which is not correctly set during the compilation of the tests. The book give a sed command to skip bad tests, but it is not sufficient. What I suggest you is to use the following command, after the configure command of the book (and without the sed before in the book), to force the -fPIC option: sed -i 's/gcc -m64/gcc -m64 -fPIC/g' autoconf-lib-link/tests/Makefile On my machine, with that, all the tests passed without any error (of course, if you want, you can also put -fPIC in your CFLAGS). I put the clfs-dev list in copy, because I think it's perhaps better to replace the sed in the book but this one, or a better on before configure, if possible. What do you think of that? G. Moko __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
