µÚÁùÕ££configure glibcʱ³ö´í
checking for gcc... gccchecking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See 'config.log' for more details.
²é¿´ config.log¡¡£¬ÓÐÏÂÃæµÄ´íÎó
configure : 2361 : checking for gcc
configure : 2377 : found /tools/bin/gcc
configure : 2387 : result:gcc
configure : 2631 : checking for c compiler version
configure : 2634 : gcc -version </dev/null > &5
../glibc-2.3.4/configure : line 2635 : /tools/bin/gcc : No such file or directory
configure : 2637 : $? = 127
configure : 2639 : gcc -v </dev/null > &5
../glibc-2.3.4/configure : line 2640 : /tools/bin/gcc : No such file or directory
configure : 2642 : $? = 127
configure : 2644 : gcc -V </dev/null > &5
../glibc-2.3.4/configure : line 2645 : /tools/bin/gcc : No such file or directory
configure : 2647 : $? = 127
configure : 2651 : checking for suffix of object files
configure : 2672 : gcc -c conftest.c >&5
../glibc-2.3.4/configure : line 2673 : /tools/bin/gcc : No such file or directory
configure : 2675 : $? = 127
configure : failed program was:
/* confdefs.h */
define .....
/* end confdefs.h */
int
main ()
{
;
return 0 ;
}
configure: 2689 : error: cannot compute suffix of object files: cannot compile
See 'config.log' for more details.
ÒòΪÊÇÔÚVMÏ£¬²»Äܸ´ÖƳöÀ´£¬ÎÒ¾ÍÊÖ¹¤³ÁËÏÂÀ´¡£
²»ÖªµÀÎÊÌâ³öÔÚÄÄÀïÄØ£¿
Õâ¸öLFSÊÇÎÒÔÚ¹¹½¨ÍêÁÙʱ»·¾³ºó£¬ÒòΪÊÇVM£¬¾Í¡±ÔÝÍ£¡°¼´¡±¹ÒÆð¡°Ò»¸öÐÇÆÚºó£¬ÏÖÔÚ²ÅÓÖ¼ÌÐøÏÂÈ¥µÄ¡£Ê±¼äÎÊÌ⣿£¿£¿²»ÖªµÀÎÊÌâ»á²»»áÊdzöÔÚÕâÀÄѵÀÕâÑùµÄ»°ÓÖµÃÈ«²¿ÖØÀ´£¿ ²»ÖªµÀÔõô»ØÊ£¬ÎÒµÄ/mnt/lfsĿ¼¾¹È»²»´æÔÚÁË£¬ÓÉ´ËÒ²²»´æÔÚÁË/mnt/lfs/usr/bin/gccÎļþ£¬Òò´ËÕÒ²»µ½gcc¡£
¿´À´Ö»ÄÜÖØÐÂÔÙÀ´ÁË¡£
µ«ÊÇÕâ¸ö£º
configure : 2361 : checking for gcc
configure : 2377 : found /tools/bin/gcc
configure : 2387 : result:gcc
²»Õýȷô£¿ found /tools/bin/gcc ÕýÈ·£¬µ«glibcµÄ²¹¶¡´òÉÏÁËô£¿ (../glibc-2.3.4/configure : line 2635 : /tools/bin/gcc : No such file or directory) µ±È»£¬²¹¶¡ÒÑ´ò¡£
ÒÑ¾ÖØÀ´ÁË£¬
Ö»ÊÇÏÖÔÚûÓÐʱ¼ä£¬ÕýÔÚ¹ðÁÖ³ö²î¡£
͵¿ÕÀ´ÉÏÍø£¬HOHO
Ò³:
[1]