NetXMS Support Forum

Development => Windows => Topic started by: antonyvasanth on December 03, 2008, 12:25:13 PM

Title: error2: external symbol error while creating libnetxms.dll in VC6 environment
Post by: antonyvasanth on December 03, 2008, 12:25:13 PM
Hi victor,

Please help me out on resolving the following problem . Thanks in advance

1.
nxconfig.exe - 0 error(s), 0 warning(s)
--------------------Configuration: nxcore - Win32 Debug--------------------
Compiling .\nxmp_parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.

2.

ibnetxms.dll - 4 error(s), 0 warning(s)
--------------------Configuration: libnxcl - Win32 Debug--------------------
Linking...
   Creating library Debug/libnxcl.lib and object Debug/libnxcl.exp
comm.obj : error LNK2001: unresolved external symbol __imp__SetupEncryptionContext
main.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
session.obj : error LNK2001: unresolved external symbol __imp__DestroyEncryptionContext
session.obj : error LNK2001: unresolved external symbol __imp__CSCPEncryptMessage
Debug/libnxcl.dll : fatal error LNK1120: 4 unresolved externals


Regards,

Antony vasanth
Title: Re: error2: external symbol error while creating libnetxms.dll in VC6 environme
Post by: Victor Kirhenshtein on December 03, 2008, 05:20:22 PM
1. You need flex version 2.5.33. Probably you have older one.

2. These functions defined in src/libnetxms/crypto.cpp. Did you compile this file as part of libnetxms?

Best regards,
Victor