public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Build error with latest GIT tree
@ 2006-07-11 14:57 Hunter, Jon
  0 siblings, 0 replies; 4+ messages in thread
From: Hunter, Jon @ 2006-07-11 14:57 UTC (permalink / raw)
  To: linux-omap-open-source

Is anyone seeing the following build error with the latest GIT tree?
Seemed similar to the following issue, but the exact error looks
different:
http://linux.omap.com/pipermail/linux-omap-open-source/2006-June/007473.
html


CC      arch/arm/mach-omap1/clock.o
arch/arm/mach-omap1/clock.c: In function `omap1_late_clk_reset':
arch/arm/mach-omap1/clock.c:609: error: `clocks' undeclared (first use
in this function)
arch/arm/mach-omap1/clock.c:609: error: (Each undeclared identifier is
reported only once
arch/arm/mach-omap1/clock.c:609: error: for each function it appears
in.)
make[1]: *** [arch/arm/mach-omap1/clock.o] Error 1
make: *** [arch/arm/mach-omap1] Error 2

Cheers,
Jon

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

* RE: Build error with latest GIT tree
@ 2006-07-11 16:11 Hunter, Jon
  2006-07-12  5:06 ` Dirk Behme
  2006-07-12 14:11 ` Kevin Hilman
  0 siblings, 2 replies; 4+ messages in thread
From: Hunter, Jon @ 2006-07-11 16:11 UTC (permalink / raw)
  To: linux-omap-open-source

I did a diff between the clock.h file in the include/asm/arch/ directory
and found the following differences between v2.6.17 and v2.6.17-rc6
(which I belive is the latest);

--- include/asm/arch/clock.h    2006-07-11 10:45:46.000000000 -0500
+++ ../linux-omap-2.6.git/include/asm/arch/clock.h      2006-07-10
16:34:40.000000000 -0500
@@ -48,8 +48,6 @@
 };

 extern unsigned int mpurate;
-extern struct list_head clocks;
-extern spinlock_t clockfw_lock;

I believe the removal of "clocks" variable is why the compiler is
complaining below. Let me know if you have any thoughts.

Cheers,
Jon


 
> Is anyone seeing the following build error with the latest GIT tree?
> Seemed similar to the following issue, but the exact error looks
> different:
> http://linux.omap.com/pipermail/linux-omap-open-source/2006-Ju
> ne/007473.
> html
> 
> 
> CC      arch/arm/mach-omap1/clock.o
> arch/arm/mach-omap1/clock.c: In function `omap1_late_clk_reset':
> arch/arm/mach-omap1/clock.c:609: error: `clocks' undeclared 
> (first use in this function)
> arch/arm/mach-omap1/clock.c:609: error: (Each undeclared 
> identifier is reported only once
> arch/arm/mach-omap1/clock.c:609: error: for each function it appears
> in.)
> make[1]: *** [arch/arm/mach-omap1/clock.o] Error 1
> make: *** [arch/arm/mach-omap1] Error 2
> 
> Cheers,
> Jon
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 

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

* Re: Build error with latest GIT tree
  2006-07-11 16:11 Build error with latest GIT tree Hunter, Jon
@ 2006-07-12  5:06 ` Dirk Behme
  2006-07-12 14:11 ` Kevin Hilman
  1 sibling, 0 replies; 4+ messages in thread
From: Dirk Behme @ 2006-07-12  5:06 UTC (permalink / raw)
  To: Hunter, Jon, Kevin Hilman; +Cc: linux-omap-open-source

Hunter, Jon wrote:
> I did a diff between the clock.h file in the include/asm/arch/ directory
> and found the following differences between v2.6.17 and v2.6.17-rc6
> (which I belive is the latest);
> 
> --- include/asm/arch/clock.h    2006-07-11 10:45:46.000000000 -0500
> +++ ../linux-omap-2.6.git/include/asm/arch/clock.h      2006-07-10
> 16:34:40.000000000 -0500
> @@ -48,8 +48,6 @@
>  };
> 
>  extern unsigned int mpurate;
> -extern struct list_head clocks;
> -extern spinlock_t clockfw_lock;
> 
> I believe the removal of "clocks" variable is why the compiler is
> complaining below. Let me know if you have any thoughts.

For me, recent git compiles okay regarding this for OSK. 
Seems that I use

