Em mới học linux đến phần biên dịch nhân linux (fedora 15)gặp lỗi . em đã download và giải nén và thư mục /usr/src/linux-2.6.39.1/
đến phần confige.
Code:
[nee@fdr15 linux-2.6.39.1]$ make xconfig
HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2
em đã cài gcc
Code:
Code:
[nee@fdr15 ~]$ yum search gcc
arm-gp2x-linux-gcc.i686 : Cross Compiling GNU GCC targeted at arm-gp2x-linux
avr-gcc.i686 : Cross Compiling GNU GCC targeted at avr
avr-gcc-c++.i686 : Cross Compiling GNU GCC targeted at avr
compat-libgcc-296.i686 : Compatibility 2.96-RH libgcc library
gcc-c++.i686 : C++ support for GCC
gcc-gnat.i686 : Ada 95 support for GCC
gcc-java.i686 : Java support for GCC
gcc-objc.i686 : Objective-C support for GCC
gcc-objc++.i686 : Objective-C++ support for GCC
gcc-plugin-devel.i686 : Support for compiling GCC plugins
gccxml.i686 : XML output extension to GCC
libgcc.i686 : GCC version 4.6 shared support library
mingw32-gcc.i686 : MinGW Windows cross-compiler (GCC) for C
msp430-gcc.i686 : Cross Compiling GNU GCC targeted at msp430
arm-gp2x-linux-gcc-c++.i686 : Cross Compiling GNU G++ targeted at arm-gp2x-linux
avr-libc.noarch : C library for use with GCC on Atmel AVR microcontrollers
colorgcc.noarch : Script to colorize the compiler output
compat-gcc-34.i686 : Compatibility GNU Compiler Collection
compat-gcc-34-c++.i686 : C++ support for compatibility compiler
compat-gcc-34-g77.i686 : Fortran 77 support for compatibility compiler
gcc.i686 : Various compilers (C, C++, Objective-C, Java, ...)
gcc-gfortran.i686 : Fortran support
gcc-go.i686 : Go support
ghdl.i686 : A VHDL simulator, using the GCC technology
libgcj.i686 : Java runtime library for gcc
libgcj-devel.i686 : Libraries for Java development using GCC
libgcj-src.i686 : Java library sources from GCC4 preview
libgomp.i686 : GCC OpenMP v3.0 shared support library
libmudflap.i686 : GCC mudflap shared support library
libmudflap-devel.i686 : GCC mudflap support
libquadmath.i686 : GCC __float128 shared support library
libquadmath-devel.i686 : GCC __float128 support
mingw32-gcc-c++.i686 : MinGW Windows cross-compiler for C++
mingw32-gcc-gfortran.i686 : MinGW Windows cross-compiler for FORTRAN
mingw32-gcc-objc.i686 : MinGW Windows cross-compiler support for Objective C
mingw32-gcc-objc++.i686 : MinGW Windows cross-compiler support for Objective C++
msp430-libc.noarch : C library for use with GCC on Texas Instruments MSP430
: microcontrollers
Name and summary matches only, use "search all" for everything.
[nee@fdr15 ~]$ yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
You need to be root to perform this command.
Em cũng download thêm mấy bản gcc...rpm về nhưng cài vẫn lỗi không cài được. Em đang phân vân thêm em đang dùng chip AMD Athlon(tm) Processor LE-1640 là chip 8x86 . các phân mở rộng i386,i586,i686 thì nữa chọn thế nào là phù hợp a.
Các anh đi trước chỉ giúp em với a.