Difference between revisions of "Windows Notes"
m (Reverted edits by Derni (Talk); changed back to last version by Rogerdpack) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
If you need perl modules, and figure out away to fix this, please update this page, send a note to net-snmp-coders@lists.sf.net, or submit a patch to the patch tracker! | If you need perl modules, and figure out away to fix this, please update this page, send a note to net-snmp-coders@lists.sf.net, or submit a patch to the patch tracker! | ||
+ | |||
+ | The root cause is that perl is installed, but it's only the msys version of perl (used for building). Therefore it thinks you want to build the perl module, extracts perl's build parameters, which include options only available for the msys gcc itself, and tries to build the perl module. If you want to have the perl module, you'll want to install perl first. |
Latest revision as of 13:08, 26 January 2011
This page contains various tidbits on using Net-SNMP on Windows platforms (including Visual C++, cygwin and MinGW).
MinGW
perl errors
If building from source using MinGW/MSYS fails with the following message:
cc1.exe: error: unrecognized command line option "-fnative-struct"
try updating your configure line to not build the perl modules:
--without-perl-modules
If you need perl modules, and figure out away to fix this, please update this page, send a note to net-snmp-coders@lists.sf.net, or submit a patch to the patch tracker!
The root cause is that perl is installed, but it's only the msys version of perl (used for building). Therefore it thinks you want to build the perl module, extracts perl's build parameters, which include options only available for the msys gcc itself, and tries to build the perl module. If you want to have the perl module, you'll want to install perl first.