Re: tcptrace-bugs compile errors in SUSE 9.0

From: Joshua Blanton (jblanton@masaka.cs.ohiou.edu)
Date: 05/08/06


Date: Mon, 8 May 2006 12:52:47 -0400
From: Joshua Blanton <jblanton@masaka.cs.ohiou.edu>
Subject: Re: tcptrace-bugs compile errors in SUSE 9.0
Message-ID: <20060508165247.GC28417@mauser.ipx.ath.cx>


Philip Damian-Grint wrote:
> I'm trying to compile the latest stable release of tcptrace under SUSE 9 and
> am getting errors in print.c. My output is below. libpcap version 0.8.1039.3
> is already installed on the system. Am I missing something obvious? Is any
> other information required?

Interestingly (not surprisingly, though) SuSE doesn't have a
/lib/libc-2* directory, even though it has libc-2.x... SuSE has an
irritating habit of placing directories in stupid places. tcptrace
attempts to detect libc-2.x by looking for a directory named
/lib/libc-2* (this probably isn't the Right Check to Do, but it
works everywhere else), which is failing on your system - so the
following isn't added into the Makefile for CFLAGS:

-D_BSD_SOURCE

If you add that in before the $(INCLS) at the end of the CFLAGS
clause in the Makefile, it should build.

--jtb






This archive was generated by hypermail 2.1.7 : 05/09/06 EDT