<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Ceva asemanator s-a rezolvat dupa ce am inclus la compilare ambele surse<br>(si vmsim.c si common_win.c, adica ce ai facut tu din ce inteleg).<br><br>Verifica faptul ca ai sters fisierele obiect inainte sa refaci compilarea :)<br><br>Matei<br></span></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Daniel CIOCĪRLAN <daniel.ciocirlan1607@cti.pub.ro><br> <b><span style="font-weight: bold;">To:</span></b> "so@cursuri.cs.pub.ro" <so@cursuri.cs.pub.ro> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 23, 2013 11:59 PM<br> <b><span style="font-weight:
bold;">Subject:</span></b> [so] [Tema3][win]Weird linker error dll<br> </font> </div> <div class="y_msg_container"><br><div id="yiv5116594226">
<style type="text/css"><!--#yiv5116594226 P {margin-top:0;margin-bottom:0;}--></style>
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt;">Salut,<br>
<br>
Primesc eroare de linkeditare la dll si nu inteleg de ce:<br>
<br>
Creating library libvmsim.lib and object libvmsim.exp<br>
*vmsim_win.obj* : error LNK2019: unresolved external symbol _w_set_exception_handler referenced in function _vmsim_init<br>
*vmsim_win.obj* : error LNK2019: unresolved external symbol _w_get_previous_exception_handler referenced in function _vmsim_cleanup<br>
<br>
libvmsim.dll : fatal error LNK1120: 2 unresolved externals<br>
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x460'<br>
Stop.<br>
<br>
Am inclus headerele necesare. Ba chiar am dat si cu niste copieri in vmsim_win.c si tot unresolved symbols. Makefile-ul respecta dependentele:<br>
sursa1 -> obj1<br>
sursa2 -> obj2<br>
obj1 + obj2 -> (link) -> lib + dll<br>
<br>
Nu stiu unde gresesc. Are cineva vreo idee?<br>
</div>
</div>
</div><br>_______________________________________________<br><a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a><br><br></div> </div> </div> </div></body></html>