public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Multiple errors while compiling from master
@ 2010-03-15 14:34 Premi, Sanjeev
  2010-03-15 16:03 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Premi, Sanjeev @ 2010-03-15 14:34 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Hi all,

While trying to build kernel from master, I encounter many errors (pasted below).

I believe the reason is missing headers - plat/resource.h and smartreflex.h
...but I couldn't find them in the tree.

premi # ls -l arch/arm/plat-omap/include/plat/res*
ls: No match.
premi # ls -l arch/arm/mach-omap2/smart*
ls: No match.
premi #

I am at commit: a842b5f9ce70e1b738eabb4d719860070180ed1c

Best regards,
Sanjeev


arch/arm/mach-omap2/pm34xx.c:43:27: error: plat/resource.h: No such file or directory
arch/arm/mach-omap2/pm34xx.c:51:25: error: smartreflex.h: No such file or directory
arch/arm/mach-omap2/pm34xx.c:98: error: variable 'prm_setup' has initializer but incomplete type
arch/arm/mach-omap2/pm34xx.c:99: error: unknown field 'clksetup' specified in initializer
arch/arm/mach-omap2/pm34xx.c:99: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:99: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:100: error: unknown field 'voltsetup_time1' specified in initializer
arch/arm/mach-omap2/pm34xx.c:100: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:100: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:101: error: unknown field 'voltsetup_time2' specified in initializer
arch/arm/mach-omap2/pm34xx.c:101: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:101: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:102: error: unknown field 'voltoffset' specified in initializer
arch/arm/mach-omap2/pm34xx.c:102: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:102: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:103: error: unknown field 'voltsetup2' specified in initializer
arch/arm/mach-omap2/pm34xx.c:103: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:103: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:104: error: unknown field 'vdd0_on' specified in initializer
arch/arm/mach-omap2/pm34xx.c:104: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:104: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:105: error: unknown field 'vdd0_onlp' specified in initializer
arch/arm/mach-omap2/pm34xx.c:105: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:105: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:106: error: unknown field 'vdd0_ret' specified in initializer
arch/arm/mach-omap2/pm34xx.c:106: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:106: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:107: error: unknown field 'vdd0_off' specified in initializer
arch/arm/mach-omap2/pm34xx.c:107: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:107: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:108: error: unknown field 'vdd1_on' specified in initializer
arch/arm/mach-omap2/pm34xx.c:108: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:108: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:109: error: unknown field 'vdd1_onlp' specified in initializer
arch/arm/mach-omap2/pm34xx.c:109: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:109: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:110: error: unknown field 'vdd1_ret' specified in initializer
arch/arm/mach-omap2/pm34xx.c:110: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:110: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c:111: error: unknown field 'vdd1_off' specified in initializer
arch/arm/mach-omap2/pm34xx.c:111: warning: excess elements in struct initializer
arch/arm/mach-omap2/pm34xx.c:111: warning: (near initialization for 'prm_setup')
arch/arm/mach-omap2/pm34xx.c: In function 'omap_sram_idle':
arch/arm/mach-omap2/pm34xx.c:411: error: implicit declaration of function 'omap2_gpio_prepare_for_idle'
arch/arm/mach-omap2/pm34xx.c:431: error: implicit declaration of function 'disable_smartreflex'
arch/arm/mach-omap2/pm34xx.c:431: error: 'SR1' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:431: error: (Each undeclared identifier is reported only once
arch/arm/mach-omap2/pm34xx.c:431: error: for each function it appears in.)
arch/arm/mach-omap2/pm34xx.c:433: error: 'SR2' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:508: error: implicit declaration of function 'usb_musb_disable_autoidle'
arch/arm/mach-omap2/pm34xx.c:532: error: implicit declaration of function 'enable_smartreflex'
arch/arm/mach-omap2/pm34xx.c:546: error: implicit declaration of function 'omap3_gpio_restore_pad_context'
arch/arm/mach-omap2/pm34xx.c:551: error: implicit declaration of function 'omap2_gpio_resume_after_idle'
arch/arm/mach-omap2/pm34xx.c: In function 'omap3_pm_init_vc':
arch/arm/mach-omap2/pm34xx.c:1083: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1083: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1084: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1084: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1085: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1085: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1086: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1086: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1087: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1087: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1088: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1088: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1089: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1089: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1090: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1090: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1091: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1091: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1092: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1092: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1093: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1093: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1094: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1094: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c:1095: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1095: error: dereferencing pointer to incomplete type
arch/arm/mach-omap2/pm34xx.c: In function 'configure_vc':
arch/arm/mach-omap2/pm34xx.c:1246: error: 'R_SRI2C_SLAVE_ADDR' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:1246: error: 'OMAP3430_SMPS_SA1_SHIFT' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:1247: error: 'OMAP3430_SMPS_SA0_SHIFT' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:1249: error: 'R_VDD2_SR_CONTROL' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:1250: error: 'R_VDD1_SR_CONTROL' undeclared (first use in this function)
arch/arm/mach-omap2/pm34xx.c:1253: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1254: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1255: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1256: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1259: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1260: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1261: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1262: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1273: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1275: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1277: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1281: error: invalid use of undefined type 'struct prm_setup_vc'
arch/arm/mach-omap2/pm34xx.c:1283: error: invalid use of undefined type 'struct prm_setup_vc'
make[1]: *** [arch/arm/mach-omap2/pm34xx.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

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

* Re: Multiple errors while compiling from master
  2010-03-15 14:34 Multiple errors while compiling from master Premi, Sanjeev
@ 2010-03-15 16:03 ` Tony Lindgren
  2010-03-17  7:17   ` Premi, Sanjeev
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2010-03-15 16:03 UTC (permalink / raw)
  To: Premi, Sanjeev; +Cc: linux-omap@vger.kernel.org

* Premi, Sanjeev <premi@ti.com> [100315 07:30]:
> Hi all,
> 
> While trying to build kernel from master, I encounter many errors (pasted below).
> 
> I believe the reason is missing headers - plat/resource.h and smartreflex.h
> ...but I couldn't find them in the tree.
> 
> premi # ls -l arch/arm/plat-omap/include/plat/res*
> ls: No match.
> premi # ls -l arch/arm/mach-omap2/smart*
> ls: No match.
> premi #
> 
> I am at commit: a842b5f9ce70e1b738eabb4d719860070180ed1c

It should build fine for all omaps now. Maybe do git status and see
if you have something extra applied? Those files are currently
only in Kevin's PM branch.

Regards,

Tony

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

* RE: Multiple errors while compiling from master
  2010-03-15 16:03 ` Tony Lindgren
@ 2010-03-17  7:17   ` Premi, Sanjeev
  0 siblings, 0 replies; 3+ messages in thread
From: Premi, Sanjeev @ 2010-03-17  7:17 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap@vger.kernel.org


> -----Original Message-----
> From: Tony Lindgren [mailto:tony@atomide.com] 
> Sent: Monday, March 15, 2010 9:33 PM
> To: Premi, Sanjeev
> Cc: linux-omap@vger.kernel.org
> Subject: Re: Multiple errors while compiling from master
> 
> * Premi, Sanjeev <premi@ti.com> [100315 07:30]:
> > Hi all,
> > 
> > While trying to build kernel from master, I encounter many 
> errors (pasted below).
> > 
> > I believe the reason is missing headers - plat/resource.h 
> and smartreflex.h
> > ...but I couldn't find them in the tree.
> > 
> > premi # ls -l arch/arm/plat-omap/include/plat/res*
> > ls: No match.
> > premi # ls -l arch/arm/mach-omap2/smart*
> > ls: No match.
> > premi #
> > 
> > I am at commit: a842b5f9ce70e1b738eabb4d719860070180ed1c
> 
> It should build fine for all omaps now. Maybe do git status and see
> if you have something extra applied? Those files are currently
> only in Kevin's PM branch.

Sorry! It was due to wrong commit pushed on the master; did not
realize it earlier.

Verified the build after removing this commit.

Best regards,
Sanjeev

> 
> Regards,
> 
> Tony
> 

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

end of thread, other threads:[~2010-03-17  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 14:34 Multiple errors while compiling from master Premi, Sanjeev
2010-03-15 16:03 ` Tony Lindgren
2010-03-17  7:17   ` Premi, Sanjeev

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