Re: Net-snmp compilation issue

This is a discussion on Re: Net-snmp compilation issue within the SNMP Coders forums, part of the Networking and Network Related category; --===============0780034826== Content-Type: multipart/alternative; boundary="----=_Part_9622_3335045.1150804964786" ------=_Part_9622_3335045.1150804964786 Content-Type: text/plain; charset=ISO-8859-1; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-20-2006
Pradhap D
 
Posts: n/a
Default Re: Net-snmp compilation issue

--===============0780034826==
Content-Type: multipart/alternative;
boundary="----=_Part_9622_3335045.1150804964786"

------=_Part_9622_3335045.1150804964786
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Thomas,
Thanks for your reply. Currently I am trying to compile the source in
Solaris 10. With --enable-ipv6 --with-transports="UDP UDPIPv6 TCPIPv6 TCP"
enabled. It failes to configure with below errror

<<snip of config.log>>

| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if ((u_int64_t *) 0)
| return 0;
| if (sizeof (u_int64_t))
| return 0;
| ;
| return 0;
| }
configure:12439: result: no
configure:12457: checking ipv6 stack type
conftest.c:42:45: /usr/local/v6/include/sys/types.h: No such file or
directory
conftest.c:42:22: features.h: No such file or directory
configure:12631: result: "unknown, no"
configure:12661: checking for platform-specific source
configure:12694: result:
configure:12696: result:
configure:12702: checking for and configuring transport modules to use
configure:12779: error: IPv6 transports not available if IPv6 support is not
enabled

<<snip>>

If I try to --enable-ipv6 --with-transports="UDP TCP" without "UDPIPv6
TCPIPv6" transports configure goes through fine...

Any idea what is causing this issue.

thanks,
Pradhap.D

On 6/20/06, Thomas Anders <thomas.anders@blue-cable.de> wrote:
>
> Pradhap D wrote:
> > I am trying to compile latest net-snmp 5.3.1 with the options
> > #./configure --enable-ipv6 --with-mib-modules='host disman/event-mib


> ucd-snmp/diskio' --with-cflags=-Dsolaris_2 --with-transports='UDP
> UDPIPv6
> > TCPIPv6 TCP'
> >
> > But it thows error as
> >
> > checking for uint64_t... yes
> > checking for u_int64_t... no
> > checking ipv6 stack type... "unknown, no"
> > checking for platform-specific source...
> >
> > checking for and configuring transport modules to use...
> > configure: error: IPv6 transports not available if IPv6 support is not
> > enabled

>
> What OS version are you running? Based on your
> "--with-cflags=-Dsolaris_2" (what do you need this for?) I assume you're
> running Solaris at least. Based on my testing, --enable-ipv6 works fine
> on Solaris 8 and later.
>
> If it doesn't work for you, you need to look into config.log to see why
> it fails. You may also want to try ommitting the UDPIPv6 and TCPIPv6
> transports as I think they'll be added automatically on --enable-ipv6.
>
>
> +Thomas
>
> --
> Thomas Anders (thomas.anders at blue-cable.de)
>
>
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...et-snmp-coders
>


------=_Part_9622_3335045.1150804964786
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Thomas,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for your reply. Currently I am
trying to compile the source in Solaris 10.&nbsp; With --enable-ipv6
--with-transports=&quot;UDP UDPIPv6&nbsp; TCPIPv6 TCP&quot; enabled. It failes to
configure with below errror <br>
<br>
&lt;&lt;snip of config.log&gt;&gt;<br>
<br>
| #if HAVE_UNISTD_H<br>
| # include &lt;unistd.h&gt;<br>
| #endif<br>
| int<br>
| main ()<br>
| {<br>
| if ((u_int64_t *) 0)<br>
|&nbsp;&nbsp; return 0;<br>
| if (sizeof (u_int64_t))<br>
|&nbsp;&nbsp; return 0;<br>
|&nbsp;&nbsp; ;<br>
|&nbsp;&nbsp; return 0;<br>
| }<br>
configure:12439: result: no<br>
configure:12457: checking ipv6 stack type<br>
conftest.c:42:45: /usr/local/v6/include/sys/types.h: No such file or directory<br>
conftest.c:42:22: features.h: No such file or directory<br>
configure:12631: result: &quot;unknown, no&quot;<br>
configure:12661: checking for platform-specific source<br>
configure:12694: result:&nbsp;&nbsp; <br>
configure:12696: result:&nbsp;&nbsp; <br>
configure:12702: checking for and configuring transport modules to use<br>
configure:12779: error: IPv6 transports not available if IPv6 support is not enabled<br>
<br>
&lt;&lt;snip&gt;&gt;<br><br>
If I try to --enable-ipv6 --with-transports=&quot;UDP TCP&quot; without &quot;UDPIPv6&nbsp; TCPIPv6&quot; transports configure goes through fine...<br>
<br>
Any idea what is causing this issue.<br>
<br>
thanks,<br>
Pradhap.D<br>
<br><div><span class="gmail_quote">On 6/20/06, <b class="gmail_sendername">Thomas Anders</b> &lt;<a href="mailto:thomas.anders@blue-cable.de">thomas.anders@blue-cable.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Pradhap D wrote:<br>&gt;&nbsp;&nbsp;I am trying to compile latest net-snmp 5.3.1 with the options<br>&gt; #./configure --enable-ipv6 --with-mib-modules='host disman/event-mib</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; ucd-snmp/diskio'&nbsp;&nbsp;--with-cflags=-Dsolaris_2&nbsp;&nbsp;--with-transports='UDP UDPIPv6<br>&gt; TCPIPv6 TCP'<br>&gt;<br>&gt; But it thows error as<br>&gt;<br>&gt; checking for uint64_t... yes<br>&gt; checking for u_int64_t... no
<br>&gt; checking ipv6 stack type... &quot;unknown, no&quot;<br>&gt; checking for platform-specific source...<br>&gt;<br>&gt; checking for and configuring transport modules to use...<br>&gt; configure: error: IPv6 transports not available if IPv6 support is not
<br>&gt; enabled<br><br>What OS version are you running? Based on your<br>&quot;--with-cflags=-Dsolaris_2&quot; (what do you need this for?) I assume you're<br>running Solaris at least. Based on my testing, --enable-ipv6 works fine
<br>on Solaris 8 and later.<br><br>If it doesn't work for you, you need to look into config.log to see why<br>it fails. You may also want to try ommitting the UDPIPv6 and TCPIPv6<br>transports as I think they'll be added automatically on --enable-ipv6.
<br><br><br>+Thomas<br><br>--<br>Thomas Anders (thomas.anders at <a href="http://blue-cable.de">blue-cable.de</a>)<br><br><br>___________________________________ ____________<br>Net-snmp-coders mailing list<br><a href="mailto:Net-snmp-coders@lists.sourceforge.net">
Net-snmp-coders@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/net-snmp-coders">https://lists.sourceforge.net/lists/listinfo/net-snmp-coders</a><br></blockquote></div><br>

------=_Part_9622_3335045.1150804964786--


--===============0780034826==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0780034826==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0780034826==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0