Make zImage broken

Make zImage broken

Post by Paul Thom » Thu, 08 Jan 1998 04:00:00



Hello,

I am have a Slackware 3.1 (2.0.27) system that has been fine as far
as compiling the kernel. I did upgrade /lib and added pthread since
the last time I compiled a kernel. That is the only thing that has
changed really that I can think of (heh, not saying much!).

Now the kernel compiles all the way through and at the end this happens:

make[2]: Entering directory `/usr/src/linux-2.0.27/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.27/vmlinux > $tmppiggy; \
else \
  objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux-2.0.27/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.lnk; \
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.lnk; \
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]

Any tips here would be appreciated, it did compile before. Please copy
any response to my email as my newsfeed is sucky!

Thanks in advance!

--Paul T.
--
Calvin and Hobbes (Bill Watterson): "The surest sign that intelligent
life exists elsewhere in the universe is that it has never tried to contact
us."

 
 
 

Make zImage broken

Post by Paul Thom » Thu, 08 Jan 1998 04:00:00


: Hello,

: I am have a Slackware 3.1 (2.0.27) system that has been fine as far
: as compiling the kernel. I did upgrade /lib and added pthread since
: the last time I compiled a kernel. That is the only thing that has
: changed really that I can think of (heh, not saying much!).

: Now the kernel compiles all the way through and at the end this happens:

:   objdump -k -q  -o 0x100000 /usr/src/linux-2.0.27/vmlinux > $tmppiggy; \
: else \
:   objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux-2.0.27/vmlinux $tmppiggy; \
: fi; \

[snip]

: objdump: illegal option -- k
: Usage: objdump [-ahifCdDprRtTxsSlw] [-b bfdname] [-m machine] [-j section-name]
:        [--archive-headers] [--target=bfdname] [--debugging] [--disassemble]

[much more snip]

: Any tips here would be appreciated, it did compile before. Please copy
: any response to my email as my newsfeed is sucky!

The answer turned out to be having to remove /usr/bin/encaps as I had
neglected to do that following an upgrade of binutils.

Thanks for the helpful response Al!

--Paul T.

--
Calvin and Hobbes (Bill Watterson): "The surest sign that intelligent
life exists elsewhere in the universe is that it has never tried to contact
us."

 
 
 

Make zImage broken

Post by Alexander Vi » Thu, 08 Jan 1998 04:00:00


You have upgraded your binutils. Remove /usr/bin/encaps. Sigh...
                                                Al

 
 
 

Make zImage broken

Post by Mark Godfre » Sun, 11 Jan 1998 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----


> Hello,

[snip]

Quote:> Any tips here would be appreciated, it did compile before. Please
copy
> any response to my email as my newsfeed is sucky!

> Thanks in advance!

        As I remember correctly,  one of the files that is used is no longer
        required,  and therefore breaks the compile process..

        I cannot remember what it was tho...

        Maybe someone else does?

        I can try to find out the next time I boot into Linux.. :)

Mark.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBNLfj4UfrdSwudoX3AQE70QP+MlaDs2z4j4m/W1fJPKM7q0Dg5/nFcsGv
d87BezTNoi11eSKupNRKX5Jzu4cAnmF2f9JvgPuCWMEI6FEQxW9cW6rmJknX8GrR
y36VrAyjY44nNyhmtA5VyY459oo/PthcNh5FPp9KljAQwBFndLJ4kDx0s33syZhM
nqgoYg+BC0o=
=j50v
-----END PGP SIGNATURE-----

 
 
 

Make zImage broken

Post by Michael A. McLenn » Mon, 12 Jan 1998 04:00:00



> -----BEGIN PGP SIGNED MESSAGE-----


> > Hello,

> [snip]

> > Any tips here would be appreciated, it did compile before. Please
> copy
> > any response to my email as my newsfeed is sucky!

> > Thanks in advance!

>    As I remember correctly,  one of the files that is used is no longer
>    required,  and therefore breaks the compile process..

>    I cannot remember what it was tho...

>    Maybe someone else does?

>    I can try to find out the next time I boot into Linux.. :)

> Mark.

rm /usr/bin/encaps ( or wherever it is located ).

Regards
  Mike

 
 
 

Make zImage broken

Post by Alla » Tue, 13 Jan 1998 04:00:00





> > -----BEGIN PGP SIGNED MESSAGE-----


> > > Hello,

> > [snip]

> > > Any tips here would be appreciated, it did compile before. Please
> > copy
> > > any response to my email as my newsfeed is sucky!

> > > Thanks in advance!

Hmm, I changed MB's on my linux box from a 486 to an old P66 I had spare
and
the new machine REFUSED to compile with "make zImage". I poked around a bit
and just used "make bzImage" instead... Whatever works.

Allan.

 
 
 

1. problem with as86 while making zImage

Hello

  this is really a strange thing to me. When I try to
compile the kernel, make stops with an error message like
this "command not found: as86". Sure I tried to find out
what that is. It is something like a assembler. On another
linux box I got this command in /usr/bin. Ok, I then thought
I forgot to install it. as86 seems to be part of the GNU bin-
utils package, so I got that one and installed it. At least
I tried to. Another strange thing happend, maybe because I can-
not handle the rpm command. Giving rpm -i binutil-2.x.rpm to
the shell brought the message package binutils-2.x.rpm already
installed. So I did a rpm --verify packagename.rpm and it said
bintulis-2.x.rpm not installed. I am really not kidding ! This is
true. So I tried to force it with rpm -i --force --nodeps binutils.rpm
and it did soemthing. I don't knwo what ...  ok I tried to compile
again, having as in /usr/bin. I did a make mrproper in /usr/src/linux
and make menuconfig and then make dep, make clean and then make
zImage. After waiting a little while the same message came again.
I really have no idea what to do now. Anyone have any further
ideas ?

   thanks for any replies

       Timo

2. A daily log file with Apache ??

3. error making zImage

4. Asus A7N8X Dlx Nvidia NIC, Netgear FR114P and Suse 8.2

5. Problems making zImage or zdisk..

6. screensaver Red Hat 5.2

7. Problems making zImage: objdump invalid options

8. Problems with diald

9. objdump from binutils-2.7 breaks make zImage 2.0.xx

10. 2.5.42 broke ARM zImage/Image

11. can't find zImage after a make zImage!

12. I can't make zImage with "make zImage"

13. Make broken, top broken, flock errors, kernel modules broken