Re: objdump flags associated with 2.0.33 kernel compliation

Jim Bourne (jbourne@island.net)
Tue, 17 Mar 1998 18:38:30 -0800 (PST)


On Tue, 17 Mar 1998, Woody wrote:

> After recompiling my 2.0.33 kernel in order to compile pppd2.3.3 into
> it, I ran into the following error near the end of
> compliation.....I know what the problem is, I even traced it down to the
> Makefile, but from there I am clueless to which flags in objdump are
> similiar to the older version of it....I need the alternatives to
> "objdump -k -r "....objdump spits out that -k is an illegal option. I'm
> not sure if "-r" is one of them....I just really noticed "-k"....even
> though, in the Makefile, those flags are determined by $OBJFLAGS......if
> someone could tell me what the alternative switch is to this, I would
> appreciate it....ThanX....
>

Not sure if this is the right way (tm) to do it, but I found changing the
OBJDUMP var in /usr/src/linux/arch/i386/Makefile to the same as OBJCOPY
and removing the OBJDUMP_FLAGS worked.

from /usr/src/linux/arch/i386/Makefile (lines 40+41)

OBJDUMP=$(CROSS_COMPILE)objcopy -O binary -R .note -R .comment -S
OBJDUMP_FLAGS=

Then in /usr/src/linux/arch/i386/boot/Makefile change (line 22)

$(OBJDUMP) $(OBJDUMP_FLAGS) -o $(ZIMAGE_OFFSET) compressed/vmlinux > compressed/vmlinux.out; \

to

$(OBJDUMP) compressed/vmlinux compressed/vmlinux.out; \

It's a hack but it worked.

Regards
Jim
>
>
> --
> Woody
> woody@abcs.com
> "Give me an underground laboratory, half a dozen atom smashers, and a
> beautiful girl in a diaphanous veil waiting to be turned into a
> chimpanzee, and I care not who writes the nations laws!"
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
>

--
James Bourne           |            E-Mail:             jbourne@island.net
System Administrator   |            WWW:             http://www.island.net
Island Internet Inc.   |            Linux - The choice of a GNU generation

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu