Difference between revisions of "FAQ:Compiling"

From Net-SNMP Wiki
Jump to: navigation, search
 
(How to compile Dynamically Loadable Object ?)
Line 16: Line 16:
 
The other sections are:
 
The other sections are:
 
{{FAQ}}
 
{{FAQ}}
 +
 +
 +
When I write a Dynamically Loadable Object that can be loaded into the SNMP agent, I encountered some questions. First I have written Makefile, then make. The errors  were reported that  "[[''''[[libnetsnmpagent.so: undefined reference to `perl_free']]'''']] " . Then I don't know how to solove it.

Revision as of 03:26, 27 July 2010

This section covers issues related to compiling the Net-SNMP software suite.

  1. How do I control the environment used to compile the software?
  2. How do I control the environment used to compile the software under Windows?
  3. Why does the compilation complain about missing libraries?
  4. How can I reduce the memory footprint?
  5. How can I reduce the installation footprint or speed up compilation?
  6. How can I compile the project for use on an embedded system?
  7. How can I compile the project to use static linking?
  8. Why does 'make test' skip various tests?
  9. Why does 'make test' complain about a pid file?

Additional Contributions

Feel free to propose additional questions for this section

  • ...
  • ...
  • ...

or suggest entries that might be more appropriate in a different section.

Comments on the content or phrasing of individual entries should be made on the relevant wiki page - this page is more intended for discussion of the higher-level structure of this section.

Other FAQ Sections

The other sections are:

   FAQ:General
   FAQ:Applications
   FAQ:Perl
   FAQ:MIBs
   FAQ:Agent
   FAQ:Compiling
   FAQ:Coding
   FAQ:Misc


When I write a Dynamically Loadable Object that can be loaded into the SNMP agent, I encountered some questions. First I have written Makefile, then make. The errors were reported that "[['libnetsnmpagent.so: undefined reference to `perl_free'']] " . Then I don't know how to solove it.