#1 Linking Error ams-1.7.1: qt/opengl?

closed-fixed
nobody
None
5
2010-10-25
2004-01-10
Anonymous
No

Hi,

QT_BASE_DIR=/usr/qt/3/
QT_LIB_DIR=$(QT_BASE_DIR)/lib
QT_BIN_DIR=$(QT_BASE_DIR)/bin
QT_INCLUDE_DIR=$(QT_BASE_DIR)/include
X11_LIB_DIR=/usr/X11R6/lib
LADSPA_PATH=/usr/lib/ladspa:/usr/local/lib/ladspa
VERSION=1.7.1

CXXFLAGS=-DQT_THREAD_SUPPORT -I$(QT_INCLUDE_DIR)
-DLADSPA_PATH=\"$(LADSPA_PATH)\" -I/usr/X11R6/include
-I. -march=athlon-xp -O2 -Wall

Gentoo Linux 1.4, qt-3.2.3 compiled with
OpenGL-Support, xfree-4.3.0, gcc version 3.2.3 20030422

Under this environment I've got this error:

Many of "warning: comparison between signed and
unsigned integer" Messages

and finally:

gcc -g -o ams synthdata.o module.o module.moc.o
configdialog.o configdialog.moc.o port.o port.moc.o
midiguicomponent.o midiguicomponent.moc.o midislider.o
midislider.moc.o intmidislider.o intmidislider.moc.o
floatintmidislider.o floatintmidislider.moc.o
midicombobox.o midicombobox.moc.o midicheckbox.o
midicheckbox.moc.o midipushbutton.o
midipushbutton.moc.o midicontroller.o
midicontroller.moc.o midicontrollerlist.o
midicontrollerlist.moc.o midiwidget.o midiwidget.moc.o
guiwidget.o guiwidget.moc.o ladspadialog.o
ladspadialog.moc.o envelope.o envelope.moc.o
multi_envelope.o multi_envelope.moc.o scopescreen.o
scopescreen.moc.o spectrumscreen.o spectrumscreen.moc.o
function.o function.moc.o canvas.o canvas.moc.o
canvasfunction.o canvasfunction.moc.o m_sh.o m_sh.moc.o
m_vcswitch.o m_vcswitch.moc.o m_vcorgan.o
m_vcorgan.moc.o m_dynamicwaves.o m_dynamicwaves.moc.o
m_vco.o m_vco.moc.o m_vca.o m_vca.moc.o m_vcf.o
m_vcf.moc.o m_lfo.o m_lfo.moc.o m_noise.o m_noise.moc.o
m_delay.o m_delay.moc.o m_seq.o m_seq.moc.o m_mcv.o
m_mcv.moc.o m_advmcv.o m_advmcv.moc.o m_scmcv.o
m_scmcv.moc.o m_env.o m_env.moc.o m_vcenv.o
m_vcenv.moc.o m_advenv.o m_advenv.moc.o m_ringmod.o
m_ringmod.moc.o m_inv.o m_inv.moc.o m_conv.o
m_conv.moc.o m_cvs.o m_cvs.moc.o m_slew.o m_slew.moc.o
m_quantizer.o m_quantizer.moc.o m_scquantizer.o
m_scquantizer.moc.o m_mix.o m_mix.moc.o m_function.o
m_function.moc.o m_stereomix.o m_stereomix.moc.o
m_ladspa.o m_ladspa.moc.o m_pcmout.o m_pcmout.moc.o
m_pcmin.o m_pcmin.moc.o m_wavout.o m_wavout.moc.o
m_midiout.o m_midiout.moc.o m_scope.o m_scope.moc.o
m_spectrum.o m_spectrum.moc.o textedit.o textedit.moc.o
modularsynth.o modularsynth.moc.o main.o alsa_driver.o \ -L/usr/qt/3//lib -L/usr/X11R6/lib \ -lqt-mt -ljack -lasound -lsrfftw -lsfftw -lm
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glDeleteLists@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXQueryExtension@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXSwapBuffers@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glCallLists@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXCreateGLXPixmap@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glReadPixels@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glClearIndex@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXWaitX@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glRasterPos3d@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glFlush@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glListBase@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXDestroyGLXPixmap@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glPopAttrib@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXMakeCurrent@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glMatrixMode@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glViewport@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXGetClientString@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glClearColor@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXQueryServerString@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glPushMatrix@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXQueryExtensionsString@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glRasterPos2i@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXChooseVisual@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXCreateContext@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glIndexi@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glPushAttrib@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glDrawBuffer@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glPopMatrix@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glLoadIdentity@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glColor3ub@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXDestroyContext@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXIsDirect@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXGetConfig@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glOrtho@LIBGL'
/usr/qt/3//lib/libqt-mt.so: undefined reference to
`glXUseXFont@LIBGL'
collect2: ld returned 1 exit status

Any Suggestions?

I'm not the best in C++, compiling, debugging - sorry
if this is my error.

Thank you,
Chris <chris at beatcrush dot org>

Discussion

  • fons adriaensen

    fons adriaensen - 2007-04-08
    • status: open --> wont-fix
     
  • Guido Scholz

    Guido Scholz - 2010-10-25
    • status: wont-fix --> closed-fixed