From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Los Newsgroups: gmane.os.tru64.managers Subject: Building chkrootkit on Tru64 v4.0F Date: Tue, 25 Mar 2003 18:48:04 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1048636165 21939 80.91.224.249 (25 Mar 2003 23:49:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2003 23:49:25 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Mar 26 00:49:20 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18xyAS-0005hD-00 for ; Wed, 26 Mar 2003 00:49:20 +0100 Original-Received: (qmail 8767 invoked by uid 5); 25 Mar 2003 23:49:12 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8758 invoked by uid 49493); 25 Mar 2003 23:49:12 -0000 Original-Received: from clos@trentu.ca by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.542004 secs); 25 Mar 2003 23:49:12 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 25 Mar 2003 23:49:11 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCB008BUWTY43@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Mar 2003 18:49:11 -0500 (EST) Original-Received: from mx3.trentu.ca (mx3.trentu.ca [206.248.118.2]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HCB007A8WT6M7@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Mar 2003 18:48:43 -0500 (EST) Original-Received: (qmail 8968 invoked by uid 504); Tue, 25 Mar 2003 23:48:31 +0000 Original-Received: from clos@trentu.ca by mx3.trentu.ca by uid 501 with qmail-scanner-1.14 (fsecure: 4.15/4370/2003-03-21/2003-03-20. 2003-03-18/ Clear:. Processed in 2.575414 secs); Tue, 25 Mar 2003 23:48:31 +0000 Original-Received: from gwmail.trentu.ca (192.75.12.64) by mx3.trentu.ca with SMTP; Tue, 25 Mar 2003 23:48:27 +0000 Original-Received: from TRENTDOM-MTA by gwmail.trentu.ca with Novell_GroupWise; Tue, 25 Mar 2003 18:48:19 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Novell GroupWise Internet Agent 6.0.3 Content-Disposition: inline X-Qmail-Scanner-Mail-From: clos@trentu.ca via mx3.trentu.ca X-Qmail-Scanner: 1.14 (Clear:. Processed in 2.575414 secs) Xref: main.gmane.org gmane.os.tru64.managers:3785 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3785 =20 =20 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. =20 Here they are: =20 =20 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 =3D read(fh_lastlog, &lastlog_ent,= sizeof (struct lastlog))) > 0)=20 --------------------------------------------------------------------------^= 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. =20 Any suggestion ????? =20 Chris Los Trent University =20