Compile mib module in C++

This is a discussion on Compile mib module in C++ within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1296177168== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2007
Stephen Yu
 
Posts: n/a
Default Compile mib module in C++

This is a multi-part message in MIME format.

--===============1296177168==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C74CA7.C6E025DA"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C74CA7.C6E025DA
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I implemented my own private mib module in C++. I want to compile and
link the module into the agent: snmpd.

I run 'configure --with-mib-modules=3Dmymodule'. However, it assumes the
implementation file is a C file and won't compile my .cpp source file.
What is the way to specify C++ implementation file?

Thanks,
Stephen


------_=_NextPart_001_01C74CA7.C6E025DA
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">
<TITLE>Compile mib module in C++</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Courier New">I implemented my own private mib =
module in C++. I want to compile and link the module into the agent: =
snmpd.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I run 'configure =
--with-mib-modules=3Dmymodule'. However, it assumes the implementation =
file is a C file and won't compile my .cpp source file. What is the way =
to specify C++ implementation file?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Thanks,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Stephen</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C74CA7.C6E025DA--


--===============1296177168==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
--===============1296177168==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============1296177168==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0