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 ]
Received on Jul 12 2004