[ previous ] [ next ] [ threads ]
 
 From:  "Abdul Aziz" <netqueries at gmail dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  ucd_snmp compiling
 Date:  Mon, 26 Jun 2006 10:13:43 +0500
Dear All,
i have recompile m0n0wall
problem at this step
1.7.12. ucd-snmp

download "
http://prdownloads.sourceforge.net/net-snmp/ucd-snmp-4.2.7.rc2.tar.gz?download
"
 /usr/ports/net/ucd-snmp-4.2.7.rc2.
than command execute
./configure .............................. ......................
after pressing all enters & make
but error produce

In file included from /usr/include/sys/types.h:48,
                 from /usr/include/unistd.h:41,
                 from snmp_client.c:40:
/usr/include/sys/inttypes.h:14: syntax error before `int64_t'
/usr/include/sys/inttypes.h:14: warning: data definition has no type or
storage class
In file included from /usr/include/sys/types.h:49,
                 from /usr/include/unistd.h:41,
                 from snmp_client.c:40:
/usr/include/machine/types.h:51: syntax error before `vm_ooffset_t'
/usr/include/machine/types.h:51: warning: data definition has no type or
storage class
In file included from /usr/include/unistd.h:41,
                 from snmp_client.c:40:
/usr/include/sys/types.h:66: syntax error before `quad_t'
/usr/include/sys/types.h:66: warning: data definition has no type or storage
class
/usr/include/sys/types.h:67: syntax error before `*'
/usr/include/sys/types.h:67: warning: data definition has no type or storage
class
/usr/include/sys/types.h:82: syntax error before `off_t'
/usr/include/sys/types.h:82: warning: data definition has no type or storage
class
/usr/include/sys/types.h:84: syntax error before `rlim_t'
/usr/include/sys/types.h:84: warning: data definition has no type or storage
class
In file included from snmp_client.c:40:
/usr/include/unistd.h:161: syntax error before `off_t'
/usr/include/unistd.h:169: syntax error before `off_t'
/usr/include/unistd.h:171: syntax error before `off_t'
/usr/include/unistd.h:212: syntax error before `__syscall'
/usr/include/unistd.h:212: syntax error before `...'
/usr/include/unistd.h:212: warning: data definition has no type or storage
class
In file included from snmp_client.c:47:
/usr/include/sys/time.h:147: syntax error before `int64_t'
*** Error code 1

Stop in /usr/ports/net/ucd-snmp-4.2.7.rc2/snmplib.

i'm bit curious
how can we solve this problem?

AAZIZ