public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Compile failure 'Bad ELF' ??
@ 2011-03-03 23:00 Ben Greear
  2011-03-03 23:19 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2011-03-03 23:00 UTC (permalink / raw)
  To: linux-kernel

I just merged in wireless-testing 2.6.38-rc7 and I'm getting
a strange build error.  This tree has a bunch of my own hacks
in it too...

[greearb@build-32 wireless-testing-ct.p4s]$ make bzImage
make -C /home/greearb/git/linux.wireless-testing-ct O=/home/greearb/kernel/2.6/wireless-testing-ct.p4s/. bzImage
   GEN     /home/greearb/kernel/2.6/wireless-testing-ct.p4s/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
   Using /home/greearb/git/linux.wireless-testing-ct as source for kernel
   GEN     /home/greearb/kernel/2.6/wireless-testing-ct.p4s/Makefile
   CHK     include/linux/version.h
   CHK     include/generated/utsrelease.h
   CALL    /home/greearb/git/linux.wireless-testing-ct/scripts/checksyscalls.sh
   MKELF   scripts/mod/elfconfig.h
Error: not ELF
make[4]: *** [scripts/mod/elfconfig.h] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2


It appears to have something to do with how things are configured,
as I was able to build a more stripped-down version for the C3 kernel
from the same source tree.

Any ideas on what sort of thing can cause this?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile failure 'Bad ELF' ??
  2011-03-03 23:00 Compile failure 'Bad ELF' ?? Ben Greear
@ 2011-03-03 23:19 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2011-03-03 23:19 UTC (permalink / raw)
  To: linux-kernel

On 03/03/2011 03:00 PM, Ben Greear wrote:
> I just merged in wireless-testing 2.6.38-rc7 and I'm getting
> a strange build error. This tree has a bunch of my own hacks
> in it too...

Bleh, my fault.  I didn't realize I was using a shell that had previously
defined CC to be mingw.  Guess you can't cross-compile Linux to
windows :)

Sorry.

Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 23:00 Compile failure 'Bad ELF' ?? Ben Greear
2011-03-03 23:19 ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox