[Snort-devel] hlep:An error in compiling

Michael Davis mike at ...27...
Tue Nov 28 22:01:58 EST 2000


1) You are compiling snort with Debugging, I doubt you want this.
2) Add /MT to the compiler options and you should be ok.(You can do this in
the GUI by going to C/C++ then Change Category to Code Generation and change
the Run time library to multi-threaded.

Michael Davis
Chief Technical Officer
Data Nerds, LLC.
http://www.datanerds.net
----- Original Message -----
From: "bnu100875" <bnu100875 at ...131...>
To: <snort-devel at lists.sourceforge.net>
Sent: Wednesday, November 29, 2000 12:50 AM
Subject: [Snort-devel] hlep:An error in compiling


> I downloaded the sourcecode of snort-1.6.3(win32).When I compiled it by
vc++ 6.0,I encountered some errors as following:
> LIBCMTD.lib(tolower.obj) : error LNK2005: __tolower already defined in
LIBCD.lib(tolower.obj)
> LIBCMTD.lib(tolower.obj) : error LNK2005: _tolower already defined in
LIBCD.lib(tolower.obj)
> LIBCMTD.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined
in LIBCD.lib(osfinfo.obj)
> LIBCMTD.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in
LIBCD.lib(osfinfo.obj)
> LIBCMTD.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in
LIBCD.lib(osfinfo.obj)
> LIBCMTD.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined
in LIBCD.lib(osfinfo.obj)
> LIBCMTD.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined
in LIBCD.lib(osfinfo.obj)
> LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other
libs; use /NODEFAULTLIB:library
> Debug/snort.exe : fatal error LNK1169: one or more multiply defined
symbols found
> Error executing link.exe.
>
> How can I do with it?
> thanks!
>
> ______________________________________
>
> ===================================================================
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
> ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
> http://sms.sina.com.cn/
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/snort-devel
>




More information about the Snort-devel mailing list