Bluehost.com Web Hosting $6.95

Re: Solaris 8/net-snmp-5.2.2 build problems

This is a discussion on Re: Solaris 8/net-snmp-5.2.2 build problems within the SNMP Users forums, part of the Networking and Network Related category; Ruttenberg, Tanya wrote: > I am having trouble building net-snmp-5.2.2 on Solaris 8. [...] > gcc -I../...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-22-2005
Thomas Anders
 
Posts: n/a
Default Re: Solaris 8/net-snmp-5.2.2 build problems

Ruttenberg, Tanya wrote:
> I am having trouble building net-snmp-5.2.2 on Solaris 8.

[...]
> gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -fno-strict-aliasing -pipe -I/usr/local/include
> -I/usr/local/lib/perl5/5.8.7/sun4-solaris-64int/CORE -g -O2 -Dsolaris2 -c
> snmp_api.c -fPIC -DPIC -o .libs/snmp_api.lo
> snmp_api.c: In function `_init_snmp':
> snmp_api.c:666: warning: assignment makes pointer from integer without a
> cast
> snmp_api.c:671: error: dereferencing pointer to incomplete type
> *** Error code 1
> make: Fatal error: Command failed for target `snmp_api.lo'
> Current working directory /home/865980/net-snmp-5.2.2.pre1/snmplib
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'
> s00c120#
>
> I found something in an email that suggested defining HAVE_NETDB_H in
> net-snmp-config.h. I have done that and now it bombs here:


I can fully reproduce this on Solaris 9 SPARC with gcc 3.3.1. If
HAVE_NETDB_H was an appropriate fix, we should fix the corresponding
configure test that failed.

FWIW, both net-snmp 5.1.3 and 5.2.1 compiled fine on this Solaris box, IIRC.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
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:04 PM.


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