On 11/4/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote:
> You continue to copy your .config to the source directory.
> But not to the target directory.
> .config SHALL be copied to the target directory.
> .config must NOT be copied to the source directory.
>
>         Sam

Having moved past my immediate literacy challenge, we move to the next:

localhost linux # rm -rf ../targ/ && mkdir ../targ && make mrproper &&
cat /proc/config.gz | gunzip > ../targ/.config && make O=../targ
CFLAGS=-E
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  GEN     /usr/src/targ/Makefile
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig.i386
drivers/net/Kconfig:1887:warning: 'select' used by config symbol
'FEC_MPC52xx' refers to undefined symbol 'PPC_BESTCOMM'
drivers/net/Kconfig:1888:warning: 'select' used by config symbol
'FEC_MPC52xx' refers to undefined symbol 'PPC_BESTCOMM_FEC'
  Using /usr/src/linux-2.6.24-rc1-git10 as source for kernel
  GEN     /usr/src/targ/Makefile
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/asm-x86/asm-offsets.h
  CALL    /usr/src/linux-2.6.24-rc1-git10/scripts/checksyscalls.sh
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
Error: not ELF
make[3]: *** [scripts/mod/elfconfig.h] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
make: *** [sub-make] Error 2

--------------------------8<------------------------------
Dropping  CFLAGS=-E permits compilation to proceed normally.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to