error compiling satan

error compiling satan

Post by Tam McLaughli » Thu, 26 Nov 1998 04:00:00



I have edited the file config/paths.ps for my system and ran

perl reconfig config/paths.ps

but get the following error whilc compiling:

make linux

....

tcp_scan.c -o tcp_scan.o                       tcp_scan.c: In function
`receive_icmp':                    tcp_scan.c:524: structure has no member
named `th_dport'   tcp_scan.c:524: structure has no member named `th_dport'
tcp_scan.c:539: structure has no member named `th_dport'   make: ***
[tcp_scan.o] Error 1

Any ideas anyone?

 
 
 

error compiling satan

Post by Michael Sierchi » Thu, 26 Nov 1998 04:00:00


Quote:> Re: error compiling satan

Did you set permissions to '666'  ??? ;-)

 
 
 

error compiling satan

Post by Tam McLaughli » Fri, 27 Nov 1998 04:00:00


I changed the perms but did not make any difference. It looks more like an
include file is not being pointed to.

>I have edited the file config/paths.ps for my system and ran

>perl reconfig config/paths.ps

>but get the following error whilc compiling:

>make linux

>....

>tcp_scan.c -o tcp_scan.o                       tcp_scan.c: In function
>`receive_icmp':                    tcp_scan.c:524: structure has no member
>named `th_dport'   tcp_scan.c:524: structure has no member named `th_dport'
>tcp_scan.c:539: structure has no member named `th_dport'   make: ***
>[tcp_scan.o] Error 1

>Any ideas anyone?

 
 
 

1. Error compiling SATAN under Ultrix 4.3a

Am attempting to compile Satan v1.0 under Ultrix 4.3a on my
private owned DecStation 3100 to test numerous Ultrix/Linux boxes
on my local LAN...

Am getting the following errors in nfs_chk and yp_chk
---

nfs_chk:

cc -O -I. -DAUTH_GID_T=int -c nfs_prot_clnt.c
cfe: Error: nfs_prot_clnt.c, line 10: storage size for 'TIMEOUT' isn't known
 static struct timeval TIMEOUT = { 25, 0 };
 ----------------------^
cfe: Error: nfs_prot_clnt.c, line 10: Too many initial values for 'TIMEOUT'
 static struct timeval TIMEOUT = { 25, 0 };
 ----------------------------------^
cfe: Error: nfs_prot_clnt.c, line 20: Reference an expression of void type or an
 incomplete type.
        if (    ((*(clnt)->cl_ops->cl_call)(clnt,  ((u_long)0),  xdr_void,  argp
,  xdr_void,  &res,  TIMEOUT)) != RPC_SUCCESS) {
        ----    ----------------------------------------------------------------
---------------------^
*** Error code 1

Stop.

---
yp_chk:

cc -O -I. -DAUTH_GID_T=int -c yp_clnt.c
cfe: Error: yp_clnt.c, line 9: storage size for 'TIMEOUT' isn't known
 static struct timeval TIMEOUT = { 25, 0 };
 ----------------------^
cfe: Error: yp_clnt.c, line 9: Too many initial values for 'TIMEOUT'
 static struct timeval TIMEOUT = { 25, 0 };
 ----------------------------------^
cfe: Error: yp_clnt.c, line 19: Reference an expression of void type or an incom
plete type.
        if (    ((*(clnt)->cl_ops->cl_call)(clnt,  ((u_long)0),  xdr_void,  argp
,  xdr_void,  &res,  TIMEOUT)) != RPC_SUCCESS) {
        ----    ----------------------------------------------------------------
---------------------^
*** Error code 1

Stop.

Ideas/direction?

Thanks,

Bryan

--
Bryan Strawser, Indiana University, Bloomington, USA              Remember Waco

2. Need recap of Soundblaster .au problems

3. Error compiling SATAN

4. Looking for Sr. Unix Admin. in N. VA

5. Error Compiling SATAN

6. Problem with menus

7. Satan 1.1.1 - compile error

8. Samba freeze - do I need to reboot?!?!?

9. Compiling Satan under 1.2.0 - ICMP_* undeclared errors ?

10. Problems compiling perl5 to compile satan to test my security

11. Satan compile problem on BSDI

12. Anyone compile Satan on 1.2.13 successfully?

13. Problem: Compiling Satan under Linux 1.2.1 and Slakware 2.?