make[1]: Entering directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafd' gcc -O2 -march=i686 -pipe -I../include -I../../tcpdump-richard-1.7/linux-include -I../../tcpdump-richard-1.7/libpcap-0.0/bpf/ -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/etc/traflog.format\" -c -o traffic.o traffic.c traffic.c:72: error: static declaration of 'begin_time' follows non-static declaration trafd.h:28: error: previous declaration of 'begin_time' was here traffic.c: In function 'traf_add': traffic.c:178: warning: incompatible implicit declaration of built-in function 'exit' traffic.c: In function 'processing_ip': traffic.c:549: warning: incompatible implicit declaration of built-in function 'exit' traffic.c:557: warning: incompatible implicit declaration of built-in function 'exit' traffic.c:565: warning: incompatible implicit declaration of built-in function 'exit' make[1]: *** [traffic.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafd' ===> Build in trafstat <=== make[1]: Entering directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafstat' make[1]: `trafstat' is up to date. make[1]: Leaving directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafstat' ===> Build in trafstatd <=== make[1]: Entering directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafstatd' make[1]: `trafstatd' is up to date. make[1]: Leaving directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/trafstatd' ===> Build in traflog <=== make[1]: Entering directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/traflog' make[1]: `traflog' is up to date. make[1]: Leaving directory `/var/tmp/portage/trafd-3.0.1/work/trafd-3.0.1/traflog' Done. install -s -o root -g wheel -m 750 trafd/trafd /var/tmp/portage/trafd-3.0.1/image/usr/bin install: cannot stat `trafd/trafd': No such file or directory make: *** [install] Error 1 !!! ERROR: net-analyzer/trafd-3.0.1 failed.
Gentoo Base System version 1.12.5 Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 i686) ================================================================= System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+ Last Sync: Sat, 21 Oct 2006 17:00:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 101304 [details, diff] trafd-3.0.1-gentoo.diff The patch fixes the compilation with gcc-4.x and removes some compilation and QA pre-stripped warnings
Fix in portage