public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.38 Cant compile
@ 2011-03-18 20:19 Jonathan Andrews
  2011-03-18 22:39 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Andrews @ 2011-03-18 20:19 UTC (permalink / raw)
  To: linux-kernel

I didn't get very far... 

Sorry for posting here but google shed no light on this

Any constructive comments welcome.

Cheers,
Jon

# make
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from /usr/src/linux-2.6.38/arch/x86/include/asm/bitops.h:449,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:17,
                 from /usr/src/linux-2.6.38/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-2.6.38/arch/x86/include/asm/current.h:5,
                 from /usr/src/linux-2.6.38/arch/x86/include/asm/processor.h:15,
                 from /usr/src/linux-2.6.38/arch/x86/include/asm/atomic.h:6,
                 from include/linux/crypto.h:20,
                 from arch/x86/kernel/asm-offsets_32.c:7,
                 from arch/x86/kernel/asm-offsets.c:2:
/usr/src/linux-2.6.38/arch/x86/include/asm/arch_hweight.h: In function `__arch_hweight32':
/usr/src/linux-2.6.38/arch/x86/include/asm/arch_hweight.h:29: parse error before string constant
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

# gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




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

* Re: 2.6.38 Cant compile
  2011-03-18 20:19 2.6.38 Cant compile Jonathan Andrews
@ 2011-03-18 22:39 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2011-03-18 22:39 UTC (permalink / raw)
  To: Jonathan Andrews; +Cc: linux-kernel

On Fri, Mar 18, 2011 at 08:19:22PM +0000, Jonathan Andrews wrote:
> I didn't get very far... 
> 
> Sorry for posting here but google shed no light on this
> 
> Any constructive comments welcome.
> 
> Cheers,
> Jon
> 
> # make
>   CHK     include/linux/version.h
>   CHK     include/generated/utsrelease.h
>   CC      arch/x86/kernel/asm-offsets.s
> In file included from /usr/src/linux-2.6.38/arch/x86/include/asm/bitops.h:449,
>                  from include/linux/bitops.h:22,
>                  from include/linux/kernel.h:17,
>                  from /usr/src/linux-2.6.38/arch/x86/include/asm/percpu.h:44,
>                  from /usr/src/linux-2.6.38/arch/x86/include/asm/current.h:5,
>                  from /usr/src/linux-2.6.38/arch/x86/include/asm/processor.h:15,
>                  from /usr/src/linux-2.6.38/arch/x86/include/asm/atomic.h:6,
>                  from include/linux/crypto.h:20,
>                  from arch/x86/kernel/asm-offsets_32.c:7,
>                  from arch/x86/kernel/asm-offsets.c:2:
> /usr/src/linux-2.6.38/arch/x86/include/asm/arch_hweight.h: In function `__arch_hweight32':
> /usr/src/linux-2.6.38/arch/x86/include/asm/arch_hweight.h:29: parse error before string constant
> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2

Hmm, that happened in the ALTERNATIVE() macro. Could be a config
problem. Could you send me you .config you used.


> 
> # gcc --version
> gcc (GCC) 3.2.2

This is also a pretty old gcc. Pretty much all distros are on 4.*

-- Steve


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

end of thread, other threads:[~2011-03-18 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 20:19 2.6.38 Cant compile Jonathan Andrews
2011-03-18 22:39 ` Steven Rostedt

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