<div dir="ltr">Dear Wawrzek,<div><br></div><div style>thank you for your answer. Yes, at some point I thought of compiling liblxcstats from your given</div><div style>repo, but after successfully configuring the code, I get some errors during make:</div>
<div style><div># cd build/</div><div># VERBOSE=1 make</div><div>...</div><div><div>Linking C executable test_browse_containers</div><div>cd /root/dotcloud-liblxcstats/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_browse_containers.dir/link.txt --verbose=1</div>
<div>/usr/bin/gcc -O3 -DNDEBUG -fPIC CMakeFiles/test_browse_containers.dir/browse_containers.c.o -o test_browse_containers -rdynamic ../liblxcstats.so.0.0.1 -llxc /lib64/libcap.so -Wl,-rpath,/root/dotcloud-liblxcstats/build:/lib64 </div>
<div><b>../liblxcstats.so.0.0.1: undefined reference to `lxc_browse'</b></div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [tests/test_browse_containers] Error 1</div><div>make[2]: Leaving directory `/root/dotcloud-liblxcstats/build'</div>
<div>make[1]: *** [tests/CMakeFiles/test_browse_containers.dir/all] Error 2</div><div>make[1]: Leaving directory `/root/dotcloud-liblxcstats/build'</div><div>make: *** [all] Error 2</div></div><div><br></div><div style>
Best regards,</div><div style>Mike</div></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 9:37 AM, Wawrzek Niewodniczanski <span dir="ltr"><<a href="mailto:main@wawrzek.name" target="_blank">main@wawrzek.name</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10 June 2013 15:04, Michael Sioutis <<a href="mailto:papito.dit@gmail.com">papito.dit@gmail.com</a>> wrote:<br>
> Dear developers,<br>
><br>
Hi,<br>
<div class="im"><br>
> I am trying to compile collectd with lxc enabled.<br>
><br>
> I have cloned the following repo in a 64bit Fedora 12 (Constantine) machine:<br>
<br>
</div>Maybe a bit of off-topic, but Fedora 12 is not supported and I suggest<br>
you to move to newer version ASAP!<br>
<br>
[...]<br>
<div class="im">> but the main issues are the following:<br>
</div>[...]<br>
<div class="im"><br>
> liblxcstats . . . . . no (lxcstats.h not found)<br>
<br>
</div>Have you found that file on your system?<br>
<br>
It seems that lxcstats.h is from here.<br>
<a href="https://bitbucket.org/dotcloud/liblxcstats/src" target="_blank">https://bitbucket.org/dotcloud/liblxcstats/src</a><br>
<br>
Have you install it?<br>
<br>
Cheers,<br>
Wawrzek<br>
<br>
--<br>
Dr Wawrzyniec Niewodniczañski or Wawrzek for short<br>
PhD in Quantum Chemistry & MSc in Molecular Engineering<br>
WWW: <a href="http://wawrzek.name" target="_blank">http://wawrzek.name</a> E-MAIL: <a href="mailto:jobs@wawrzek.name">jobs@wawrzek.name</a><br>
Linux User #177124<br>
</blockquote></div><br></div>