Re: kernel compilation - errors

From: Tony Lindgren
Date: Mon Jan 08 2007 - 15:30:00 EST


Hi,

* Ram <vshrirama@xxxxxxxxx> [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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/