Building chkrootkit on Tru64 v4.0F

From: Chris Los (clos@trentu.ca)
Date: Tue Mar 25 2003 - 18:48:04 EST


 
 
Would like to know if any one has had success installing "chkrootkit" (www.chkrootkit.org). I'm getting several compile errors when i try to build it.
 
Here they are:
 
 
cc: Warning: chklastlog.c, line 71: The redefinition of the macro "TRUE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
#define TRUE 1L
-------------^
cc: Warning: chklastlog.c, line 72: The redefinition of the macro "FALSE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
#define FALSE 0L
--------------^
cc: Error: chklastlog.c, line 98: In this declaration, "lastlog_ent" has no linkage and is of an incomplete type. (incompnolink)
        struct lastlog lastlog_ent;
------------------------^
cc: Error: chklastlog.c, line 173: In this statement, "struct lastlog" is an incomplete type, and so has no size. (sizeincomptyp)
                    lseek(fh_lastlog, (long)*uid * sizeof (struct lastlog), 0);
---------------------------------------------------^
cc: Error: chklastlog.c, line 174: In this statement, "struct lastlog" is an incomplete type, and so has no size. (sizeincomptyp)
                    if ((wtmp_bytes_read = read(fh_lastlog, &lastlog_ent, sizeof (struct lastlog))) > 0)
--------------------------------------------------------------------------^
cc: Error: chklastlog.c, line 176: In this statement, "struct lastlog" is an incomplete type, and so has no size. (sizeincomptyp)
                        if (wtmp_bytes_read < sizeof(struct lastlog))
----------------------------------------------^
*** Exit 1
Stop.

 
Any suggestion ?????
 
Chris Los
Trent University
 



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:13 EDT