Originally posted by aneel
i compile kernel in this way
Did you do make clean && make mrproper? never assume a kernel is clean after unpacking.
This is good
make CC=/opt/gcc-2.95.3/bin/gcc dep
This option is depraced and is not needed for the 2.6 branch of the kernel
make CC=/opt/gcc-2.95.3/bin/gcc bzImage
make CC=/opt/gcc-2.95.3/bin/gcc modules
make CC=/opt/gcc-2.95.3/bin/gcc modules_install
This should be <make bzImage>
cp arch/i386/boot/bzImage /boot/lfskernel
cp System.map /boot
cp .config /boot/config-lfskernel
cp arch/i386/boot/bzImage /boot/lfskernel-184.108.40.206
cp System.map /boot/System.map-220.127.116.11
cp .config /boot/config-18.104.22.168
it compile successfully
but when run
it gives same error agpart not found
xterm is not shown
not enough pty
Read the book, LFS noted some things about not enough pty's.
Quote from LFS book Chapter 6.13 Binutils
Verify that the PTYs are working properly inside the chroot environment. Check that everything is set up correctly by performing a simple test:
expect -c "spawn ls"
If the following message shows up, the chroot environment is not set up for proper PTY operation:
The system has no more ptys.
Ask your system administrator to create more.
This issue needs to be resolved before running the test suites for Binutils and GCC.
You should do exactly what the book says, word by word, and have experience with compiling a kernel, otherwise the build will fail.