<font size=2 face="sans-serif">Hello Juha,</font>
<br>
<br><font size=2 face="sans-serif">I have cloned waffle master branch and
still have the issue.</font>
<br><font size=2 face="sans-serif">I am using 64 bit Ubuntu machine to
compile.</font>
<br>
<br><font size=2 face="sans-serif">make and repo sync worked successfully
in android source code without waffle.</font>
<br>
<br><font size=2 face="sans-serif">So only thing different seems to be
the latest android source. </font>
<br><font size=2 face="sans-serif"><br>
Thanks & Regards<br>
Arun S L</font>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Juha-Pekka
Heikkilä <juha-pekka.heikkila@linux.intel.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">"Arun
Sl" <arun.sl@tcs.com></font>
<tr height=8>
<td width=96 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">waffle@lists.freedesktop.org</font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">11/25/2013
05:09 PM</font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Re:
Compiling waffle against latest Android source tree</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
I did try master Waffle branch does compile against JB MR2 without<br>
problems. I did put my computer to fetch latest Android sources to try
out<br>
but it seems syncing of the tree will probably finish sometime tomorrow
or<br>
so.<br>
<br>
/Juha-Pekka<br>
<br>
On Mon, November 25, 2013 11:37 am, Arun Sl wrote:<br>
> Hello All,<br>
><br>
> I am using the latest Android source tree.<br>
> I am getting the following error while doing mm after putting waffle
in<br>
> android source external directory and doing mm.<br>
> Does anyone in the list knows of any solution to the same?<br>
><br>
>> target  Gen: libwaffle <=<br>
> 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<br>
> 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<br>
> 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>
>><br>
> [out/target/product/generic/obj/SHARED_LIBRARIES/libwaffle-1_intermediates/src/waffle/android/droid_surfaceflingerlink.o]<br>
>> Error 1<br>
><br>
<br>
</font></tt>
<br>
<br><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>