I'm trying to build a GSM MAP plugin under Windows 2K, using VS.NET C++.
The plugin uses asn1 functions and I'm not sure how to setup a
Makefile.nmake
file. (Under Solaris I didn't do anything special to Makefile.)
I tried adding ..\..\asn1.obj which required I add ..\..\epan\ethereal.lib
but now I get the following messages:
link -dll /out:gsm_map.dll packet-gsm_map.obj ..\plugin_api.obj
..\..\a
sn1.obj ..\..\epan\ethereal.lib
C:\ethereal-win32-libs\glib\lib\glib-2.0.lib
C:\ethereal-win32-libs\glib\lib\gmodule-2.0.lib
C:\ethereal-win32-libs\glib\lib
\gobject-2.0.lib
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library gsm_map.lib and object gsm_map.exp
asn1.obj : error LNK2019: unresolved external symbol __imp___snprintf
referenced
in function _asn1_err_to_str
ethereal.lib(tvbuff.obj) : error LNK2019: unresolved external symbol
__imp__strn
cmp referenced in function _tvb_strneql
ethereal.lib(tvbuff.obj) : error LNK2019: unresolved external symbol
__imp__strn
icmp referenced in function _tvb_strncaseeql
OLDNAMES.lib(strnicmp.obi) : error LNK2001: unresolved external symbol
__imp__st
rnicmp
ethereal.lib(except.obj) : error LNK2019: unresolved external symbol
__imp___ass
ert referenced in function _except_init
ethereal.lib(except.obj) : error LNK2019: unresolved external symbol
__imp__abor
t referenced in function _unhandled_catcher
ethereal.lib(except.obj) : error LNK2019: unresolved external symbol
__imp__fpri
ntf referenced in function _unhandled_catcher
ethereal.lib(except.obj) : error LNK2001: unresolved external symbol
__imp___iob
ethereal.lib(except.obj) : error LNK2019: unresolved external symbol
__imp__long
jmp referenced in function _do_throw
ethereal.lib(except.obj) : error LNK2019: unresolved external symbol
__imp__vspr
intf referenced in function _except_throwf
ethereal.lib(strutil.obj) : error LNK2019: unresolved external symbol
__imp__mem
chr referenced in function _find_line_end
OLDNAMES.lib(strnicmp.obi) : error LNK2001: unresolved external symbol
__imp___s
trnicmp
gsm_map.dll : fatal error LNK1120: 11 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
--
Michael Lum Architect
4600 Jacombs Road (604) 276-0055
Richmond, B.C.
Canada V6V 3B1
Telos Technology
Winner of the 2003 GSM Association Award
for Technology Innovation
Best Infrastructure