net-analyzer/trafshow-5.2.1 compilation fails: creating Makefile creating config.h gcc -O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c trafshow.c: In function
net-analyzer/trafshow-5.2.1 compilation fails: creating Makefile creating config.h gcc -O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c trafshow.c: In function parse_feed: trafshow.c:496: warning: pointer targets in passing argument 5 of parse_dl differ in signedness gcc -O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -Wall -I. -DHAVE_CONFIG_H -pthread -c screen.c screen.c:154: error: static declaration of curs_dock_x follows non-static declaration screen.c:44: error: previous declaration of curs_dock_x was here screen.c:154: error: static declaration of curs_dock_y follows non-static declaration screen.c:44: error: previous declaration of curs_dock_y was here make: *** [screen.o] Error 1 !!! ERROR: net-analyzer/trafshow-5.2.1 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! emake failed My system is Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-4.0.1, glibc-2.3.5.20050421-r0, 2.6.13-suspend2-r4 i686) ================================================================= System uname: 2.6.13-suspend2-r4 i686 Intel(R) Celeron(R) M processor 1400MHz Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/ ftp://mirror.aiya.ru/pub/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en ru" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 7zip X Xaw3d a52 aac aalib acpi adns alsa apache2 apm arts artswrappersuid auctex automount avi bash-completion berkdb bitmap-fonts bluetooth boo browserplugin bzip2 cairo cddb cdparanoia cdr cgi cli clock-screen cpudetection crypt cscope cups curl dbus directfb divx4linux djvu dpms dts dvd dvdread dvi dynagraph eds elf emacs encode epiphany esd ethereal fam fat fbcon fbsplash ffmpeg fftw firefox flac foomaticdb fortran ftp gd ggi gif glade glitz glut gmail gmp gnome gnome-print gnuplot gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal hdf5 hlapi howl hpn i8x0 iconv icq icu imagemagick imlib imlib2 ipv6 jabber jack java jce jikes jpeg jpeg2k junit kde kerberos key-screen ldap leim lesstif libg++ libwww logrotate lua mad matroska mikmod mime mmx mmxext mng mono motif mouse moznocompose moznoirc moznomail mp3 mpeg mplayer musicbrainz mysql mysqli ncurses netboot nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino nosendmail nosrc noxalan noxerces nptl nptlonly nsplugin ntfs odbc offensive ofx ogg oggvorbis openal opengl oscar oss pam pcntl pcre pcsc-lite pdflib pear perl plotutils png posix ppds print pyste python qt quicktime radius rar rdesktop readline real rtc ruby samba sasl scanner sdl sguil slang slp smux snmp sockets speex spell spl sql sqlite sse sse2 ssl svg svga symlink sysfs syslog sysvipc tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vim-with-x vorbis wifi win32codecs winbind wxwindows xchatdccserver xine xml xml2 xmms xpm xprint xrandr xscreensaver xsl xv xvid xvmc zeroconf zip zlib linguas_en linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Sorry, we don't support gcc-4. Feel free to reopen with a patch.
Created attachment 69197 [details, diff] Fixes gcc-4 compilation error
:-D Quick hack would be --- screen.c.orig 2004-05-19 13:28:53.000000000 +0400 +++ screen.c 2005-09-25 12:24:58.000000000 +0400 @@ -41,8 +41,6 @@ int prompt_mode = 0; double line_factor = 1; -extern int curs_dock_x, curs_dock_y; - /* * Initialize curses. */
Patch looks good, since that initial declaration isn't actually used anywhere. In cvs, thanks for reporting.