2.5.46 compile error

From: Badari Pulavarty (pbadari@us.ibm.com)
Date: Mon Nov 04 2002 - 19:17:27 EST


I get following compile error while trying to compile 2.5.46.
Do I need to get new objcopy (binutils) ?

- Badari

[root@elm3b81 linux-2.5.46]# make
  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=1
make -f scripts/Makefile.build obj=init
  Generating include/linux/compile.h (unchanged)
make -f scripts/Makefile.build obj=usr
objcopy -I binary -O elf32-i386 -B i386 \
        --rename-section .data=.init.initramfs \
        usr/initramfs_data.cpio.gz usr/initramfs_data.o
objcopy: unrecognized option `--rename-section'
Usage: objcopy <switches> in-file [out-file]
 The switches are:
  -I --input-target <bfdname> Assume input file is in format <bfdname>
  -O --output-target <bfdname> Create an output file in format <bfdname>
  -B --binary-architecture <arch> Set arch of output file, when input is binary
  -F --target <bfdname> Set both input and output format to <bfdname>
     --debugging Convert debugging information, if possible
  -p --preserve-dates Copy modified/access timestamps to the output
  -j --only-section <name> Only copy section <name> into the output
  -R --remove-section <name> Remove section <name> from the output
  -S --strip-all Remove all symbol and relocation information
  -g --strip-debug Remove all debugging symbols
     --strip-unneeded Remove all symbols not needed by relocations
  -N --strip-symbol <name> Do not copy symbol <name>
  -K --keep-symbol <name> Only copy symbol <name>
  -L --localize-symbol <name> Force symbol <name> to be marked as a local
  -W --weaken-symbol <name> Force symbol <name> to be marked as a weak
     --weaken Force all global symbols to be marked as weak
  -x --discard-all Remove all non-global symbols
  -X --discard-locals Remove any compiler-generated symbols
  -i --interleave <number> Only copy one out of every <number> bytes
  -b --byte <num> Select byte <num> in every interleaved block
     --gap-fill <val> Fill gaps between sections with <val>
     --pad-to <addr> Pad the last section up to address <addr>
     --set-start <addr> Set the start address to <addr>
    {--change-start|--adjust-start} <incr>
                                   Add <incr> to the start address
    {--change-addresses|--adjust-vma} <incr>
                                   Add <incr> to LMA, VMA and start addresses
    {--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
                                   Change LMA and VMA of section <name> by <val>
     --change-section-lma <name>{=|+|-}<val>
                                   Change the LMA of section <name> by <val>
     --change-section-vma <name>{=|+|-}<val>
                                   Change the VMA of section <name> by <val>
    {--[no-]change-warnings|--[no-]adjust-warnings}
                                   Warn if a named section does not exist
     --set-section-flags <name>=<flags>
                                   Set section <name>'s properties to <flags>
     --add-section <name>=<file> Add section <name> found in <file> to output
     --change-leading-char Force output format's leading character style
     --remove-leading-char Remove leading character from global symbols
     --redefine-sym <old>=<new> Redefine symbol name <old> to <new>
     --srec-len <number> Restrict the length of generated Srecords
     --srec-forceS3 Restrict the type of generated Srecords to S3
  -v --verbose List all object files modified
  -V --version Display this program's version number
  -h --help Display this output
objcopy: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
make[1]: *** [usr/initramfs_data.o] Error 1
make: *** [usr] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:34 EST