Honeypots mailing list archives
Re: Sebek client-linux compile problem
From: Michele Vetturi <michele.vetturi () iritaly org>
Date: Mon, 12 Jul 2004 15:05:18 +0200
gillnaldo ... wrote: > I try to compile sebek 2.1.7 on linux redhat ES 2.1-e.40 kernel > Then I have problem follow command below :~~ [cut] > Hunk #4 succeeded at 1008 (offset -14 lines). > Hunk #6 succeeded at 1057 (offset -14 lines). > Hunk #7 FAILED at 1920. > 1 out of 7 hunks FAILED -- saving rejects to file af_packet.c.rej > make: *** [af_packet.c] Error 1 I had the same problem weeks ago.I don't have the original source code here, so I cannot cut & paste it. I try to explain the solution using my broken english... :)
The file af_packet.c coming with RedHat have a variable declaration after an assignment (line 1920 and others near), in contrast with the C standards.
You have to move the guilty declaration before the assignment. Once done, the error should not be presented anymore...
-- [ Michele Vetturi michele{dot}vetturi{at}iritaly{dot}org http://filibusta.crema.unimi.it/~vetz/gpg/mv.asc Fingerprint: 928F CF20 6DB2 1E68 736C DCF1 FF91 6D18 06CB B74C ]
Current thread:
- Sebek client-linux compile problem gillnaldo ... (Jul 09)
- Re: Sebek client-linux compile problem Maximillian Dornseif (Jul 09)
- Re:Sebek client-linux compile problem Thiago Alves Siqueira (Jul 09)
- Re: Sebek client-linux compile problem Michele Vetturi (Jul 12)
- Re: Sebek client-linux compile problem Maximillian Dornseif (Jul 18)
- <Possible follow-ups>
- Re: Sebek client-linux compile problem gillnaldo ... (Jul 12)
- Re: Sebek client-linux compile problem Thorsten Holz (Jul 13)
- Re: Sebek client-linux compile problem Michele Vetturi (Jul 14)