From: Sahil Tandon on
On May 13, 2010, at 7:17 AM, Sylvio César <scjamorim(a)bsd.com.br> wrote:

> 2010/5/13 Sahil Tandon <sahil(a)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(a)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(a)FreeBSD.org>_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Mike Jakubik on


On 5/13/2010 12:56 AM, Sahil Tandon wrote:
> 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?
>
>
>

Yes, i am removing IPV6 and PERL options.

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Sahil Tandon on
On May 13, 2010, at 11:23 AM, Mike Jakubik <mike.jakubik(a)intertainservices.com
> wrote:

>
>
> On 5/13/2010 12:56 AM, Sahil Tandon wrote:
>> 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?
>>
>>
>
> Yes, i am removing IPV6 and PERL options.

That is what I suspected. Please try the patch I sent in my initial
reply and try again - let us know how it goes.

--
Sahil Tandon <sahil(a)FreeBSD.org>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Mike Jakubik on
On 5/13/2010 12:02 PM, Sahil Tandon wrote:
>
> That is what I suspected. Please try the patch I sent in my initial
> reply and try again - let us know how it goes.
>

The patch worked for me, thanks!

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Sahil Tandon on
On Thu, 13 May 2010, Sylvio César wrote:

> 2010/5/13 Sahil Tandon <sahil(a)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?
> >
>
> Hi, I'll commit soon the solution to this problem.

I filed ports/146559 which should also fix a small PLIST issue when
WITHOUT_PERL_EMBEDDED=yes.

--
Sahil Tandon <sahil(a)FreeBSD.org>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"