Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306503 - media-libs/freeglut-2.6.0 fails to compile on IRIX
Summary: media-libs/freeglut-2.6.0 fails to compile on IRIX
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 10:32 UTC by Stuart Shelton
Modified: 2011-12-15 18:49 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 Stuart Shelton 2010-02-23 10:32:41 UTC
... ironically.

The build barfs when trying to build progs/demos/smooth_opengl3/smooth_opengl3.c with a load of errors in the form:

Making all in smooth_opengl3
make[4]: Entering directory `/usr/opt/portage/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0/progs/demos/smooth_opengl3'
source='smooth_opengl3.c' object='smooth_opengl3-smooth_opengl3.o' libtool=no \
        DEPDIR=.deps depmode=gcc /opt/portage/bin/bash ../../../depcomp \
        cc -DHAVE_CONFIG_H -I. -I../../..   -I/opt/portage/usr/include -I../../../include  -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip35:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035,1999,3333 -woff 1174,1183,1185,1552,3968,3970 -c -o smooth_opengl3-smooth_opengl3.o `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c
cc-1020 cc: ERROR File = smooth_opengl3.c, Line = 123
  The identifier "PFNGLGENBUFFERSPROC" is undefined.

  PFNGLGENBUFFERSPROC gl_GenBuffers;
  ^

cc-1020 cc: ERROR File = smooth_opengl3.c, Line = 124
  The identifier "PFNGLBINDBUFFERPROC" is undefined.

  PFNGLBINDBUFFERPROC gl_BindBuffer;
  ^

... etc.

This seems to be trivially fixable by adding the following to the top of smooth_opengl3.c:

#include <GL/gl.h>
#include <GL/glext.h>

... but, if this is necessary, how did it ever work on any platform?
Comment 1 Guilherme Amadio gentoo-dev 2010-03-24 17:08:47 UTC
media-libs/freeglut fails to compile for me too, on prefix/x86_64-apple-darwin10, but the errors are related to ld. The output is below. I am using binutils-apple-3.2-r1 and gcc-apple-4.2.1_p5647 (the latest in the tree).

libtool: compile:  x86_64-apple-darwin10-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/Library/Gentoo/usr/include -O2 -pipe -march=nocona -mssse3 -MT libglut_la-freeglut_state.lo -.o .libs/libglut_la-freeglut_videoresize.o .libs/libglut_la-freeglut_window.o   -L/Library/Gentoo/usr/lib -lGL /Library/Gentoo/usr/lib/libXext.dylib /Library/Gentoo/usr/lib/libX11.dylib /Library/Gentoo/usr/lib/libxcb.dylib /Library/Gentoo/usr/lib/libXau.dylib /Library/Gentoo/usr/lib/libXdmcp.dylib -lXi  -march=nocona -mssse3   -install_name  /Library/Gentoo/usr/lib/libglut.3.dylib -compatibility_version 13 -current_version 13.0 -Wl,-single_module
collect2: ld terminated with signal 6 [Abort trap]
terminate called after throwing an instance of 'char const*'
make[2]: *** [libglut.la] Error 1
make[2]: Leaving directory `/Library/Gentoo/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Library/Gentoo/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0'
make: *** [all] Error 2
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 18:49:34 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.