<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>75635</bug_id>
          
          <creation_ts>2004-12-25 09:47 0000</creation_ts>
          <short_desc>fung-calc 1.3.2b linking failed, OpenGL</short_desc>
          <delta_ts>2008-06-05 17:27:52 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Ristioja@gmail.com</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          <cc>kde@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>Ristioja@gmail.com</who>
            <bug_when>2004-12-25 09:47:01 0000</bug_when>
            <thetext>fung-calc 1.3.2b compile failed. OpenGL libraries not linked properly, i guess.

Reproducible: Always
Steps to Reproduce:
ACCEPT_KEYWORDS=&quot;~amd64&quot; USE=&quot;-arts -debug opengl -xinerama&quot; emerge fung-calc
Actual Results:  
...
make[3]: Entering directory
`/var/tmp/portage/fung-calc-1.3.2b/work/fung-calc-1.3.2b/src&apos;
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include
-I/usr/qt/3/include -I/usr/X11R6/include  -I./libfungcalcui  -DQT_THREAD_SUPPORT
 -D_REENTRANT -DKDE_APP -DGLGRAPH  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG
-O2 -O2 -fomit-frame-pointer -pipe  -c -o main.o `test -f &apos;main.cpp&apos; || echo
&apos;./&apos;`main.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -fomit-frame-pointer -pipe
  -L/usr/X11R6/lib64 -o fung-calc -L/usr/X11R6/lib64 -L/usr/qt/3/lib64
-L/usr/kde/3.3/lib64  main.o -lkdecore-lkio -lkdeprint
./libfungcalc/libfungcalc.la ./libfungcalc/fparser/libwarpfparser.la
./libfungcalcui/libfungcalcui.la ./libfungcalcui/2D/lib2Dgraphsui.la
libfungcalcui/3D/lib3Dgraphsui.la ./libfungcalc/2D/lib2Dgraphs.la
libfungcalc/3D/lib3Dgraphs.la ./libfungcalc/mathfunctions/libmathfunctions.la
-lqt-mt  -lpng -lz -lm -lXext -lX11-lSM -lICE -lpthread  -lm
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x7f5): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glViewport&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x7ff): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glMatrixMode&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x804): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glLoadIdentity&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x816): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glMatrixMode&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x81b): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glLoadIdentity&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x825): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glDrawBuffer&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x82f): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glEnable&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x839): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glShadeModel&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x846): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glClearDepth&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x850): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glEnable&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x85a): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glEnable&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x869): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glBlendFunc&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x878): In function
`GLBasicGraph::resizeGL(int, int)&apos;:
: undefined reference to `glHint&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x8aa): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glClear&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x8b9): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glPolygonMode&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x8be): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glPushMatrix&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x8d9): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glRotatef&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x8f4): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glRotatef&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x90f): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glRotatef&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x92f): In function
`GLBasicGraph::paintGL()&apos;:
: undefined reference to `glScalef&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x980): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glBegin&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x993): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glColor3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x9b2): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x9d1): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xa84): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glColor3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xaa3): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xac2): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xb75): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glColor3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xb94): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xbb3): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0xc58): In function
`GLBasicGraph::drawAxis()&apos;:
: undefined reference to `glEnd&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x184a): In function
`GLBasicGraph::updateView()&apos;:
: undefined reference to `glMatrixMode&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x184f): In function
`GLBasicGraph::updateView()&apos;:
: undefined reference to `glLoadIdentity&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1884): In function
`GLBasicGraph::updateView()&apos;:
: undefined reference to `glOrtho&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1a5c): In function
`GLBasicGraph::drawLetterPlus(double, double, double, double, double)&apos;:
: undefined reference to `glVertex3d&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1a84): In function
`GLBasicGraph::drawLetterPlus(double, double, double, double, double)&apos;:
: undefined reference to `glVertex3d&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1a9b): In function
`GLBasicGraph::drawLetterPlus(double, double, double, double, double)&apos;:
: undefined reference to `glVertex3d&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1abe): In function
`GLBasicGraph::drawLetterPlus(double, double, double, double, double)&apos;:
: undefined reference to `glVertex3d&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1aec): In function
`GLBasicGraph::drawLetterMinus(double, double, double, double)&apos;:
: undefined reference to `glVertex3d&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glbasicgraph.o)(.text+0x1b0c): more undefined
references to `glVertex3d&apos; follow
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x6dc): In
function `GLExpressionGraph::paintGL()&apos;:
: undefined reference to `glEnable&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x6f1): In
function `GLExpressionGraph::paintGL()&apos;:
: undefined reference to `glPolygonOffset&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x723): In
function `GLExpressionGraph::paintGL()&apos;:
: undefined reference to `glCallList&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x743): In
function `GLExpressionGraph::paintGL()&apos;:
: undefined reference to `glPopMatrix&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x75b): In
function `GLExpressionGraph::paintGL()&apos;:
: undefined reference to `glColor3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x86f): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glBegin&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x8ea): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x926): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x94b): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x980): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x9a5): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x9d8): more
undefined references to `glVertex3f&apos; follow
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0xc77): In
function `GLExpressionGraph::drawCube(float, float, float, float, float)&apos;:
: undefined reference to `glEnd&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0xfe3): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glNewList&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x101b): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glBegin&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x10e0): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1158): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1166): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glEnd&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x11d6): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glBegin&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x12b2): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x12f0): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1332): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1371): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1380): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glEnd&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x138d): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glEndList&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x143b): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glNewList&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1442): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glBegin&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x14de): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glVertex3f&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x14f4): In
function `GLExpressionGraph::compileList(unsigned int, FungParser&amp;,
std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, QColor
const&amp;)&apos;:
: undefined reference to `glEnd&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x1856): In
function `GLExpressionGraph::addExpression(Expression const&amp;)&apos;:
: undefined reference to `glGenLists&apos;
libfungcalc/3D/.libs/lib3Dgraphs.a(glexpressiongraph.o)(.text+0x20ee): In
function `GLExpressionGraph::doColorBlend(float, QColor const&amp;, float, float)&apos;:
: undefined reference to `glColor3f&apos;
collect2: ld returned 1 exit status
make[3]: *** [fung-calc] Error 1
make[3]: Leaving directory
`/var/tmp/portage/fung-calc-1.3.2b/work/fung-calc-1.3.2b/src&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/fung-calc-1.3.2b/work/fung-calc-1.3.2b/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fung-calc-1.3.2b/work/fung-calc-1.3.2b&apos;
make: *** [all] Error 2


Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.3.4,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.26
Libtools: sys-devel/libtool-1.5.2-r7
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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 /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://ftp.linux.ee/pub/gentoo/distfiles/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Ristioja@gmail.com</who>
            <bug_when>2004-12-25 11:00:31 0000</bug_when>
            <thetext>I got it working, by re-emerging glut (not upgrading).

