lkml.org 
[lkml]   [2010]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Best place to ask this question: error with compiler.h when switching from 2.6.32 to 2.6.36
From
Date
On Mon, 22 Nov 2010 09:55:14 MST, Derek Nielson said:

> In file included from include/linux/string.h:10,
>                  from
> /mnt/local/home/linux-omap-2.6/arch/arm/include/asm/uaccess.h:14,
>                  from /home/my_module/my_module.c:24:
> include/linux/compiler.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘struct’
> make[2]: *** [/home/my_module/my_module.o] Error 1
> make[1]: *** [_module_/home/my_module] Error 2
> make[1]: Leaving directory `/mnt/local/home/linux-omap-2.6'
> make: *** [release] Error 2

> I found this thread http://lkml.org/lkml/2007/10/17/213 and tried
> following their solution but it didn't fix the problem.
>
> Does anyone know how to fix this error?

What does 'gcc -v' say? And can you give the entire 'make' command that
you issued to do the build?

Other likely possibility is that you haven't done a 'make <something>config' in the
2.6.36 directory tree.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-11-22 19:15    [W:0.037 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site