<tt><font size=2>Hello All,</font></tt>
<br>
<br><tt><font size=2>I am using the latest Android source tree.</font></tt>
<br><tt><font size=2>I am getting the following error while doing mm after
putting waffle in android source external directory and doing mm.</font></tt>
<br><tt><font size=2>Does anyone in the list knows of any solution to the
same?<br>
<br>
> target  Gen: libwaffle <= external/waffle/include/waffle/waffle_version.h<br>
> Header: out/target/product/generic/obj/include/waffle-1/waffle_version.h<br>
> target thumb C++: libwaffle-1 <=<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp<br>
> In file included from frameworks/native/include/utils/RefBase.h:27:0,<br>
>                  from
frameworks/native/include/binder/IBinder.h:21,<br>
>                  from<br>
> frameworks/native/include/gui/SurfaceComposerClient.h:23,<br>
>                  from<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:<br>
> frameworks/native/include/utils/StrongPointer.h: In instantiation
of<br>
> 'android::sp<T>::~sp() [with T = android::Surface]':<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:139:72:<br>
> required from here<br>
> frameworks/native/include/utils/StrongPointer.h:149:16: error: invalid
use<br>
> of incomplete type 'class android::Surface'<br>
>      if (m_ptr) m_ptr->decStrong(this);<br>
>                 ^<br>
> In file included from<br>
> frameworks/native/include/gui/IGraphicBufferProducer.h:29:0,<br>
>                  from
frameworks/native/include/gui/BufferQueue.h:24,<br>
>                  from
frameworks/native/include/gui/ConsumerBase.h:20,<br>
>                  from
frameworks/native/include/gui/CpuConsumer.h:20,<br>
>                  from<br>
> frameworks/native/include/gui/SurfaceComposerClient.h:33,<br>
>                  from<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:<br>
> frameworks/native/include/ui/GraphicBuffer.h:126:18: error: forward<br>
> declaration of 'class android::Surface'<br>
>      friend class Surface;<br>
>                   ^<br>
> In file included from frameworks/native/include/utils/RefBase.h:27:0,<br>
>                  from
frameworks/native/include/binder/IBinder.h:21,<br>
>                  from<br>
> frameworks/native/include/gui/SurfaceComposerClient.h:23,<br>
>                  from<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:<br>
> frameworks/native/include/utils/StrongPointer.h: In instantiation
of<br>
> 'android::sp<T>& android::sp<T>::operator=(const android::sp<U>&)
[with U<br>
> = android::Surface; T = ANativeWindow]':<br>
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:139:27:<br>
> required from here<br>
> frameworks/native/include/utils/StrongPointer.h:173:28: error: cannot<br>
> convert 'android::Surface* const' to 'ANativeWindow*' in initialization<br>
>      T* otherPtr(other.m_ptr);<br>
>                    
        ^<br>
> make: ***<br>
> [out/target/product/generic/obj/SHARED_LIBRARIES/libwaffle-1_intermediates/src/waffle/android/droid_surfaceflingerlink.o]<br>
> Error 1</font></tt>
<br><font size=2 face="sans-serif"><br>
Thanks & Regards<br>
Arun S L</font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>