[Snort-devel] snort

枫儿 winwd at ...1282...
Sun Apr 21 04:21:01 EDT 2002


Hello,
    I am chinese. When I develop MFC-based application with snort, I met some problems. The complier is ok, but linking is error. The error code is following:
--------------------Configuration: snort_mfc - Win32 Release--------------------
Linking...
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at ...1283...@Z) already defined in LIBCMT.lib(new.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3 at ...1284...@Z) already defined in LIBCMT.lib(delete.obj)
spp_anomsensor.obj : error LNK2001: unresolved external symbol _ErrorMessage
spp_defrag.obj : error LNK2001: unresolved external symbol _ErrorMessage
syslog.obj : error LNK2001: unresolved external symbol _ErrorMessage
sp_tcp_flag_check.obj : error LNK2001: unresolved external symbol _ErrorMessage
spo_database.obj : error LNK2001: unresolved external symbol _ErrorMessage
spo_log_tcpdump.obj : error LNK2001: unresolved external symbol _ErrorMessage
spo_xml.obj : error LNK2001: unresolved external symbol _ErrorMessage
decode.obj : error LNK2001: unresolved external symbol _ErrorMessage
log.obj : error LNK2001: unresolved external symbol _ErrorMessage
plugbase.obj : error LNK2001: unresolved external symbol _ErrorMessage
rules.obj : error LNK2001: unresolved external symbol _ErrorMessage
spp_minfrag.obj : error LNK2001: unresolved external symbol _FatalError
spp_portscan.obj : error LNK2001: unresolved external symbol _FatalError
spp_tcp_stream.obj : error LNK2001: unresolved external symbol _FatalError
spo_log_tcpdump.obj : error LNK2001: unresolved external symbol _FatalError
spo_xml.obj : error LNK2001: unresolved external symbol _FatalError
spp_anomsensor.obj : error LNK2001: unresolved external symbol _FatalError
spp_http_decode.obj : error LNK2001: unresolved external symbol _FatalError
sp_session.obj : error LNK2001: unresolved external symbol _FatalError
sp_tcp_ack_check.obj : error LNK2001: unresolved external symbol _FatalError
sp_tcp_flag_check.obj : error LNK2001: unresolved external symbol _FatalError
spo_database.obj : error LNK2001: unresolved external symbol _FatalError
sp_icmp_type_check.obj : error LNK2001: unresolved external symbol _FatalError
sp_ip_fragbits.obj : error LNK2001: unresolved external symbol _FatalError
sp_pattern_match.obj : error LNK2001: unresolved external symbol _FatalError
sp_reference.obj : error LNK2001: unresolved external symbol _FatalError
rules.obj : error LNK2001: unresolved external symbol _FatalError
sp_icmp_code_check.obj : error LNK2001: unresolved external symbol _FatalError
sp_icmp_id_check.obj : error LNK2001: unresolved external symbol _FatalError
sp_icmp_seq_check.obj : error LNK2001: unresolved external symbol _FatalError
log.obj : error LNK2001: unresolved external symbol _FatalError
misc.obj : error LNK2001: unresolved external symbol _FatalError
parser.obj : error LNK2001: unresolved external symbol _FatalError
plugbase.obj : error LNK2001: unresolved external symbol _FatalError
log.obj : error LNK2001: unresolved external symbol _CleanExit
log.obj : error LNK2001: unresolved external symbol _ts_print
rules.obj : error LNK2001: unresolved external symbol _strip
sp_pattern_match.obj : error LNK2001: unresolved external symbol _strip
rules.obj : error LNK2001: unresolved external symbol _LogMessage
spp_defrag.obj : error LNK2001: unresolved external symbol _ProcessPacket
spp_tcp_stream.obj : error LNK2001: unresolved external symbol _ProcessPacket
Release/snort_mfc.exe : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.
snort_mfc.exe - 44 error(s), 0 warning(s)

Can you help me? thanks.
                                  Bestreguards
                                                                                   wandoo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20020421/7fe569e1/attachment.html>


More information about the Snort-devel mailing list