|
During compilation you might get an error:
firewalk.c:193: error: label at end of compound statement
make[1]: *** [firewalk.o] Error 1
make[1]: Leaving directory `/usr/local/src/Firewalk/Firewalk/src
make: *** [install-recursive] Error 1
This has to do with a case statement in firewalk.c at the end of the file (line 193). You need to change the statement from:
switch(fw_packet_capture(fp))
{
case FW_USER_INTERRUPT:
return (FW_USER_INTERRUPT);
case -1:
case FW_SERIOUS_ERROR:
/* err msg set in fw_packet_capture() */
return (FW_SERIOUS_ERROR);
default:
/* empty */
}
to:
switch(fw_packet_capture(fp))
{
case FW_USER_INTERRUPT:
return (FW_USER_INTERRUPT);
case -1:
case FW_SERIOUS_ERROR:
/* err msg set in fw_packet_capture() */
return (FW_SERIOUS_ERROR);
default:
continue;
}
by marc at 2007-12-20 11:58:18
|