FreeBSD Port: net-mgmt/net-snmp

Sahil Tandon sahil at
Thu May 13 13:37:39 UTC 2010

On May 13, 2010, at 7:17 AM, Sylvio César <scjamorim at> wrote:

> 2010/5/13 Sahil Tandon <sahil at>:
>> On Wed, 12 May 2010, Mike Jakubik wrote:
>>> I am having trouble compiling net-snmp on a number of 8-STABLE
>>> systems, below is the error.
>> Are you using any non-default OPTIONS?
>>> ./.libs/ undefined reference to `exp'
>> I wonder if this is a quirk with how link time arguments are passed  
>> to
>> ld(1) via the configure script.  Would you try compiling after  
>> applying
>> the attached patch?
>> --
>> Sahil Tandon <sahil at>
> Hi, I'll commit soon the solution to this problem.

For what it's worth, I can reproduce the OP's problem when IPV6 and  
PERL_EMBEDDED are de-selected; after applying the patch I sent in my  
previous email, the appropriate arguments are passed to the linker and  
compilation succeeds with the abovementioned OPTIONS still de-selected  
as well as with default OPTIONS.  However I do not know if my proposed  
solution will have some unintended consequences; defer to you on that  
one. :-)

Sahil Tandon <sahil at>

More information about the freebsd-ports mailing list