[sysmon-help] installation failure red hat 9
pjam at xs4all.nl
pjam at xs4all.nl
Sat Feb 14 12:20:11 EST 2004
Hello,
I tried to install sysmon 0.91.20 on my RED HAT 9.0 box.
After typing the command make I got a lot of errors:
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o heartbeat.o heartbeat.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o syswatch.o syswatch.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o page.o page.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o tcp.o tcp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o udp.o udp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o icmp.o icmp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o pop3.o pop3.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o umichX500.o umichX500.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o loadconfig.o loadconfig.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o smtp.o smtp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o nntp.o nntp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o talktcp.o talktcp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o imap.o imap.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o lib.o lib.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o textfile.o textfile.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o http.o http.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o srvclient.o srvclient.c
srvclient.c:163:2: warning: #warning need to dump snmp low, high, rate,
octets, system_uptime and other data
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o dnscache.o dnscache.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o ircd.o ircd.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o sysmon.o sysmon.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o radius.o radius.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o md5.o md5.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o parser.o parser.c
parser.l:1963:2: warning: #warning child does not do anything
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o snpp.o snpp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o snmp.o snmp.c
snmp.c:7:38: ucd-snmp/ucd-snmp-config.h: No such file or directory
snmp.c:8:40: ucd-snmp/ucd-snmp-includes.h: No such file or directory
snmp.c:14: parse error before "oid"
snmp.c:14: warning: no semicolon at end of struct or union
snmp.c:20: parse error before '}' token
snmp.c:76:2: warning: #warning need to correctly differentiate btw 32 and
64 bit responses
snmp.c: In function `extract_snmp_result':
snmp.c:80: `STAT_SUCCESS' undeclared (first use in this function)
snmp.c:80: (Each undeclared identifier is reported only once
snmp.c:80: for each function it appears in.)
snmp.c:82: dereferencing pointer to incomplete type
snmp.c:83: dereferencing pointer to incomplete type
snmp.c:83: `SNMP_ERR_NOERROR' undeclared (first use in this function)
snmp.c:85: dereferencing pointer to incomplete type
snmp.c:87: dereferencing pointer to incomplete type
snmp.c:87: dereferencing pointer to incomplete type
snmp.c:88: dereferencing pointer to incomplete type
snmp.c:89: dereferencing pointer to incomplete type
snmp.c:90: dereferencing pointer to incomplete type
snmp.c:90: dereferencing pointer to incomplete type
snmp.c:91: dereferencing pointer to incomplete type
snmp.c:92: dereferencing pointer to incomplete type
snmp.c:95: dereferencing pointer to incomplete type
snmp.c:95: dereferencing pointer to incomplete type
snmp.c:98: dereferencing pointer to incomplete type
snmp.c:100: dereferencing pointer to incomplete type
snmp.c:100: dereferencing pointer to incomplete type
snmp.c:101: dereferencing pointer to incomplete type
snmp.c:102: dereferencing pointer to incomplete type
snmp.c:103: dereferencing pointer to incomplete type
snmp.c:103: dereferencing pointer to incomplete type
snmp.c:104: dereferencing pointer to incomplete type
snmp.c:105: dereferencing pointer to incomplete type
snmp.c: In function `snmp_callback_response':
snmp.c:130: `RECEIVED_MESSAGE' undeclared (first use in this function)
snmp.c:132: `STAT_SUCCESS' undeclared (first use in this function)
snmp.c:132: dereferencing pointer to incomplete type
snmp.c:135: dereferencing pointer to incomplete type
snmp.c: In function `start_test_snmp':
snmp.c:151: storage size of `startup_sess' isn't known
snmp.c:153: sizeof applied to an incomplete type
snmp.c:157: dereferencing pointer to incomplete type
snmp.c:158: dereferencing pointer to incomplete type
snmp.c:162: `SNMP_VERSION_2c' undeclared (first use in this function)
snmp.c:173: dereferencing pointer to incomplete type
snmp.c:175: dereferencing pointer to incomplete type
snmp.c:185: dereferencing pointer to incomplete type
snmp.c:185: `SNMP_MSG_GET' undeclared (first use in this function)
snmp.c:187: `MAX_OID_LEN' undeclared (first use in this function)
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:189: dereferencing pointer to incomplete type
snmp.c:189: dereferencing pointer to incomplete type
snmp.c:191: dereferencing pointer to incomplete type
snmp.c:192: dereferencing pointer to incomplete type
snmp.c:199: dereferencing pointer to incomplete type
snmp.c:200: dereferencing pointer to incomplete type
snmp.c:201: dereferencing pointer to incomplete type
snmp.c:207: dereferencing pointer to incomplete type
snmp.c:207: dereferencing pointer to incomplete type
snmp.c: In function `stop_test_snmp':
snmp.c:227: dereferencing pointer to incomplete type
snmp.c: In function `service_test_snmp':
snmp.c:267: dereferencing pointer to incomplete type
snmp.c:268: dereferencing pointer to incomplete type
snmp.c:274: dereferencing pointer to incomplete type
snmp.c:275: dereferencing pointer to incomplete type
snmp.c:281: dereferencing pointer to incomplete type
snmp.c:284: dereferencing pointer to incomplete type
snmp.c:285: dereferencing pointer to incomplete type
snmp.c:292: dereferencing pointer to incomplete type
snmp.c:295: dereferencing pointer to incomplete type
snmp.c:296: dereferencing pointer to incomplete type
snmp.c:303: dereferencing pointer to incomplete type
snmp.c:306: dereferencing pointer to incomplete type
snmp.c:306: dereferencing pointer to incomplete type
snmp.c:313: dereferencing pointer to incomplete type
snmp.c:316: dereferencing pointer to incomplete type
snmp.c:323: dereferencing pointer to incomplete type
snmp.c:328: dereferencing pointer to incomplete type
snmp.c:329: dereferencing pointer to incomplete type
snmp.c:339: dereferencing pointer to incomplete type
snmp.c:340: dereferencing pointer to incomplete type
snmp.c:370: dereferencing pointer to incomplete type
make: *** [snmp.o] Error 1
[root at metro src]# make install
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -DENABLE_SNMP
-DCFILE='"/usr/local/etc/sysmon.conf"' -c -o snmp.o snmp.c
snmp.c:7:38: ucd-snmp/ucd-snmp-config.h: No such file or directory
snmp.c:8:40: ucd-snmp/ucd-snmp-includes.h: No such file or directory
snmp.c:14: parse error before "oid"
snmp.c:14: warning: no semicolon at end of struct or union
snmp.c:20: parse error before '}' token
snmp.c:76:2: warning: #warning need to correctly differentiate btw 32 and
64 bit responses
snmp.c: In function `extract_snmp_result':
snmp.c:80: `STAT_SUCCESS' undeclared (first use in this function)
snmp.c:80: (Each undeclared identifier is reported only once
snmp.c:80: for each function it appears in.)
snmp.c:82: dereferencing pointer to incomplete type
snmp.c:83: dereferencing pointer to incomplete type
snmp.c:83: `SNMP_ERR_NOERROR' undeclared (first use in this function)
snmp.c:85: dereferencing pointer to incomplete type
snmp.c:87: dereferencing pointer to incomplete type
snmp.c:87: dereferencing pointer to incomplete type
snmp.c:88: dereferencing pointer to incomplete type
snmp.c:89: dereferencing pointer to incomplete type
snmp.c:90: dereferencing pointer to incomplete type
snmp.c:90: dereferencing pointer to incomplete type
snmp.c:91: dereferencing pointer to incomplete type
snmp.c:92: dereferencing pointer to incomplete type
snmp.c:95: dereferencing pointer to incomplete type
snmp.c:95: dereferencing pointer to incomplete type
snmp.c:98: dereferencing pointer to incomplete type
snmp.c:100: dereferencing pointer to incomplete type
snmp.c:100: dereferencing pointer to incomplete type
snmp.c:101: dereferencing pointer to incomplete type
snmp.c:102: dereferencing pointer to incomplete type
snmp.c:103: dereferencing pointer to incomplete type
snmp.c:103: dereferencing pointer to incomplete type
snmp.c:104: dereferencing pointer to incomplete type
snmp.c:105: dereferencing pointer to incomplete type
snmp.c: In function `snmp_callback_response':
snmp.c:130: `RECEIVED_MESSAGE' undeclared (first use in this function)
snmp.c:132: `STAT_SUCCESS' undeclared (first use in this function)
snmp.c:132: dereferencing pointer to incomplete type
snmp.c:135: dereferencing pointer to incomplete type
snmp.c: In function `start_test_snmp':
snmp.c:151: storage size of `startup_sess' isn't known
snmp.c:153: sizeof applied to an incomplete type
snmp.c:157: dereferencing pointer to incomplete type
snmp.c:158: dereferencing pointer to incomplete type
snmp.c:162: `SNMP_VERSION_2c' undeclared (first use in this function)
snmp.c:173: dereferencing pointer to incomplete type
snmp.c:175: dereferencing pointer to incomplete type
snmp.c:185: dereferencing pointer to incomplete type
snmp.c:185: `SNMP_MSG_GET' undeclared (first use in this function)
snmp.c:187: `MAX_OID_LEN' undeclared (first use in this function)
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:187: dereferencing pointer to incomplete type
snmp.c:189: dereferencing pointer to incomplete type
snmp.c:189: dereferencing pointer to incomplete type
snmp.c:191: dereferencing pointer to incomplete type
snmp.c:192: dereferencing pointer to incomplete type
snmp.c:199: dereferencing pointer to incomplete type
snmp.c:200: dereferencing pointer to incomplete type
snmp.c:201: dereferencing pointer to incomplete type
snmp.c:207: dereferencing pointer to incomplete type
snmp.c:207: dereferencing pointer to incomplete type
snmp.c: In function `stop_test_snmp':
snmp.c:227: dereferencing pointer to incomplete type
snmp.c: In function `service_test_snmp':
snmp.c:267: dereferencing pointer to incomplete type
snmp.c:268: dereferencing pointer to incomplete type
snmp.c:274: dereferencing pointer to incomplete type
snmp.c:275: dereferencing pointer to incomplete type
snmp.c:281: dereferencing pointer to incomplete type
snmp.c:284: dereferencing pointer to incomplete type
snmp.c:285: dereferencing pointer to incomplete type
snmp.c:292: dereferencing pointer to incomplete type
snmp.c:295: dereferencing pointer to incomplete type
snmp.c:296: dereferencing pointer to incomplete type
snmp.c:303: dereferencing pointer to incomplete type
snmp.c:306: dereferencing pointer to incomplete type
snmp.c:306: dereferencing pointer to incomplete type
snmp.c:313: dereferencing pointer to incomplete type
snmp.c:316: dereferencing pointer to incomplete type
snmp.c:323: dereferencing pointer to incomplete type
snmp.c:328: dereferencing pointer to incomplete type
snmp.c:329: dereferencing pointer to incomplete type
snmp.c:339: dereferencing pointer to incomplete type
snmp.c:340: dereferencing pointer to incomplete type
snmp.c:370: dereferencing pointer to incomplete type
I did the same thing on my Debian Box, and the installation went smooth.
Does someone know what is going on here?
Thanks in advance.
Michel
More information about the Sysmon-help
mailing list