1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
If you have trouble, try this suggestion from Peter Waltenberg:
>> From peterw@dascom.com Mon Jul 13 22:32 EST 1998
>> X-Priority: 3 (Normal)
>> Date: Tue, 14 Jul 1998 08:31:57 +1000 (EST)
>> Reply-To: peterw@dascom.com
>> Organization: DASCOM
>> Sender: peterw@mulga.surf.dascom.com
>> From: Peter Waltenberg <peterw@dascom.com>
>> To: Shawn Ostermann <sdo@picard.cs.ohiou.edu>
>> Subject: Re: tcptrace
>>
>> On Linux with glibc-2 it needs
>>
>> DEFINES += -D_BSD_SOURCE
>>
>> to build properly.
>>
>> It's simply a matter of which "style" of tcphdr struct naming is
>> pulled in from the include files.
>>
>> From memory the "-D_BSD_SOURCE" is safe for older Linux setups as
>> well, however I can't test it.
>>
>> Peter
|