Re: [patch] Re: newer version of HTC Dream support

Randy Dunlap
2009-09-13T20:54:37Z

On Sun, 13 Sep 2009 10:37:19 +0200 Pavel Machek wrote:

> Hi!
>
> > > Fix compilation of gpio_* input drivers on -next kernel. Adds needed
> > > headers and removes unprotected wakelock/earlysuspend dependencies.
> > >
> > > Signed-off-by: Pavel Machek <pavel@ucw.cz>
> >
> > Still doesn't build for me, but if it builds for you, that's great.
> > (could be a tool chain problem on my side)
>
> No, it does not look like toolchain problem :-(. I had parts disabled
> in Kconfig. This should make it _compile_ (but not link); somehow
> MSM_ADSP is neccessary for camera to link and I can't see how to
> enable it.
>
> Thanks for the patience.
> Pavel
>
> ---
>
> Add pieces neccessary for compilation of msm_camera.

drivers/staging/dream/camera/msm_camera.c:122: undefined reference to `get_pmem_file'
drivers/staging/dream/camera/msm_camera.c:305: undefined reference to `put_pmem_file'
drivers/staging/dream/camera/msm_vfe7x.c:173: undefined reference to `msm_adsp_enable'
drivers/staging/dream/camera/msm_vfe7x.c:186: undefined reference to `msm_adsp_disable'
drivers/staging/dream/camera/msm_vfe7x.c:195: undefined reference to `msm_adsp_write'
drivers/staging/dream/camera/msm_vfe7x.c:225: undefined reference to `msm_adsp_put'
drivers/staging/dream/camera/msm_vfe7x.c:264: undefined reference to `msm_adsp_get'

hint: CONFIG_MSM_ADSP is not enabled. I don't see a way to enable it.

---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon