<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:10pt"><div id="yiv3441865461"><div><div style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:10pt;"><div id="yiv3441865461yui_3_13_0_ym1_9_1395085538738_8"><br clear="none"><br clear="none">>Întrucât compilezi cu -m32 pe platformă x86_64, îți trebuie libc6-i386<br clear="none">>și gcc-multilib, pe lângă asta s-ar putea să mai ai nevoie de ceva<br clear="none">>pachete.<br clear="none">><br id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15425" clear="none">>Victor.</div><div id="yiv3441865461yui_3_13_0_ym1_9_1395085538738_28" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:lucida console, sans-serif;background-color:transparent;font-style:normal;"><br id="yiv3441865461yui_3_13_0_ym1_9_1395085538738_32" clear="none"></div><div id="yiv3441865461yui_3_13_0_ym1_9_1395085538738_29"
style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:lucida console, sans-serif;background-color:transparent;font-style:normal;"><div><span>gcc-multilib imi lipsea. Multumesc!</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:lucida console, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><span>Claudiu</span></div><div class="yiv3441865461yqt5308972737" id="yiv3441865461yqt28464"><div class="yiv3441865461yahoo_quoted" id="yiv3441865461yui_3_13_0_ym1_9_1395085538738_10" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15189" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15451" style="font-family:lucida console, sans-serif;font-size:10pt;"> <div class="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15190" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15450" style="font-family:HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15459"> <font id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15460" face="Arial" size="2"> On Monday, March 17, 2014 10:19 PM, Claudiu Olteanu <olteanu.claudiu@ymail.com> wrote:<br clear="none"> </font> </div> <div class="yiv3441865461y_msg_container" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15449"><div id="yiv3441865461"><div id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15448"><div class="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15192" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15447" style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:10pt;">Am instalat si pachetul libgcc1 :).<br clear="none"><br clear="none">Multumesc oricum!<br clear="none">Claudiu<br clear="none"><div id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15446"><span><br
clear="none"></span></div><div><span></span></div><div class="yiv3441865461yqt2452724788" id="yiv3441865461yqt67336"><div class="yiv3441865461yahoo_quoted" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15455" style="display:block;"> <br clear="none"> <br clear="none"> <div class="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15194" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15454" style="font-family:lucida console, sans-serif;font-size:10pt;"> <div class="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15195" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15453" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15457"> <font id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15458" face="Arial" size="2"> On Monday, March 17, 2014 10:15 PM, Victor Dodon <dodonvictor@gmail.com> wrote:<br clear="none"> </font> </div> <div
class="yiv3441865461y_msg_container" id="yiv3441865461yui_3_13_0_ym1_1_1395085538738_15452">2014-03-17 22:00 GMT+02:00 Claudiu Olteanu <<a rel="nofollow" shape="rect" ymailto="mailto:olteanu.claudiu@ymail.com" target="_blank" href="mailto:olteanu.claudiu@ymail.com">olteanu.claudiu@ymail.com</a>>:<br clear="none">> Salut,<br clear="none">><br clear="none">> Dupa ce am facut update la masina virtuala, primesc urmatoarea eroare in<br clear="none">> urma unui apel write_lock():<br clear="none">> BUG: rwlock bad magic on CPU#0, insmod/895, c8878628<br clear="none">> CPU: 0 PID: 895 Comm: insmod Tainted: G 0 3.13.0 #20<br clear="none">> [.....]<br clear="none">> Call Trace:<br clear="none">> [<c175dacc>] dump_stack+0x41/0x52<br clear="none">> [<c175af0c>] rwlock_bug +0x57/0x5e<br clear="none">> [<c107cd2d>] do_raw_read_lock+0x2d/0x30<br clear="none">> [<c1766eaf>]
_raw_read_lock+03f/0x50<br clear="none">> [....]<br clear="none">><br clear="none">> De asemenea, atunci cand incerc sa compilez testele primesc la final:<br clear="none">> cp _helper/tracer_helper.ko .<br clear="none">> cc -Wall -g -m32 -static -o tracer_test _test/tracer_test.o<br clear="none">> /usr/bin/ld: skipping
incompatible<br clear="none">> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc<br clear="none">> /usr/bin/ld: cannot find -lgcc<br clear="none">> /usr/bin/ld: skipping incompatible<br clear="none">> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_eh.a when searching for -lgcc_eh<br clear="none">> /usr/bin/ld: cannot find -lgcc_eh<br clear="none">><br clear="none"><br clear="none">Pentru asta s-ar putea să ai nevoie de pachetul libgcc1.<br clear="none"><br clear="none">Victor.<div class="yiv3441865461yqt5116334043" id="yiv3441865461yqtfd49806"><br clear="none"><br clear="none">> iar atunci cand incerc sa inserez modulul tracer_helper.ko mi se genereaza<br clear="none">> urmatoarea eroare:<br clear="none">> "unknown symbol in module, or unknown parameter".<br clear="none">><br clear="none">> versiunea compilatorului este gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1<br clear="none">><br clear="none">> Aveti
idee cum as putea rezolva
problemele?<br clear="none">><br clear="none">> Multumesc,<br clear="none">> Claudiu</div><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii">http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii</a><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div></div></body></html>