[S.u.S.E. Linux] make zdisk error
I just got my 5.2 and have installed it. I would like to customize the kernel to my needs. I used "make xconfig" to configure my kernel. I then attempted to compile with "make def zImage xdisk". (I boot from floppy.) The following error comes form the "zdisk" part of the "make" . Does anybody understand what is going on here? TIA, Steve make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/lib' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/lib' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/kernel' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/kernel' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make all_targets make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \ fs/filesystems.a \ drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/cdrom/cdrom.a driv ers/sound/sound.a drivers/pci/pci.a \ /usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib/lib.a /usr/src/linux-2.0.33.pre.SuSE.3/ lib/lib.a /usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib/lib.a -o vmlinux nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot' make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot/compressed' tmppiggy=/tmp/$$piggy; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \ if hash encaps 2> /dev/null; then \ objdump -k -q -o 0x100000 /usr/src/linux-2.0.33.pre.SuSE.3/vmlinux > $tmppiggy; \ else \ objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux-2.0.33.pre.SuSE.3 /vmlinux $tmppiggy; \ fi; \ gzip -f -9 < $tmppiggy > $tmppiggy.gz; \ if hash encaps 2> /dev/null; then \ encaps --target elf32-i386 piggy.o $tmppiggy.gz input_data input_len; \ else \ 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.l nk; \ fi; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk objdump: illegal option -- k Usage: objdump [-ahifCdDprRtTxsSlw] [-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] [--[no-]show-raw-insn] [--demangle] [--adjust-vma=offset] [-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 srec symbolsrec tekhex binary ihex tra d-core 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.33.pre.SuSE.3/arch/i386/boot/compressed' 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/vm linux.out; \ fi objdump: illegal option -- k Usage: objdump [-ahifCdDprRtTxsSlw] [-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] [--[no-]show-raw-insn] [--demangle] [--adjust-vma=offset] [-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 srec symbolsrec tekhex binary ihex tra d-core make[1]: *** [zImage] Error 1 make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot' make: *** [zdisk] Error 2 -- "Alles Vergaengliche Ist nur ein Gleichniss" -Goethe, as quoted in Ludwig Boltzmann's Vorlessungen ueber Gastheorie. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
I stand corrected on this. It seems that I also have the problem with "make dep zImage". Between this and a problem that looks like a drive geometry problem I am not finding this upgrade to be an easy row to hoe. Steve Steven T. Hatton wrote:
I just got my 5.2 and have installed it. I would like to customize the kernel to my needs. I used "make xconfig" to configure my kernel. I then attempted to compile with "make def zImage xdisk". (I boot from floppy.) The following error comes form the "zdisk" part of the "make" . Does anybody understand what is going on here?
TIA,
Steve
make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/lib' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/lib' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/kernel' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/kernel' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make all_targets make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/mm' make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib' ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \ fs/filesystems.a \ drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/cdrom/cdrom.a driv ers/sound/sound.a drivers/pci/pci.a \ /usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib/lib.a /usr/src/linux-2.0.33.pre.SuSE.3/ lib/lib.a /usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/lib/lib.a -o vmlinux nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map make[1]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot' make[2]: Entering directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot/compressed' tmppiggy=/tmp/$$piggy; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \ if hash encaps 2> /dev/null; then \ objdump -k -q -o 0x100000 /usr/src/linux-2.0.33.pre.SuSE.3/vmlinux > $tmppiggy; \ else \ objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux-2.0.33.pre.SuSE.3 /vmlinux $tmppiggy; \ fi; \ gzip -f -9 < $tmppiggy > $tmppiggy.gz; \ if hash encaps 2> /dev/null; then \ encaps --target elf32-i386 piggy.o $tmppiggy.gz input_data input_len; \ else \ 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.l nk; \ fi; \ rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk objdump: illegal option -- k Usage: objdump [-ahifCdDprRtTxsSlw] [-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] [--[no-]show-raw-insn] [--demangle] [--adjust-vma=offset] [-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 srec symbolsrec tekhex binary ihex tra d-core 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.33.pre.SuSE.3/arch/i386/boot/compressed' 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/vm linux.out; \ fi objdump: illegal option -- k Usage: objdump [-ahifCdDprRtTxsSlw] [-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] [--[no-]show-raw-insn] [--demangle] [--adjust-vma=offset] [-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 srec symbolsrec tekhex binary ihex tra d-core make[1]: *** [zImage] Error 1 make[1]: Leaving directory `/usr/src/linux-2.0.33.pre.SuSE.3/arch/i386/boot' make: *** [zdisk] Error 2
-- "Alles Vergaengliche Ist nur ein Gleichniss" -Goethe, as quoted in Ludwig Boltzmann's Vorlessungen ueber Gastheorie.
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- "Alles Vergaengliche Ist nur ein Gleichniss" -Goethe, as quoted in Ludwig Boltzmann's Vorlessungen ueber Gastheorie. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi, On Tue, 21 Apr 1998, Steven T. Hatton wrote:
I just got my 5.2 and have installed it. I would like to customize the
Well, I assume you updated from an earlier release?
kernel to my needs. I used "make xconfig" to configure my kernel. I then attempted to compile with "make def zImage xdisk". (I boot from floppy.) The following error comes form the "zdisk" part of the "make" . Does anybody understand what is going on here?
TIA,
Steve
[...]
objdump: illegal option -- k
With older versions of the binutils the -k option had to been passed to objdump. Newer versions of the binutils don't need this option. In fact they do not even recognize it. The kernel Makefile decides which version you have depending on the existance of /usr/bin/encaps. So if you do an update from an older revision and /usr/bin/encaps is not deleted, objdump is called with wrong/old parameters. So the simple solution to your problem is: "rm /usr/bin/encaps" Hubert -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hubert, Thank you. That got me through my first hurdle. I would have spent years trying to figure that one out! I do have another problem though. I now realize why I was confused about where I was getting the error from. Apparently I was getting two errors. This is the second: Gucci -D__KERNEL__ -I/usr/src/linux-2.0.33.SuSE/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o sb_common.o sb_common.c sb_common.c:21: #error You will need to configure the sound driver with CONFIG_AUDIO option. make[2]: *** [sb_common.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers/sound' make[1]: *** [sub_dirs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers' make: *** [linuxsubdirs] Error 2 Lakshmana:/usr/src/linux-2.0.33.SuSE # I only get this one when I try to compile with a soudblaster pro configured. Does this one mean anything to you? Hubert Mantel wrote:
Hi,
On Tue, 21 Apr 1998, Steven T. Hatton wrote:
I just got my 5.2 and have installed it. I would like to customize the
Well, I assume you updated from an earlier release?
kernel to my needs. I used "make xconfig" to configure my kernel. I then attempted to compile with "make def zImage xdisk". (I boot from floppy.) The following error comes form the "zdisk" part of the "make" . Does anybody understand what is going on here?
TIA,
Steve
[...]
objdump: illegal option -- k
With older versions of the binutils the -k option had to been passed to objdump. Newer versions of the binutils don't need this option. In fact they do not even recognize it. The kernel Makefile decides which version you have depending on the existance of /usr/bin/encaps. So if you do an update from an older revision and /usr/bin/encaps is not deleted, objdump is called with wrong/old parameters.
So the simple solution to your problem is: "rm /usr/bin/encaps"
Hubert
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- "Alles Vergaengliche Ist nur ein Gleichniss" -Goethe, as quoted in Ludwig Boltzmann's Vorlessungen ueber Gastheorie. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi, On Tue, 21 Apr 1998, Steven T. Hatton wrote:
Hubert,
Thank you. That got me through my first hurdle. I would have spent years trying to figure that one out! I do have another problem though. I now realize why I was confused about where I was getting the error from. Apparently I was getting two errors. This is the second:
Gucci -D__KERNEL__ -I/usr/src/linux-2.0.33.SuSE/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o sb_common.o sb_common.c sb_common.c:21: #error You will need to configure the sound driver with CONFIG_AUDIO option. make[2]: *** [sb_common.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers/sound' make[1]: *** [sub_dirs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers' make: *** [linuxsubdirs] Error 2 Lakshmana:/usr/src/linux-2.0.33.SuSE #
I only get this one when I try to compile with a soudblaster pro configured. Does this one mean anything to you?
Answer the question '/dev/dsp and /dev/audio support' with "Yes". Hubert -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hubert, Thank you, that worked. Steve <BR> Hubert Mantel wrote: <BLOCKQUOTE TYPE=CITE>Hi, On Tue, 21 Apr 1998, Steven T. Hatton wrote:
Hubert, <BR>> <BR>> Thank you. That got me through my first hurdle. I would have spent years <BR>> trying to figure that one out! I do have another problem though. I now <BR>> realize why I was confused about where I was getting the error from. <BR>> Apparently I was getting two errors. This is the second: <BR>> <BR>> Gucci -D__KERNEL__ -I/usr/src/linux-2.0.33.SuSE/include -Wall <BR>> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe <BR>> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o <BR>> sb_common.o sb_common.c <BR>> sb_common.c:21: #error You will need to configure the sound driver with <BR>> CONFIG_AUDIO option. <BR>> make[2]: *** [sb_common.o] Error 1 <BR>> make[2]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers/sound' <BR>> make[1]: *** [sub_dirs] Error 2 <BR>> make[1]: Leaving directory `/usr/src/linux-2.0.33.SuSE/drivers' <BR>> make: *** [linuxsubdirs] Error 2 <BR>> Lakshmana:/usr/src/linux-2.0.33.SuSE # <BR>> <BR>> I only get this one when I try to compile with a soudblaster pro <BR>> configured. Does this one mean anything to you?
Answer the question '/dev/dsp and /dev/audio support' with "Yes". Hubert -- <BR>To get out of this list, please send email to majordomo@suse.com with <BR>this text in its body: unsubscribe suse-linux-e</BLOCKQUOTE> <PRE>-- "Alles Vergaengliche Ist nur ein Gleichniss" -Goethe, as quoted in Ludwig Boltzmann's Vorlessungen ueber Gastheorie.</PRE>
participants (2)
-
hattons@CPKWEBSER5.ncr.disa.mil
-
mantel@suse.de