Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2010 09:19:03 -0400
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        =?utf-8?Q?Sylvio_C=C3=A9sar?= <scjamorim@bsd.com.br>
Cc:        Mike Jakubik <mike.jakubik@intertainservices.com>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD Port: net-mgmt/net-snmp
Message-ID:  <C9DFD882-396C-4B99-B32F-6A7917C9EF90@FreeBSD.org>
In-Reply-To: <AANLkTilvdwgf91CrxtQsggNvu98mw1D-LTY2xk63kEWb@mail.gmail.com>
References:  <4BEB160B.7050101@intertainservices.com> <20100513045634.GE38019@magic.hamla.org> <AANLkTilvdwgf91CrxtQsggNvu98mw1D-LTY2xk63kEWb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 13, 2010, at 7:17 AM, Sylvio C=C3=A9sar <scjamorim@bsd.com.br> =
wrote:

> 2010/5/13 Sahil Tandon <sahil@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 =20=

>> to
>> ld(1) via the configure script.  Would you try compiling after =20
>> applying
>> the attached patch?
>>
>> --
>> Sahil Tandon <sahil@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 =20
PERL_EMBEDDED are de-selected; after applying the patch I sent in my =20
previous email, the appropriate arguments are passed to the linker and =20=

compilation succeeds with the abovementioned OPTIONS still de-selected =20=

as well as with default OPTIONS.  However I do not know if my proposed =20=

solution will have some unintended consequences; defer to you on that =20=

one. :-)

--
Sahil Tandon <sahil@FreeBSD.org>=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C9DFD882-396C-4B99-B32F-6A7917C9EF90>