You need this key bit:

On Tue, 6 Apr 2004 07:10:52 -0600 Frank wrote:
F> I have tried following the readme for OS X to get 5.1.1 to compile
F> under OS X (10.3.3), but it is failing.
F> ../../include/net-snmp/agent/snmp_vars.h:77: parse error before
F> "ipaddr_return"

Change "extern uint32_t ipaddr_return" to "extern u_int32_t ipaddr_return".


This worked for me, as long as I was using gcc 3.3. (I still had to follow the directions in the OS X readme)


Frank

On Jun 7, 2004, at 2:24 PM, Andrea Riela wrote:

Hi folks,

I've tried to make net-smtp-5.1.1 in my workstation with Mac Os X 10.3.4, I've followed all steps in the README.osX, but when I try with 'make', I receive that error:

In file included from ../../include/net-snmp/agent/net-snmp-agent-includes.h:10,
from baby_steps.c:7:
../../include/net-snmp/agent/snmp_vars.h:77: error: parse error before "ipaddr_return"
../../include/net-snmp/agent/snmp_vars.h:77: warning: data definition has no type or storage class
make[2]: *** [baby_steps.lo] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1


My configure's:
./configure --with-out-mib-modules="ucd-snmp/diskio mibII/tcpTable mibII/udpTable" --enable-ucd-snmp-compatibility


Where is my mistake? What I've to do? Could you help me, please?
Thanks for your support, and patience




-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to