# CONFIG_OMAP_RESET_CLOCKS is not set

and therefore the failing part isn't used by me.

Kevin, any idea? Do we have to readd

extern struct list_head clocks;

if CONFIG_OMAP_RESET_CLOCKS is enabled?

Jon: Try to disable CONFIG_OMAP_RESET_CLOCKS for the moment.

Regards

Dirk

>>Is anyone seeing the following build error with the latest GIT tree?
>>Seemed similar to the following issue, but the exact error looks
>>different:
>>http://linux.omap.com/pipermail/linux-omap-open-source/2006-Ju
>>ne/007473.
>>html
>>
>>
>>CC      arch/arm/mach-omap1/clock.o
>>arch/arm/mach-omap1/clock.c: In function `omap1_late_clk_reset':
>>arch/arm/mach-omap1/clock.c:609: error: `clocks' undeclared 
>>(first use in this function)
>>arch/arm/mach-omap1/clock.c:609: error: (Each undeclared 
>>identifier is reported only once
>>arch/arm/mach-omap1/clock.c:609: error: for each function it appears
>>in.)
>>make[1]: *** [arch/arm/mach-omap1/clock.o] Error 1
>>make: *** [arch/arm/mach-omap1] Error 2
>>
>>Cheers,
>>Jon
>>_______________________________________________
>>Linux-omap-open-source mailing list
>>Linux-omap-open-source@linux.omap.com
>>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>>
> 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 

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

* RE: Build error with latest GIT tree
  2006-07-11 16:11 Build error with latest GIT tree Hunter, Jon
  2006-07-12  5:06 ` Dirk Behme
@ 2006-07-12 14:11 ` Kevin Hilman
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2006-07-12 14:11 UTC (permalink / raw)
  To: Hunter, Jon; +Cc: linux-omap-open-source

This was caused by a cleanup I did for gcc4 compatability and I
admittedly did not test w/CONFIG_OMAP_RESET_CLOCKS.  Oops.

I've pushd a fix for this and compile tested for gcc3 and gcc4, with and
without CONFIG_OMAP_RESET_CLODKS.

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=64929d882591a213cb51407992f28c42121b2f7d

Kevin

On Tue, 2006-07-11 at 11:11 -0500, Hunter, Jon wrote:
> I did a diff between the clock.h file in the include/asm/arch/ directory
> and found the following differences between v2.6.17 and v2.6.17-rc6
> (which I belive is the latest);
> 
> --- include/asm/arch/clock.h    2006-07-11 10:45:46.000000000 -0500
> +++ ../linux-omap-2.6.git/include/asm/arch/clock.h      2006-07-10
> 16:34:40.000000000 -0500
> @@ -48,8 +48,6 @@
>  };
> 
>  extern unsigned int mpurate;
> -extern struct list_head clocks;
> -extern spinlock_t clockfw_lock;
> 
> I believe the removal of "clocks" variable is why the compiler is
> complaining below. Let me know if you have any thoughts.
> 
> Cheers,
> Jon
> 
> 
>  
> > Is anyone seeing the following build error with the latest GIT tree?
> > Seemed similar to the following issue, but the exact error looks
> > different:
> > http://linux.omap.com/pipermail/linux-omap-open-source/2006-Ju
> > ne/007473.
> > html
> > 
> > 
> > CC      arch/arm/mach-omap1/clock.o
> > arch/arm/mach-omap1/clock.c: In function `omap1_late_clk_reset':
> > arch/arm/mach-omap1/clock.c:609: error: `clocks' undeclared 
> > (first use in this function)
> > arch/arm/mach-omap1/clock.c:609: error: (Each undeclared 
> > identifier is reported only once
> > arch/arm/mach-omap1/clock.c:609: error: for each function it appears
> > in.)
> > make[1]: *** [arch/arm/mach-omap1/clock.o] Error 1
> > make: *** [arch/arm/mach-omap1] Error 2
> > 
> > Cheers,
> > Jon
> > _______________________________________________
> > Linux-omap-open-source mailing list
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> > 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

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

end of thread, other threads:[~2006-07-12 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 16:11 Build error with latest GIT tree Hunter, Jon
2006-07-12  5:06 ` Dirk Behme
2006-07-12 14:11 ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2006-07-11 14:57 Hunter, Jon

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