<br>Un astfel de rezultat ai obtine daca la linkarea pentru libMonitor.so<br> nu ai linka si ControlMonitor.o<br> <br><b><i>Andreea Fulger <andreea.fulger@gmail.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Buna seara!<br> <br> Am implementat tema in C++ si incercand sa rulez tema am dat peste erori de genul:<br> ...<br> LibMonitor.so: undefined reference to `IncSignal()'<br> LibMonitor.so: undefined reference to `IncCond(int)'<br> LibMonitor.so: undefined reference to `IncEnter()'<br> LibMonitor.so: undefined reference to `IncWait()'<br> ...<br> asta dupa ce toate fisierele sunt compilate.<br> <br> Daca redenumesc fisierul ControlMonitor.c cu extensia .cpp acestea nu mai apar, in schimb apar <br> <br> _test/Test2.o: In function `FunctieA':<br> Test2.c:(.text+0x7d): undefined reference to `Verifica'<br> _test/Test2.o: In function `FunctieB':<br> Test2.c:(.text+0x15d): undefined
reference to `Verifica'<br> collect2: ld returned 1 exit status<br> <br> Am implementat doar partea de monitor asa ca am eliminat tot ce avea legatura cu partea de RW. <br> <br> Gresesc eu pe undeva sau e ceva in neregula cu Makefile.checker-ul?<br> _______________________________________________<br>so mailing list<br>so@cursuri.cs.pub.ro<br>http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so<br></blockquote><br><p> 
<hr size=1>Access over 1 million songs - <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited.</a>