FreeBSD Port: net-mgmt/net-snmp

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


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

> 2010/5/13 Sahil Tandon <sahil at freebsd.org>:
>> 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/libnetsnmpmibs.so: 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 FreeBSD.org>
>>
>
> 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 FreeBSD.org>


More information about the freebsd-ports mailing list