[Snort-devel] Compiling Snort w/ MSVC

Ian Macdonald secsnortdev at ...1490...
Mon Sep 29 15:42:09 EDT 2003


I got the same error. I complied it by hand. c:\pathtovsc\bin\mc name.mc and
it seemed to work after that. but I am having issues with the sensor name
not being resolved correctly so mysql gets confused. There seems to be a
major change in misc.c for the function print_interface between 2.0.0 and
2.0.2.

Ian


----- Original Message ----- 
From: "Peter Silberman" <peterjsilberman at ...398...>
To: <snort-devel at lists.sourceforge.net>
Sent: Monday, September 29, 2003 5:23 PM
Subject: [Snort-devel] Compiling Snort w/ MSVC


> I m getting an error I have never seen before, when I
> try to compile snort using Microsoft Visual Studio
> 6.0, I get this error:
> erforming Custom Build Step on "..\WIN32-Code\name.mc"
> MC: may only specify one message file to compile.
> MC: may only specify one message file to compile.
> MC: may only specify one message file to compile.
> Microsoft (R) Message Compiler  Version 1.00.5239
> Copyright (c) Microsoft Corp 1992-1995. All rights
> reserved.
> usage: MC [-?vcdwso] [-m maxmsglen] [-h dirspec] [-e
> extension] [-r dirspec] [-x dbgFileSpec] [-u] [-U]
> filename.mc
>        -? - displays this message
>        -v - gives verbose output.
>        -c - sets the Customer bit in all the message
> Ids.
>        -d - FACILTY and SEVERITY values in header file
> in decimal.
>             Sets message values in header to decimal
> initially.
>        -w - warns if message text contains non-OS/2
> compatible inserts.
>        -s - insert symbolic name as first line of each
> message.
>        -o - generate OLE2 header file (use HRESULT
> definition instead of
>             status code definition)
>        -m maxmsglen - generate a warning if the size
> of any message exceeds
>                       maxmsglen characters.
>        -h pathspec - gives the path of where to create
> the C include file
>                      Default is .\
>        -e extension - Specify the extension for the
> header file.
>                       From 1 - 3 chars.
>        -r pathspec - gives the path of where to create
> the RC include file
>                      and the binary message resource
> files it includes.
>                      Default is .\
>        -x pathspec - gives the path of where to create
> the .dbg C include
>                         file that maps message Ids to
> their symbolic name.
>        -u - input file is Unicode.
>        -U - messages in .BIN file should be Unicode.
>        filename.mc - gives the names of a message text
> file
>                      to compile.
>        Generated files have the Archive bit cleared.
> Error executing c:\winnt\system32\cmd.exe.
>
> snort.exe - 1 error(s), 1 warning(s)
>
> Any ideas on how to fix it?
> Thanks
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
>





More information about the Snort-devel mailing list