<div dir="ltr">This is exactly what I did n ya it did solve my prob but now I have a new 1. I'm unable to install amarok with the google mock support. I have installed gmock and gtest but still I get a error in make (no error in cmake). It is:<div>

<div> error: ‘template<class T> std::string testing::PrintToString(const T&)’ previously declared here</div><div>make[2]: *** [tests/CMakeFiles/testtrackorganizer.dir/TestTrackOrganizer.o] Error 1</div><div>make[1]: *** [tests/CMakeFiles/testtrackorganizer.dir/all] Error 2</div>

</div><div><br></div><div style>Please help me with this. Thanks in advance :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 2:55 PM, Nilendu Das <span dir="ltr"><<a href="mailto:nilendudas1422@gmail.com" target="_blank">nilendudas1422@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I also had the same sort of problem.<br>
My error was :<br>
<div class="im"><br>
Linking CXX shared module<br>
> ../../../../../../lib/amarok_collection-mysqlecollection.so<br>
</div>> /usr/bin/ld: cannot find -laio<br>
<br>
I am using fedora 17.<br>
What i did was as follows:-<br>
step 1 > yum search laio<br>
i got a list of all laio related elements that can be downloaded.<br>
Then I did;-<br>
yum install 'laio' and related 'laio-devel' .<br>
<br>
This process solves the errors most of the times.<br>
I think this will solve your problem.<br>
Good luck.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 2/21/13, Myriam Schweingruber <<a href="mailto:myriam@kde.org">myriam@kde.org</a>> wrote:<br>
> On Thu, Feb 21, 2013 at 8:29 AM, vedant agarwala <<a href="mailto:vedant.kota@gmail.com">vedant.kota@gmail.com</a>><br>
> wrote:<br>
>> I was able to build and run amarok. However, when I cmake with the flag<br>
>> (for<br>
>> using gmock), cmake was completed successfully but "make" produced many<br>
>> errors all related to gmock or gtest. Could you please tell me the<br>
>> dependencies for the same<br>
><br>
> Did you do a clean build? And did you follow the blog I pasted last<br>
> time? Please follow that by the letter, if you do that it can't fail.<br>
><br>
> Regards, Myriam<br>
> --<br>
> Proud member of the Amarok and KDE Community<br>
> Protect your freedom and join the Fellowship of FSFE:<br>
> <a href="http://www.fsfe.org" target="_blank">http://www.fsfe.org</a><br>
> Please don't send me proprietary file formats,<br>
> use ISO standard ODF instead (ISO/IEC 26300)<br>
> _______________________________________________<br>
> Amarok-devel mailing list<br>
> <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/amarok-devel" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
><br>
_______________________________________________<br>
Amarok-devel mailing list<br>
<a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/amarok-devel" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
</div></div></blockquote></div><br></div>