RE: Problems installing NET-SNMP on Mac 10.5.2

This is a discussion on RE: Problems installing NET-SNMP on Mac 10.5.2 within the SNMP Users forums, part of the Networking and Network Related category; > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On > ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2008
Mike Ayers
 
Posts: n/a
Default RE: Problems installing NET-SNMP on Mac 10.5.2


> From: net-snmp-users-bounces@lists.sourceforge.net
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
> Behalf Of Thomas Bonham
> Sent: Wednesday, March 05, 2008 1:33 PM


> In file included from snmp_client.c:96:
> ../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t'
> /usr/include/string.h:70: error: previous declaration of
> 'ssize_t' was
> here
> In file included from snmp_client.c:96:
> ../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t'
> /usr/include/string.h:70: error: previous declaration of
> 'ssize_t' was
> here


http://trac.macports.org/projects/macports/ticket/13297

I'm guessing here, but this may be due to changes in OSX that the devs haven't caught up to yet. If you feel adventurous, try defining HAVE_SSIZE_T.

> I have tried putting on all of the options and even played
> with them a
> little bit and I still can't get it to compile. I have also tried
> going down to 5.3.* and no luck at all.


If I can make time, I'll try this on my 'book - 10.4, IIRC.

> The other thing that I'm trying to find and I'm not able to is if it
> is stall the library with a .a for the static linking for
> programs or
> if it is a .so. If it is .so by default then how to I make it
> a static
> library. I'm working on doing some testing and programming in C with
> SNMP so I really need this to work.


It's been years since I did serious Mac work, but I recall it being .dynlib, or something like that. Try:

$ find /usr/lib -name "[^\.]*\.dyn*"

That should find the answer.


HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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 02:35 PM.


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