Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29056 - gtop wont compile
Summary: gtop wont compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-18 18:06 UTC by Joel Hill (RETIRED)
Modified: 2003-09-21 05:21 UTC (History)
0 users

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


Attachments
proposed gtop-gcc-3.3 patch (gtop-1.0.13-gcc-3.3.patch,1.96 KB, patch)
2003-09-20 17:29 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Hill (RETIRED) gentoo-dev 2003-09-18 18:06:57 UTC
in dont see why this wont compile

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include                          -I./intl
-I./intl               -DGNOMELOCALEDIR=\""/usr/share/locale"\"       
-DLOCALEDIR=\"/usr/share/locale\"                       -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include -I/usr/include/libgtop-1.0 -DHAVE_LIBGTOP_SMP
-DHAVE_LIBGTOP_SYSINFO -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -O3
-march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer -Wall -Wunused  -c global.c
main.c:256:39: pasting "&" and "Global" does not give a valid preprocessing token
main.c:256:39: pasting "." and "global" does not give a valid preprocessing token
main.c:256:39: pasting "global" and ")" does not give a valid preprocessing token
main.c:257:43: pasting "&" and "ProcView" does not give a valid preprocessing token
main.c:257:43: pasting "." and "procview" does not give a valid preprocessing token
main.c:257:43: pasting "procview" and ")" does not give a valid preprocessing token
main.c:258:47: pasting "&" and "ProcFields" does not give a valid preprocessing
token
main.c:258:47: pasting "." and "procfields" does not give a valid preprocessing
token
main.c:258:47: pasting "procfields" and ")" does not give a valid preprocessing
token
main.c:259:41: pasting "&" and "Summary" does not give a valid preprocessing token
main.c:259:41: pasting "." and "summary" does not give a valid preprocessing token
main.c:259:41: pasting "summary" and ")" does not give a valid preprocessing token
main.c:260:54: pasting "&" and "SummaryColors" does not give a valid
preprocessing token
main.c:260:54: pasting "." and "summary_colors" does not give a valid
preprocessing token
main.c:260:54: pa
sting "summary_colors" and ")" does not give a valid preprocessing token
main.c:261:43: pasting "&" and "MemUsage" does not give a valid preprocessing token
main.c:261:43: pasting "." and "memusage" does not give a valid preprocessing token
main.c:261:43: pasting "memusage" and ")" does not give a valid preprocessing token
main.c:262:41: pasting "&" and "FsUsage" does not give a valid preprocessing token
main.c:262:41: pasting "." and "fsusage" does not give a valid preprocessing token
main.c:262:41: pasting "fsusage" and ")" does not give a valid preprocessing token
main.c:263:37: pasting "&" and "Graph" does not give a valid preprocessing token
main.c:263:37: pasting "." and "graph" does not give a valid preprocessing token
main.c:263:37: pasting "graph" and ")" does not give a valid preprocessing token
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtop-1.0.13-r2/work/gtop-1.0.13'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-extra/gtop-1.0.13-r2 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)


emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-wolk4.9s)
=================================================================
System uname: 2.4.20-wolk4.9s i686 AMD Athlon(TM) XP 2500+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync6.us.gentoo.org/gentoo-portage"
USE="cups guile perl esd cdr gtk2 dvd alsa x86 oss apm -arts avi berkdb crypt
=cups encode foomaticdb gdbm gif -gpm gtk imlib java jpeg -kde -gnome libg++
libwww mad -mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png
python -qt -quicktime readline sdl slang -spell ssl svga -tcpd truetype X xml2
xmms -xv zlib"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-09-20 17:29:14 UTC
Created attachment 18052 [details, diff]
proposed gtop-gcc-3.3 patch

This patch allows gtop to compile using gcc-3.3 which is much stricter than
earlier versions in complying with ISO/ANSI C standards.
Comment 2 foser (RETIRED) gentoo-dev 2003-09-21 05:21:30 UTC
patch looks ok to me, applied it.

Thanks for your help.