Re: Fw: Unable to build Net-Snmp with embedded perl

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OF954FE955.7CE929B4-ON802578E6.0054C986-802578E6.005531EE@selexelsag.com>
Bart,

Applying the patch causes the following compilation failure:

        cd libagent
        nmake /nologo all
        cl.exe /nologo /MD /W3 /EHsc /O2 /I "." /I ".." /I "..\..\snmplib" 
/I "..\.." /I "..\..\include" /I "..\..\agent" /I "..\..\agent\mibgroup" 
/D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_WARNINGS" /D 
"_CRT_NONSTDC_NO_WARNINGS" /D "_MBCS" /Fo".\release\\" /Fd".\release\\" 
/FD /c ..\..\agent\agent_handler.c
agent_handler.c
..\..\include\net-snmp/types.h(81) : warning C4142: benign redefinition of 
type
..\..\agent\agent_handler.c(120) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(120) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(120) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(120) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(120) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(696) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(696) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(696) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(696) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(696) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(697) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(697) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(697) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(697) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(697) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(766) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(766) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(766) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(766) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(766) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(767) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(767) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(767) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(767) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(767) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(768) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(768) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(768) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(768) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(768) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(770) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(770) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(770) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(770) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(770) : error C2143: syntax error : missing ';' 
before 'do'
..\..\agent\agent_handler.c(914) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(914) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(914) : error C3872: '0xa0': this character is 
not allowed in an identifier
..\..\agent\agent_handler.c(914) : error C2065: 'ÿÿÿ' : undeclared 
identifier
..\..\agent\agent_handler.c(914) : error C2143: syntax error : missing ';' 
before 'do'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.

Are there ny other patches that should be applied?

Regards,

Ali


-----------------------------------------------
This email and any attached files contains company confidential information which may be legally privileged.  it is intended only for the person(s) or entity to which it is addressed and solely for the purposes set forth therein.  If you are not the intended recipient or have received this email in error please notify the sender by return, delete it from your system and destroy any local copies.  It is strictly forbidden to use the information in this email including any attachment or part thereof including copying, disclosing, distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common law) for damage or breach arising or related to this email including but not limited to viruses and libel.

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.