I can't get nessus to compile on OSX 10.3. Never had an issue with 10.1 or 10.2. Regardless of the the installation method, compiler (2.95, 3.1, 3.3) or with the normal no preprocessing flags, I error out on make with (see below for snippet). Any help would be greatly appreciated.
Thanks! gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/Users/bertlt/downloads/nessus-libraries/include -I/Users/bertlt/downloads/nessus-libraries/libpcap-nessus -c hg_dns_axfr.c -o hg_dns_axfr.o hg_dns_axfr.c:49: error: parse error before "HEADER" hg_dns_axfr.c:49: warning: no semicolon at end of struct or union hg_dns_axfr.c:50: error: `PACKETSZ' undeclared here (not in a function) hg_dns_axfr.c:51: error: parse error before '}' token hg_dns_axfr.c:51: warning: data definition has no type or storage class hg_dns_axfr.c: In function `hg_dns_axfr_add_host': hg_dns_axfr.c:77: error: `MAXDNAME' undeclared (first use in this function) hg_dns_axfr.c:77: error: (Each undeclared identifier is reported only once hg_dns_axfr.c:77: error: for each function it appears in.) hg_dns_axfr.c:84: error: `T_A' undeclared (first use in this function) hg_dns_axfr.c: In function `hg_dns_get_nameservers': hg_dns_axfr.c:104: error: parse error before "querybuf" hg_dns_axfr.c:107: error: parse error before "buffer" hg_dns_axfr.c:109: error: `QUERY' undeclared (first use in this function) hg_dns_axfr.c:109: error: `C_IN' undeclared (first use in this function) hg_dns_axfr.c:109: error: `T_NS' undeclared (first use in this function) hg_dns_axfr.c:109: error: `buffer' undeclared (first use in this function) hg_dns_axfr.c:112: error: invalid type argument of `->' hg_dns_axfr.c:112: error: invalid type argument of `unary *' hg_dns_axfr.c: In function `hg_dns_read_ns_from_answer': hg_dns_axfr.c:124: error: parse error before "querybuf" hg_dns_axfr.c:132: error: request for member `qb1' in something not a structure or union hg_dns_axfr.c:132: error: request for member `qb1' in something not a structure or union hg_dns_axfr.c:133: error: request for member `qb1' in something not a structure or union hg_dns_axfr.c:134: error: request for member `qb1' in something not a structure or union hg_dns_axfr.c:134: error: `NOERROR' undeclared (first use in this function) hg_dns_axfr.c:135: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:136: error: request for member `qb1' in something not a structure or union hg_dns_axfr.c:137: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:137: error: `QFIXEDSZ' undeclared (first use in this function) hg_dns_axfr.c:149: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:149: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:154: error: `T_NS' undeclared (first use in this function) hg_dns_axfr.c:157: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:157: error: request for member `qb2' in something not a structure or union hg_dns_axfr.c:183: error: `T_A' undeclared (first use in this function) hg_dns_axfr.c: In function `hg_dns_axfr_decode': hg_dns_axfr.c:224: error: parse error before "querybuf" hg_dns_axfr.c:227: error: `HEADER' undeclared (first use in this function) hg_dns_axfr.c:227: error: `hp' undeclared (first use in this function) hg_dns_axfr.c:227: error: parse error before ')' token hg_dns_axfr.c:230: error: `NOERROR' undeclared (first use in this function) hg_dns_axfr.c:238: error: `QFIXEDSZ' undeclared (first use in this function) hg_dns_axfr.c: In function `hg_dns_axfr_query': hg_dns_axfr.c:249: error: parse error before "querybuf" hg_dns_axfr.c:254: error: parse error before "query" hg_dns_axfr.c:264: error: `QUERY' undeclared (first use in this function) hg_dns_axfr.c:264: error: `C_IN' undeclared (first use in this function) hg_dns_axfr.c:264: error: `T_AXFR' undeclared (first use in this function) hg_dns_axfr.c:265: error: `query' undeclared (first use in this function) hg_dns_axfr.c:329: error: invalid type argument of `->' hg_dns_axfr.c:331: error: invalid type argument of `->' hg_dns_axfr.c:332: error: invalid type argument of `->' hg_dns_axfr.c:333: error: invalid type argument of `->' hg_dns_axfr.c:333: error: `QFIXEDSZ' undeclared (first use in this function) hg_dns_axfr.c:336: error: `T_SOA' undeclared (first use in this function) hg_dns_axfr.c:337: error: invalid type argument of `->' hg_dns_axfr.c:337: error: invalid type argument of `->' hg_dns_axfr.c:346: error: invalid type argument of `unary *' hg_dns_axfr.c: In function `hg_dns_axfr_add_hosts': hg_dns_axfr.c:361: error: parse error before "answer" hg_dns_axfr.c:367: error: `answer' undeclared (first use in this function) hg_dns_axfr.c: At top level: hg_dns_axfr.c:50: error: storage size of `qb2' isn't known make[1]: *** [hg_dns_axfr.o] Error 1 make: *** [all] Error 2
