I'm working on building a package, qantenna[1], and I'm running into the following error: g++ -o ../bin/qantenna ../qt/obj/gl.o ../qt/obj/camera.o ../qt/obj/datamanager.o ../qt/obj/glwidget.o ../qt/obj/line.o ../qt/obj/main.o ../qt/obj/mainwindow.o ../qt/obj/about.o ../qt/obj/neccontainer.o ../qt/obj/necinput.o ../qt/obj/necinputparser.o ../qt/obj/necoutput.o ../qt/obj/necoutputparser.o ../qt/obj/patch.o ../qt/obj/radiationpattern.o ../qt/obj/loadthread.o ../qt/obj/antennadelegate.o ../qt/obj/mmath.o ../qt/obj/vec3.o ../qt/obj/point4f.o ../qt/obj/vertexmatrix.o ../qt/obj/moc_datamanager.o ../qt/obj/moc_glwidget.o ../qt/obj/moc_mainwindow.o ../qt/obj/moc_about.o ../qt/obj/moc_neccontainer.o ../qt/obj/moc_necinput.o ../qt/obj/moc_necoutput.o ../qt/obj/moc_loadthread.o ../qt/obj/moc_antennadelegate.o ../qt/obj/qrc_resource.o -L/usr/X11R6/lib -L/usr/lib64 ../qt/lib/libQAntennaCards.a -lpthread -lGL -lQtOpenGL -lQtGui -lQtCore ../qt/obj/gl.o: In function `GL::checkError(QString const&, int const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:51: undefined reference to `gluErrorString' ../qt/obj/camera.o: In function `Camera::perspective(float, float, float, float)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/camera.cpp:118: undefined reference to `gluPerspective' ../qt/obj/necinput.o: In function `NECInput::createOpenGLList()': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/necinput.cpp:1054: undefined reference to `gluNewQuadric' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/necinput.cpp:1059: undefined reference to `gluDisk' ../qt/obj/necoutput.o: In function `NECOutput::processData()': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/necoutput.cpp:114: undefined reference to `gluNewQuadric' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/necoutput.cpp:115: undefined reference to `gluQuadricNormals' ../qt/obj/necoutput.o: In function `NECOutput::render()': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/necoutput.cpp:179: undefined reference to `gluSphere' collect2: ld returned 1 exit status The only place I can find where gluErrorString is actually defined is in GL/glu_mangle.h and all it seems to do is mangle the names from the "m" version of the name, i.e.: mgluErrorString. I can force the define to cause glu.h to pull in glu_mangle.h but then I get: g++ -o ../bin/qantenna ../qt/obj/gl.o ../qt/obj/camera.o ../qt/obj/datamanager.o ../qt/obj/glwidget.o ../qt/obj/line.o ../qt/obj/main.o ../qt/obj/mainwindow.o ../qt/obj/about.o ../qt/obj/neccontainer.o ../qt/obj/necinput.o ../qt/obj/necinputparser.o ../qt/obj/necoutput.o ../qt/obj/necoutputparser.o ../qt/obj/patch.o ../qt/obj/radiationpattern.o ../qt/obj/loadthread.o ../qt/obj/antennadelegate.o ../qt/obj/mmath.o ../qt/obj/vec3.o ../qt/obj/point4f.o ../qt/obj/vertexmatrix.o ../qt/obj/moc_datamanager.o ../qt/obj/moc_glwidget.o ../qt/obj/moc_mainwindow.o ../qt/obj/moc_about.o ../qt/obj/moc_neccontainer.o ../qt/obj/moc_necinput.o ../qt/obj/moc_necoutput.o ../qt/obj/moc_loadthread.o ../qt/obj/moc_antennadelegate.o ../qt/obj/qrc_resource.o -L/usr/X11R6/lib -L/usr/lib64 ../qt/lib/libQAntennaCards.a -lpthread -lGL -lQtOpenGL -lQtGui -lQtCore ../qt/obj/gl.o: In function `GL::vertex(float const&, float const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:12: undefined reference to `mglVertex3f' ../qt/obj/gl.o: In function `GL::vertex(Vec3 const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:17: undefined reference to `mglVertex3f' ../qt/obj/gl.o: In function `GL::translate(float const&, float const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:22: undefined reference to `mglTranslatef' ../qt/obj/gl.o: In function `GL::rotate(float const&, float const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:27: undefined reference to `mglRotatef' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:28: undefined reference to `mglRotatef' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:29: undefined reference to `mglRotatef' ../qt/obj/gl.o: In function `GL::scale(float const&, float const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:34: undefined reference to `mglScalef' ../qt/obj/gl.o: In function `GL::color(float const&, float const&, float const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:39: undefined reference to `mglColor4f' ../qt/obj/gl.o: In function `GL::color(Vec3 const&, float const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:44: undefined reference to `mglColor4f' ../qt/obj/gl.o: In function `GL::checkError(QString const&, int const&)': /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:49: undefined reference to `mglGetError' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:51: undefined reference to `mgluErrorString' /home/build/rpmbuild/qantenna/BUILD/qantenna-0.2.3/src/gl.cpp:59: undefined reference to `mglGetError' ../qt/obj/gl.o: In function `GL::useVBO(bool)': ... Am I missing something obvious here? Thanks, Richard [1] http://qantenna.sourceforge.net/ -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel