Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83728 - net-analyzer/firewalk-5.0 compile fix with gcc 3.4.3 (patch provided)
Summary: net-analyzer/firewalk-5.0 compile fix with gcc 3.4.3 (patch provided)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 13:59 UTC by Adam Polkosnik
Modified: 2005-03-02 02:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Polkosnik 2005-03-01 13:59:57 UTC
I've tried to compile it with gcc 3.4.3 on amd64... It compiled with an one liner patch (patch submitted below

>>> net-analyzer/firewalk-5.0 merged.


Reproducible: Always
Steps to Reproduce:




--- Firewalk.orig/src/firewalk.c        2005-03-01 16:47:40.313431728 -0500
+++ Firewalk/src/firewalk.c     2005-03-01 16:48:15.101143192 -0500
@@ -188,7 +188,7 @@
                     case FW_SERIOUS_ERROR:
                         /* err msg set in fw_packet_capture() */
                         return (FW_SERIOUS_ERROR);
-                    default:
+                   // default:
                         /* empty */
                 }
             }
Comment 1 Adam Polkosnik 2005-03-01 15:57:16 UTC
This was the error message:

Making all in src
make[1]: Entering directory `/var/tmp/portage/firewalk-5.0/work/Firewalk/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -O2 -march=athlon64 -ftracer -pipe -fweb -fPIC -DPIC -Wall -c init.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -O2 -march=athlon64 -ftracer -pipe -fweb -fPIC -DPIC -Wall -c firewalk.c
firewalk.c: In function `firewalk':
firewalk.c:193: error: label at end of compound statement
make[1]: *** [firewalk.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/firewalk-5.0/work/Firewalk/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-analyzer/firewalk-5.0 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-03-02 02:47:36 UTC
Fixed. Thanks very much.