Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53444 - emerge fails for net-analyser/xtraceroute-0.9.1
Summary: emerge fails for net-analyser/xtraceroute-0.9.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 13:03 UTC by Shyam Mani (RETIRED)
Modified: 2004-06-09 18:12 UTC (History)
1 user (show)

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 Shyam Mani (RETIRED) gentoo-dev 2004-06-09 13:03:57 UTC
Basically, the last two attempts to emerge Xtraceroute failed with the same error, on GL.

Reproducible: Always
Steps to Reproduce:
1.emerge -u xtraceroute
2.
3.

Actual Results:  
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext --from-code=ISO-8859-1
checking for msgmerge... /usr/bin/msgmerge
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: ./config.rpath:
No such file or directory
done
checking for iconv... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for traceroute... /usr/sbin/traceroute
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
checking for gdk-pixbuf-config... /usr/bin/gdk-pixbuf-config
checking for GDK_PIXBUF - version >= 0.8.0... yes
checking GL... yes
checking GtkGLArea... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating share/xtraceroute-resolve-location.sh
config.status: creating Makefile
config.status: creating xtraceroute.1
config.status: creating xtraceroute.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1'
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/intl'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/po'
make[2]: Leaving directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/po'
Making all in share
make[2]: Entering directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/share'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1/share'
make[2]: Entering directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1'
source='readtexture.c' object='readtexture.o' libtool=no \
depfile='.deps/readtexture.Po' tmpdepfile='.deps/readtexture.TPo' \
depmode=gcc3 /bin/sh ./depcomp \ gcc -DHAVE_CONFIG_H
-DDATADIR=\"/usr/share/xtraceroute\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.
-I.     -Wall -O3 -O3 -march=pentium3 -mmmx -pipe -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -c `test -f 'readtexture.c' ||
echo './'`readtexture.c
source='db.c' object='db.o' libtool=no \
depfile='.deps/db.Po' tmpdepfile='.deps/db.TPo' \
depmode=gcc3 /bin/sh ./depcomp \ gcc -DHAVE_CONFIG_H
-DDATADIR=\"/usr/share/xtraceroute\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.
-I.     -Wall -O3 -O3 -march=pentium3 -mmmx -pipe -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -c `test -f 'db.c' || echo './'`db.c
source='countries.c' object='countries.o' libtool=no \
depfile='.deps/countries.Po' tmpdepfile='.deps/countries.TPo' \
depmode=gcc3 /bin/sh ./depcomp \ gcc -DHAVE_CONFIG_H
-DDATADIR=\"/usr/share/xtraceroute\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.
-I.     -Wall -O3 -O3 -march=pentium3 -mmmx -pipe -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -c `test -f 'countries.c' || echo
'./'`countries.c
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ./depcomp \ gcc -DHAVE_CONFIG_H
-DDATADIR=\"/usr/share/xtraceroute\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.
-I.     -Wall -O3 -O3 -march=pentium3 -mmmx -pipe -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -c `test -f 'main.c' || echo
'./'`main.c
source='sphere.c' object='sphere.o' libtool=no \
depfile='.deps/sphere.Po' tmpdepfile='.deps/sphere.TPo' \
depmode=gcc3 /bin/sh ./depcomp \ gcc -DHAVE_CONFIG_H
-DDATADIR=\"/usr/share/xtraceroute\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.
-I.     -Wall -O3 -O3 -march=pentium3 -mmmx -pipe -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -c `test -f 'sphere.c' || echo
'./'`sphere.c
sphere.c:52:19: GL/gl.h: No such file or directory
main.c:22:20: GL/glx.h: No such file or directory
In file included from main.c:23:
/usr/X11R6/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from main.c:23:
/usr/X11R6/include/GL/glu.h:262: error: syntax error before '*' token
/usr/X11R6/include/GL/glu.h:262: warning: type defaults to `int' in declaration
of `GLvoid'
/usr/X11R6/include/GL/glu.h:262: warning: parameter names (without types) in
function declaration
/usr/X11R6/include/GL/glu.h:262: error: `GLvoid' declared as function returning
a function
/usr/X11R6/include/GL/glu.h:269: error: syntax error before "gluBuild1DMipmapLevels"
/usr/X11R6/include/GL/glu.h:269: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:269: warning: type defaults to `int' in declaration
of `gluBuild1DMipmapLevels'
/usr/X11R6/include/GL/glu.h:269: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:270: error: syntax error before "gluBuild1DMipmaps"
/usr/X11R6/include/GL/glu.h:270: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:270: warning: type defaults to `int' in declaration
of `gluBuild1DMipmaps'
/usr/X11R6/include/GL/glu.h:270: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:271: error: syntax error before "gluBuild2DMipmapLevels"
/usr/X11R6/include/GL/glu.h:271: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:271: warning: type defaults to `int' in declaration
of `gluBuild2DMipmapLevels'
/usr/X11R6/include/GL/glu.h:271: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:272: error: syntax error before "gluBuild2DMipmaps"
/usr/X11R6/include/GL/glu.h:272: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:272: warning: type defaults to `int' in declaration
of `gluBuild2DMipmaps'
/usr/X11R6/include/GL/glu.h:272: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:273: error: syntax error before "gluBuild3DMipmapLevels"
/usr/X11R6/include/GL/glu.h:273: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:273: warning: type defaults to `int' in declaration
of `gluBuild3DMipmapLevels'
/usr/X11R6/include/GL/glu.h:273: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:274: error: syntax error before "gluBuild3DMipmaps"
/usr/X11R6/include/GL/glu.h:274: error: syntax error before "target"
/usr/X11R6/include/GL/glu.h:274: warning: type defaults to `int' in declaration
of `gluBuild3DMipmaps'
/usr/X11R6/include/GL/glu.h:274: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:275: error: syntax error before "gluCheckExtension"
/usr/X11R6/include/GL/glu.h:275: warning: type defaults to `int' in declaration
of `GLubyte'
/usr/X11R6/include/GL/glu.h:275: error: syntax error before '*' token
/usr/X11R6/include/GL/glu.h:275: warning: type defaults to `int' in declaration
of `gluCheckExtension'
/usr/X11R6/include/GL/glu.h:275: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:276: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:280: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:285: error: syntax error before '*' token
/usr/X11R6/include/GL/glu.h:285: error: syntax error before "error"
/usr/X11R6/include/GL/glu.h:285: warning: type defaults to `int' in declaration
of `gluErrorString'
/usr/X11R6/include/GL/glu.h:285: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:286: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:287: error: syntax error before '*' token
/usr/X11R6/include/GL/glu.h:287: error: syntax error before "name"
/usr/X11R6/include/GL/glu.h:287: warning: type defaults to `int' in declaration
of `gluGetString'
/usr/X11R6/include/GL/glu.h:287: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:288: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:289: warning: type defaults to `int' in declaration
of `GLfloat'
/usr/X11R6/include/GL/glu.h:289: error: syntax error before '*' token
/usr/X11R6/include/GL/glu.h:290: error: syntax error before "eyeX"
/usr/X11R6/include/GL/glu.h:294: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:295: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:298: error: syntax error before "GLint"
/usr/X11R6/include/GL/glu.h:299: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:300: error: syntax error before "GLint"
/usr/X11R6/include/GL/glu.h:301: error: syntax error before "left"
/usr/X11R6/include/GL/glu.h:302: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:303: error: syntax error before "fovy"
/usr/X11R6/include/GL/glu.h:304: error: syntax error before "x"
/usr/X11R6/include/GL/glu.h:305: error: syntax error before "gluProject"
/usr/X11R6/include/GL/glu.h:305: error: syntax error before "objX"
/usr/X11R6/include/GL/glu.h:305: warning: type defaults to `int' in declaration
of `gluProject'
/usr/X11R6/include/GL/glu.h:305: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:306: error: syntax error before "GLint"
/usr/X11R6/include/GL/glu.h:307: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:308: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:309: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:310: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:311: error: syntax error before "GLboolean"
/usr/X11R6/include/GL/glu.h:312: error: syntax error before "gluScaleImage"
/usr/X11R6/include/GL/glu.h:312: error: syntax error before "format"
/usr/X11R6/include/GL/glu.h:312: warning: type defaults to `int' in declaration
of `gluScaleImage'
/usr/X11R6/include/GL/glu.h:312: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:313: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:316: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:319: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:320: error: syntax error before "GLenum"
/usr/X11R6/include/GL/glu.h:321: error: syntax error before "GLdouble"
/usr/X11R6/include/GL/glu.h:322: error: syntax error before "gluUnProject"
/usr/X11R6/include/GL/glu.h:322: error: syntax error before "winX"
/usr/X11R6/include/GL/glu.h:322: warning: type defaults to `int' in declaration
of `gluUnProject'
/usr/X11R6/include/GL/glu.h:322: warning: data definition has no type or storage
class
/usr/X11R6/include/GL/glu.h:323: error: syntax error before "gluUnProject4"
/usr/X11R6/include/GL/glu.h:323: error: syntax error before "winX"
/usr/X11R6/include/GL/glu.h:323: warning: type defaults to `int' in declaration
of `gluUnProject4'
/usr/X11R6/include/GL/glu.h:323: warning: data definition has no type or storage
class
main.c:47: error: syntax error before "zoom"
main.c:47: warning: type defaults to `int' in declaration of `zoom'
main.c:47: warning: data definition has no type or storage class
main.c:50: error: syntax error before "vp"
main.c:50: warning: type defaults to `int' in declaration of `vp'
main.c:50: warning: type defaults to `int' in declaration of `vp'
main.c:50: warning: data definition has no type or storage class
main.c: In function `recalcModelView':
main.c:92: error: `GLfloat' undeclared (first use in this function)
main.c:92: error: (Each undeclared identifier is reported only once
main.c:92: error: for each function it appears in.)
main.c:92: error: syntax error before "m"
main.c:94: warning: implicit declaration of function `glPopMatrix'
main.c:95: warning: implicit declaration of function `glPushMatrix'
main.c:97: error: `m' undeclared (first use in this function)
main.c:98: warning: implicit declaration of function `glMultMatrixf'
main.c:100: warning: implicit declaration of function `glScalef'
main.c: In function `redraw':
main.c:119: warning: implicit declaration of function `glClear'
main.c:119: error: `GL_COLOR_BUFFER_BIT' undeclared (first use in this function)
main.c:119: error: `GL_DEPTH_BUFFER_BIT' undeclared (first use in this function)
main.c:120: warning: implicit declaration of function `glCallList'
main.c: At top level:
main.c:131: error: syntax error before "x"
main.c: In function `which_site':
main.c:134: error: syntax error before "GLuint"
main.c:134: warning: no semicolon at end of struct or union
main.c:135: error: `GLuint' undeclared (first use in this function)
main.c:138: warning: no return statement in function returning non-void
main.c: At top level:
main.c:138: warning: type defaults to `int' in declaration of `hit_record'
main.c:138: warning: data definition has no type or storage class
main.c:139: error: syntax error before "selectBuf"
main.c:139: warning: type defaults to `int' in declaration of `selectBuf'
main.c:139: warning: data definition has no type or storage class
main.c:140: error: syntax error before "hits"
main.c:140: warning: type defaults to `int' in declaration of `hits'
main.c:140: warning: data definition has no type or storage class
main.c:141: error: syntax error before "aspect"
main.c:141: warning: type defaults to `int' in declaration of `aspect'
main.c:141: warning: data definition has no type or storage class
main.c:147: error: syntax error before numeric constant
main.c:148: warning: type defaults to `int' in declaration of `glRenderMode'
main.c:148: warning: parameter names (without types) in function declaration
main.c:148: warning: data definition has no type or storage class
main.c:149: warning: type defaults to `int' in declaration of `glInitNames'
main.c:149: warning: data definition has no type or storage class
main.c:150: error: syntax error before '~' token
main.c:150: warning: type defaults to `int' in declaration of `glPushName'
main.c:150: warning: data definition has no type or storage class
main.c:151: warning: type defaults to `int' in declaration of `glMatrixMode'
main.c:151: warning: parameter names (without types) in function declaration
main.c:151: warning: data definition has no type or storage class
main.c:152: warning: type defaults to `int' in declaration of `glPushMatrix'
main.c:152: warning: data definition has no type or storage class
main.c:153: warning: type defaults to `int' in declaration of `glLoadIdentity'
main.c:153: warning: data definition has no type or storage class
main.c:154: error: syntax error before '->' token
main.c:154: warning: type defaults to `int' in declaration of `gluPickMatrix'
main.c:154: error: conflicting types for `gluPickMatrix'
/usr/X11R6/include/GL/glu.h:304: error: previous declaration of `gluPickMatrix'
main.c:154: warning: data definition has no type or storage class
main.c:158: warning: type defaults to `int' in declaration of `aspect'
main.c:158: error: initializer element is not constant
main.c:158: warning: data definition has no type or storage class
main.c:159: error: syntax error before "if"
main.c:176: warning: type defaults to `int' in declaration of `glMatrixMode'
main.c:176: warning: parameter names (without types) in function declaration
main.c:176: warning: data definition has no type or storage class
main.c:178: error: syntax error before numeric constant
main.c:178: warning: type defaults to `int' in declaration of `set_render_mode'
main.c:178: error: conflicting types for `set_render_mode'
xt.h:226: error: previous declaration of `set_render_mode'
main.c:178: warning: data definition has no type or storage class
main.c:179: warning: type defaults to `int' in declaration of `makeearth'
main.c:179: error: conflicting types for `makeearth'
xt.h:227: error: previous declaration of `makeearth'
main.c:179: warning: data definition has no type or storage class
main.c:180: error: syntax error before numeric constant
main.c:180: warning: type defaults to `int' in declaration of `set_render_mode'
main.c:180: warning: data definition has no type or storage class
main.c:182: error: syntax error before numeric constant
main.c:182: warning: type defaults to `int' in declaration of `glCallList'
main.c:182: warning: data definition has no type or storage class
main.c:183: warning: type defaults to `int' in declaration of `hits'
main.c:183: error: redefinition of `hits'
main.c:140: error: `hits' previously defined here
main.c:183: error: `GL_RENDER' undeclared here (not in a function)
main.c:183: error: initializer element is not constant
main.c:183: warning: data definition has no type or storage class
main.c:189: warning: type defaults to `int' in declaration of `glMatrixMode'
main.c:189: warning: parameter names (without types) in function declaration
main.c:189: warning: data definition has no type or storage class
main.c:190: warning: type defaults to `int' in declaration of `glPopMatrix'
main.c:190: warning: data definition has no type or storage class
main.c:191: warning: type defaults to `int' in declaration of `glMatrixMode'
main.c:191: warning: parameter names (without types) in function declaration
main.c:191: warning: data definition has no type or storage class
main.c:195: error: syntax error before '{' token
main.c:200: error: syntax error before "for"
main.c:217: warning: type defaults to `int' in declaration of `retval'
main.c:217: error: redefinition of `retval'
main.c:197: error: `retval' previously defined here
main.c:217: error: request for member `name' in something not a structure or union
main.c:217: warning: data definition has no type or storage class
main.c:218: error: syntax error before '}' token
main.c: In function `reshape':
main.c:233: error: `GLdouble' undeclared (first use in this function)
main.c:233: error: syntax error before "aspect"
main.c:250: warning: implicit declaration of function `glViewport'
main.c:252: error: `GL_PROJECTION' undeclared (first use in this function)
main.c:273: error: `GL_MODELVIEW' undeclared (first use in this function)
main.c:274: warning: implicit declaration of function `glGetIntegerv'
main.c:274: error: `GL_VIEWPORT' undeclared (first use in this function)
main.c: In function `build_menu':
main.c:725: warning: passing arg 3 of `gtk_item_factory_create_items' discards
qualifiers from pointer target type
main.c: In function `main':
main.c:1363: warning: passing arg 2 of `gtk_clist_new_with_titles' from
incompatible pointer type
{standard input}: Assembler messages:
{standard input}:278: Error: symbol `hits' is already defined
{standard input}:285: Error: symbol `retval' is already defined
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sphere.c:151: error: syntax error before "GLdouble"
sphere.c: In function `addVertex':
sphere.c:153: error: `GLdouble' undeclared (first use in this function)
sphere.c:153: error: (Each undeclared identifier is reported only once
sphere.c:153: error: for each function it appears in.)
sphere.c:153: error: syntax error before "a"
sphere.c:155: error: `v' undeclared (first use in this function)
sphere.c:157: warning: implicit declaration of function `glNormal3fv'
sphere.c:158: error: `a' undeclared (first use in this function)
sphere.c:159: error: `b' undeclared (first use in this function)
sphere.c:164: error: `lastlon' undeclared (first use in this function)
sphere.c:174: error: syntax error before "dist"
sphere.c:175: error: `dist' undeclared (first use in this function)
sphere.c:181: warning: implicit declaration of function `glTexCoord2f'
sphere.c:182: warning: implicit declaration of function `glVertex3fv'
sphere.c: In function `sphere':
sphere.c:188: error: `GLdouble' undeclared (first use in this function)
sphere.c:188: error: syntax error before "last_lon"
sphere.c:205: error: `last_lon' undeclared (first use in this function)
sphere.c:207: warning: implicit declaration of function `glBegin'
sphere.c:207: error: `GL_TRIANGLE_STRIP' undeclared (first use in this function)
sphere.c:218: warning: implicit declaration of function `glEnd'
make[2]: *** [sphere.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xtraceroute-0.9.1/work/xtraceroute-0.9.1'
make: *** [all] Error 2

!!! ERROR: net-analyzer/xtraceroute-0.9.1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! emake failed



Expected Results:  
Should install Xtraceroute flawlessly.

emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="rsync://203.16.234.20/gentoo/ ftp://203.16.234.19/pub/gentoo/
ftp://linux.thai.net/pub/mirrors/gentoo http://linux.thai.net/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi berkdb cdr crypt cscope cups encode
esd ethereal fbcon foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2
gtkhtml imlib imlib2 innodb javascript jpeg kde libg++ libwww mad md5sum mikmod
mmx motif mozilla mpeg mpeg4 mysql ncurses nls odbc offensive oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl
svga tcltk tcpd tiff truetype usb vanilla x86 xml2 xmms xosd xv xvid zlib"

I have an NVidia Card, Riva TNT2 Ultra & about 384 MB of RAM on a P3 500.
Comment 1 Tom Martin (RETIRED) gentoo-dev 2004-06-09 13:35:33 UTC
Do you have nvidia-glx installed? Did you install it through Portage? Do you use another provider for these headers?

> GL/gl.h: No such file or directory
> GL/glx.h: No such file or directory

Can you check if there are dangling symlinks in /usr/X11R6/include/GL/{gl,glx}.h?
Comment 2 Tom Martin (RETIRED) gentoo-dev 2004-06-09 13:38:48 UTC
Do you have nvidia-glx installed? Did you install it through Portage? Do you use another provider for these headers?

> GL/gl.h: No such file or directory
> GL/glx.h: No such file or directory

Can you check if there are dangling symlinks in /usr/X11R6/include/GL/{gl,glx}.h?
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2004-06-09 18:12:39 UTC
Yeah, that was a dangling link.

Ok, I hadn't emerged nvidia as it didn't work at first with 2.6.6

Uninstalled that & emerged nvidia-kernel & nvidia-glx, & the problem is solved. 

Thanks!