LFS 6.7 Chapter 6.9 Glibc errors

Bruce Dubbs bruce.dubbs at gmail.com
Tue Nov 2 14:11:22 PDT 2010


David Shaw wrote:
> I just want to quickly check that the following is acceptable from the 
> glibc check before I move on.

> root:/sources/glibc-2.12.1-build# grep Error glibc-check-log
> make[2]: *** [/sources/glibc-2.12.1-build/stdio-common/bug22.out] Error 1
> make[1]: *** [stdio-common/tests] Error 2

I don't recall seeing this error.  It would be helpful to see what the 
contents of bug22.out are, however, the test has:

FILE *fp = fopen ("/dev/null", "w");
if (fp == NULL)
{
    puts ("cannot open /dev/null");
    return 1;
}

Have you mounted /dev properly? (Section 6.2)


> make[2]: [/sources/glibc-2.12.1-build/posix/annexc.out] Error 1 (ignored)
> make[2]: *** [/sources/glibc-2.12.1-build/nptl/tst-cond10.out] Error 1
> make[1]: *** [nptl/tests] Error 2
> make: *** [check] Error 2

See the book about this one.

   -- Bruce





More information about the lfs-support mailing list