err, compiling...

mike.pagano@usa.net
Thu, 6 Nov 1997 02:17:45 -0500 (EST)


Hey, y'all

(linux-config couldnt help me)
let me start off by saying that ive been using linux for a few years now
and at times i like to think i know what im doing (ive even started a
few others off with their own linux boxes)
BUT
i seem to have run into some trouble after compiling a 2.1.xx kernel...
(was it 2.1.31?)
that kernel works fine, and i can recompile that version of the kernel
as many times as i want
the problem is that now, i can no longer compile any other kernels
by ANY, i mean no more 2.0.xx, no lower 2.1.xx, and no higher 2.1.xx...
im sure that you guys can see this might pose a problem

anyway, the kernel compile dies all the way at the end:
(begin horrible death)

rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
objdump: illegal option -- k
Usage: objdump [-ahifdDprRtTxsSlw] [-b bfdname] [-m machine] [-j
section-name]
[--archive-headers] [--target=bfdname] [--debugging]
[--disassemble]
[--disassemble-all] [--disassemble-zeroes] [--file-headers]
[--section-headers] [--headers]
[--info] [--section=section-name] [--line-numbers] [--source]
[--architecture=machine] [--reloc] [--full-contents] [--stabs]
[--syms] [--all-headers] [--dynamic-syms] [--dynamic-reloc]
[--wide] [--version] [--help] [--private-headers]
[--start-address=addr] [--stop-address=addr]
[--prefix-addresses] [--show-raw-insn]
[-EB|-EL] [--endian={big|little}] objfile...
at least one option besides -l (--line-numbers) must be given
objdump: supported targets: elf32-i386 a.out-i386-linux elf64-alpha
ecoff-littlealpha elf32-m68k a.out-m68k-linux elf32-bigmips
elf32-littlemips elf64-bigmips elf64-littlemips ecoff-bigmips
ecoff-littlemips elf32-powerpc aixcoff-rs6000 elf32-powerpcle
pei-powerpcle pei-powerpc pe-powerpcle pe-powerpc ppcboot elf32-sparc
a.out-sparc-linux a.out-sunos-big srec symbolsrec tekhex binary ihex
trad-core
gcc -D__KERNEL__ -I/usr/src/linux-2.0.31/include -traditional -c head.S
gcc -D__KERNEL__ -I/usr/src/linux-2.0.31/include -O2 -DSTDC_HEADERS -c
misc.c -o misc.o
ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o misc.o
piggy.o
make[2]: Leaving directory
`/usr/src/linux-2.0.31/arch/i386/boot/compressed'
gcc -I/usr/src/linux-2.0.31/include -O2 -fomit-frame-pointer -D__BFD__
-o tools/build tools/build.c -I/usr/src/linux-2.0.31/include
if hash encaps 2> /dev/null; then \
objdump -k -q -o 0x1000 compressed/vmlinux > compressed/vmlinux.out;
\
else \
objcopy -O binary -R .note -R .comment -R .stab -R .stabstr
compressed/vmlinux compressed/vmlinux.out; \
fi
objdump: illegal option -- k
Usage: objdump [-ahifdDprRtTxsSlw] [-b bfdname] [-m machine] [-j
section-name]
[--archive-headers] [--target=bfdname] [--debugging]
[--disassemble]
[--disassemble-all] [--disassemble-zeroes] [--file-headers]
[--section-headers] [--headers]
[--info] [--section=section-name] [--line-numbers] [--source]
[--architecture=machine] [--reloc] [--full-contents] [--stabs]
[--syms] [--all-headers] [--dynamic-syms] [--dynamic-reloc]
[--wide] [--version] [--help] [--private-headers]
[--start-address=addr] [--stop-address=addr]
[--prefix-addresses] [--show-raw-insn]
[-EB|-EL] [--endian={big|little}] objfile...
at least one option besides -l (--line-numbers) must be given
objdump: supported targets: elf32-i386 a.out-i386-linux elf64-alpha
ecoff-littlealpha elf32-m68k a.out-m68k-linux elf32-bigmips
elf32-littlemips elf64-bigmips elf64-littlemips ecoff-bigmips
ecoff-littlemips elf32-powerpc aixcoff-rs6000 elf32-powerpcle
pei-powerpcle pei-powerpc pe-powerpcle pe-powerpc ppcboot elf32-sparc
a.out-sparc-linux a.out-sunos-big srec symbolsrec tekhex binary ihex
trad-core
make[1]: *** [zImage] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.31/arch/i386/boot'
make: *** [zImage] Error 2
[root@paleblue:/usr/src/linux]#

(end horrible death)

and the compile just dies...and its sooooo close to finishing!
ive gotten and installed new binutils, new libs, new gcc and i still get
the same error!

this is killing me!
what else is implemented in compiling a kernel that i have overlooked in
updating/replacing?

ANY help is greatly appreciated
thanks,
mike

|-----------------------------------------------------------------------------|
| | -Coyote: There is a lesson |
| Mike Pagano | you must learn. |
| mike.pagano@usa.net | -Homer: If it's about laying |
| members.tripod.com/~mikepagano | off the insanity peppers, |
| | I'm way ahead of you. |
|_____________________________________________________________________________|
|--------PGP-PUB-KEY@http://members.tripod.com/~mikepagano/getkey.html--------|