[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:22316] Potato でのカーネルの作成ができない?





#cd /home2/Kernel/kernel-source-2.2.15
#cp /boot/config-2.2.14 .config
#make xconfig
#make-kpkg clean;make-kpkg --bzimage kernel_image

nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aU] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[2]: Entering directory `/home2/Kernel/kernel-source-2.2.15/arch/i386/boot'
gcc -D__KERNEL__ -I/home2/Kernel/kernel-source-2.2.15/include -E -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bbootsect.s
as86 -0 -a -o bbootsect.o bbootsect.s
ld86 -0 -s -o bbootsect bbootsect.o
gcc -D__KERNEL__ -I/home2/Kernel/kernel-source-2.2.15/include -E -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA  setup.S -o bsetup.s
as86 -0 -a -o bsetup.o bsetup.s
01552                                                                           | can be used for heap purposes.
01552                                                                           | can be used for heap purposes.
ld86 -0 -s -o bsetup bsetup.o
make[3]: Entering directory `/home2/Kernel/kernel-source-2.2.15/arch/i386/boot/compressed'
tmppiggy=_tmp_$$piggy; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
objcopy -O binary -R .note -R .comment -S /home2/Kernel/kernel-source-2.2.15/vmlinux $tmppiggy; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
ld -m elf_i386 -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
gcc -D__KERNEL__ -I/home2/Kernel/kernel-source-2.2.15/include  -traditional -c head.S
/tmp/ccmDtCBr.s: Assembler messages:
/tmp/ccmDtCBr.s:109: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/ccmDtCBr.s:110: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/ccmDtCBr.s:111: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/ccmDtCBr.s:112: Warning: using `%eax' instead of `%ax' due to `l' suffix
gcc -D__KERNEL__ -I/home2/Kernel/kernel-source-2.2.15/include -O2 -DSTDC_HEADERS   -c -o misc.o misc.c
ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o piggy.o
make[3]: Leaving directory `/home2/Kernel/kernel-source-2.2.15/arch/i386/boot/compressed'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o tools/build tools/build.c -I/home2/Kernel/kernel-source-2.2.15/include
objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinux.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Root device is (3, 1)
Boot sector 512 bytes.
Setup is 3536 bytes.
System is 1028 kB
System is too big. Try using modules.
make[2]: *** [bzImage] Error 1
make[2]: Leaving directory `/home2/Kernel/kernel-source-2.2.15/arch/i386/boot'
make[1]: *** [bzImage] Error 2
make[1]: Leaving directory `/home2/Kernel/kernel-source-2.2.15'
make: *** [stamp-build] Error 2


ii  kernel-package   7.04.potato.1    Debian Linux kernel package build scripts.
ii  binutils     The GNU assembler, linker and binary utilities.
ii  libc6-dev        2.1.3-10         GNU C Library: Development Libraries and Header 
ii  gcc              2.95.2-10        The GNU C compiler.
ii  fileutils        4.0l-7           GNU file management utilities.
ii  dpkg-dev        Package building tools for Debian
ii  dpkg           Package maintenance system for Debian
ii  perl-5.005       5.005.03-7.1     Larry Wall's Practical Extracting and Report Lan
ii  perl-5.005-base  5.005.03-7.1     The Pathologically Eclectic Rubbish Lister
ii  perl-5.005-debug 5.005.03-7.1     View internals of Perl and debug Perl itself.
ii  perl-5.005-doc   5.005.03-7.1     Man pages and pod docs for Perl
ii  perl-5.005-suid  5.005.03-7.1     Runs setuid Perl scripts.
ii  perl-5.005-threa 5.005.03-7.1     Experimental Perl binary with threading enabled
ii  perl-base        5.004.05-1.1     Fake package assuring that one of the -base pack
ii  kernel-image-2.2 2.2.14-5         Linux kernel binary image.