[so] [Tema3][win]Weird linker error dll

Daniel CIOCÎRLAN daniel.ciocirlan1607 at cti.pub.ro
Tue Apr 23 23:59:29 EEST 2013


Salut,

Primesc eroare de linkeditare la dll si nu inteleg de ce:

Creating library libvmsim.lib and object libvmsim.exp
*vmsim_win.obj* : error LNK2019: unresolved external symbol _w_set_exception_handler referenced in function _vmsim_init
*vmsim_win.obj* : error LNK2019: unresolved external symbol _w_get_previous_exception_handler referenced in function _vmsim_cleanup

libvmsim.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.

Am inclus headerele necesare. Ba chiar am dat si cu niste copieri in vmsim_win.c si tot unresolved symbols. Makefile-ul respecta dependentele:
sursa1 -> obj1
sursa2 -> obj2
obj1 + obj2 -> (link) -> lib + dll

Nu stiu unde gresesc. Are cineva vreo idee?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130423/1017a82e/attachment.html>


More information about the so mailing list