the output of ./configure of fung-calc before re-emerging glut was:

checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no

and after:

checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes

There seems to be something wrong with the configure scripts or something similar. I&apos;m not as smart as to spot the knot and fix it thou :(

The Workaround: re-emerge media-libs/glut</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-12-28 06:44:07 0000</bug_when>
            <thetext>You just need to run opengl-update to update your opengl headers back to the xorg ones.  Most likely your nvidia ones conflict.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Ristioja@gmail.com</who>
            <bug_when>2004-12-28 07:13:34 0000</bug_when>
            <thetext>root /usr/lib $ ls -l libGL*
-rw-r--r--  1 root root    780 Oct 30 21:24 libGL.la
lrwxrwxrwx  1 root root     41 Oct 30 21:24 libGL.so -&gt; /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
lrwxrwxrwx  1 root root     41 Oct 30 21:24 libGL.so.1 -&gt; /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
-rw-r--r--  1 root root 920462 Oct 28 19:35 libGLU.a
-rw-r--r--  1 root root    769 Oct 28 19:35 libGLU.la
lrwxrwxrwx  1 root root     13 Oct 28 19:35 libGLU.so -&gt; libGLU.so.1.3
lrwxrwxrwx  1 root root     13 Oct 28 19:35 libGLU.so.1 -&gt; libGLU.so.1.3
-rwxr-xr-x  1 root root 623149 Oct 28 19:35 libGLU.so.1.3

opengl-update should be already xorg-x11... btw, i&apos;ve always used xorg-x11 opengl as i&apos;m another ATI Radeon 9200 SE user on amd64. So i guess that should not be the problem. Maybe the symlinks just got lost somehow.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@ellisw.net</who>
            <bug_when>2005-04-26 23:47:51 0000</bug_when>
            <thetext>Also on a fresh gentoo install with no nvidia drivers, emerging fung-calc fails to link!

I&apos;m getting the same error output listed here.  The differences to the report above are that glut hasn&apos;t been installed on my machine yet and I&apos;m on x86.  And like the report above, the xorg-x11 GL libraries are properly installed, and I also have an ATI.

Emerging glut prior to fung-calc resolves the problem.  Apparently glut should be at least a dependency in the fung-calc ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-04-26 23:50:42 0000</bug_when>
            <thetext>glut/freeglut is unrelated to the opengl headers touched by opengl-update. Adding the dep is a good idea.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribosome@gentoo.org</who>
            <bug_when>2005-06-04 11:22:52 0000</bug_when>
            <thetext>Indeed. glut is required to build fung-calc with OpenGL support. This is now 
fixed in CVS. Thanks for reporting and commenting. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ingmar@gentoo.org</who>
            <bug_when>2008-06-05 17:27:52 0000</bug_when>
            <thetext>@Ristioja@gmail.com:
Stop needlessly changing old bugs, every change you make results in spam in my inbox.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>