lkml.org 
[lkml]   [2007]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel compilation - errors
Hi,

* Ram <vshrirama@gmail.com> [070108 05:18]:
> Hi,
> Im using linux-2.6.14-omap2430.
>
> Im using TI omap 2430 SDP.
>
> When i compile it with the eldk toolchain.
>
> I get an error listed at the end of this mail.
>
> The error is simple - case values should be constants, However, the
> toolchain gcc 4.0
> is complaining that case values are not constant.
>
> Actually, the some of the case values are defined as -
>
> case (u32)&CM_ICLKEN_WKUP:
> case (u32)&CM_FCLKEN_WKUP:
>
> However, the same code compiles with some other compilers (lower
> versions of gcc).
>
> I think all compilers should give the same error
>
> Why the difference in behaviour?.
>
> Not sure, if the source located at linux.omap.com/pub is broken.
> Couldnt find the sources of linux kernel for omap2430 with higher
> versions of the linux kernel higher than 2.6.14.

Sounds like you're using TI's tree. In that case please contact TI for
support.

If you want to use the current git tree, please see:

http://www.kernel.org/git/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary

and

http://muru.com/linux/omap

Only minimal 2340 code is currently merged in the linux-omap git tree,
so YMMV.

Regards,

Tony
-
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/

\
 
 \ /
  Last update: 2007-01-08 22:21    [W:0.054 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site