[linux] Kompilacia 2.4.23 problem

Slavko (MLIST) ml na shell42.com
Středa Prosinec 3 11:12:32 CET 2003


Ahojte,

upgradujem kernel (ked uz tie 2.4.x, x<23 su derave :) ale zvlastny
problem - pri make bzImage alebo make install vyhodi toto:

(blabla ... klasicky stuff)

gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end -
input_data) input_data = .; *(.data) input_data_end = .; }}" > \
ld -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T
$tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
BFD: Warning: Writing section `.text.startup' to huge (ie negative) file
offset 0xc0100000.
BFD: Warning: Writing section `.data' to huge (ie negative) file offset
0xc0100020.
BFD: Warning: Writing section `.data.cacheline_aligned' to huge (ie
negative) file offset 0xc010bba0.
BFD: Warning: Writing section `.data.init_task' to huge (ie negative) file
offset 0xc010e000.
BFD: Warning: Writing section `.data.page_aligned' to huge (ie negative)
file offset 0xc0110000.
BFD: Warning: Writing section `.bss' to huge (ie negative) file offset
0xc0111000.
BFD: Warning: Writing section `.data.init' to huge (ie negative) file
offset 0xc013c000.
BFD: Warning: Writing section `.setup.init' to huge (ie negative) file
offset 0xc0141ee0.
BFD: Warning: Writing section `.initcall.init' to huge (ie negative) file
offset 0xc0142018.
BFD: Warning: Writing section `.text.init' to huge (ie negative) file
offset 0xc01420c0.
BFD: Warning: Writing section `.rodata.page_aligned' to huge (ie negative)
file offset 0xc0500000.
BFD: Warning: Writing section `.rodata' to huge (ie negative) file offset
0xc0501800.
BFD: Warning: Writing section `__ex_table' to huge (ie negative) file
offset 0xc0527d40.
objcopy: _tmp_22032piggy: File truncated
ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o
piggy.o
make[2]: Leaving directory
`/home/aw/kernel2.4.20/linux-2.4.23/arch/i386/boot/compressed'
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 2516 bytes.
System is 13 kB


No a vmlinuz sa urobi taky maly, 16kilobajtovy .. :)

'vmlinux' ktory sa spravi po 'make' ma normalne 4.6 MB, ani pri klasickom
make nevyhodi toto, len pri make install alebo bzImage.

Stretli ste sa s tym niekto? To je prvykrat co s tym vobec mam nejaky
problem ze ani google nepomaha ... :(

mam gcc (GCC) 3.2.2, slackware stary (asi 8.0, neviem;
/etc/slackware-version neprezil :)

Dakujem,

Slavko




Další informace o konferenci linux