Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62600 - xfce4-netload-0.2.2 fails to compile
Summary: xfce4-netload-0.2.2 fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 03:02 UTC by Kathy Wills
Modified: 2004-12-06 20:50 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 Kathy Wills 2004-09-02 03:02:32 UTC
xfce4-netload-0.2.2 emerge fails with [libnetload_la-net.lo] Error 1

Reproducible: Always
Steps to Reproduce:
1.emerge xfce4-netload
2.
3.

Actual Results:  
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
-DXTHREADS-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/xfce4
-I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -march=pentium3 -mtune=i686
-O2 -funroll-loops -pipe -fno-unit-at-a-time -MT libnetload_la-net.lo -MD -MP
-MF .deps/libnetload_la-net.Tpo -c net.c  -fPIC -DPIC -o .libs/libnetload_la-net.o
In file included from /usr/include/linux/ppp_defs.h:45,
                 from /usr/include/net/ppp_defs.h:8,
                 from os.h:163,
                 from net.h:31,
                 from net.c:39:
/usr/include/linux/crc-ccitt.h:6: error: syntax error before "const"
/usr/include/linux/crc-ccitt.h:8: error: parse error before "crc_ccitt"
/usr/include/linux/crc-ccitt.h:8: error: parse error before "crc"
/usr/include/linux/crc-ccitt.h:10: error: parse error before "crc_ccitt_byte"
/usr/include/linux/crc-ccitt.h:10: error: parse error before "crc"
/usr/include/linux/crc-ccitt.h: In function `crc_ccitt_byte':
/usr/include/linux/crc-ccitt.h:12: error: `crc' undeclared (first use in this
function)
/usr/include/linux/crc-ccitt.h:12: error: (Each undeclared identifier is
reported only once
/usr/include/linux/crc-ccitt.h:12: error: for each function it appears in.)
/usr/include/linux/crc-ccitt.h:12: error: `c' undeclared (first use in this
function)
make[2]: *** [libnetload_la-net.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libnetload_la-netload.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xfce4-netload-0.2.2/work/xfce4-netload-plugin-0.2.2/panel-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xfce4-netload-0.2.2/work/xfce4-netload-plugin-0.2.2'
make: *** [all] Error 2

!!! ERROR: xfce-extra/xfce4-netload-0.2.2 failed.
!!! Function src_compile, Line 415, Exitcode 2
!!! emake failed

Expected Results:  
Should have emerged.

Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe -fno-unit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main
/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups doc encode esd foomaticdb gdbm
gif gimp gimp-print gphoto2 gtk gtk2 imlib java jpeg kde libg++ libwww mad
mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sambasdl slang spell ssl svga tcltk tcpd tetex
truetype x86 xml2 xmms xv zlib"
Comment 1 Congtat Cia 2004-09-24 07:02:03 UTC
I had the same problem either in 0.2.2 or 0.2.3.
However, re-emerge sys-kernel/linux26-headers seems to fix it.
Comment 2 SpanKY gentoo-dev 2004-12-06 20:50:08 UTC
sounds good