hello,
I am trying to build the HDSPmixer supplied by alsa-project. This
application uses FLTK. I tried building it with FLTK-2.0.x but that
got me nowhere. FLTK-1.2 gets me to the linker stage but not further.
Has anyone else had this problem?
I get a series of errors, most of which I can append to this email (I
forget how to redirect output to a file).
Is this some misconfiguration of my build of FLTK, a problem with the
HDSPmixer app (least likely), or some environment error on my
part (most likely).
Everything below my signature is information that will help you to
figure out if I am confused or if someting is indeed amiss.
Thank you for your help!
-thewade
my
LD_LIBRARY_PATH=usr/lib64/qt-3.3/lib:/usr/local/lib64:/usr/local/lib:/usr
/lib64:/usr/lib
my ld.so.conf
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/X11R6/lib64
/usr/local/lib64
/usr/local/lib
/usr/lib64
/usr/lib
[pdman@musicbox hdspmixer]$ ls /usr/local/lib/libfltk*
/usr/local/lib/libfltk.a /usr/local/lib/libfltk_images.a
/usr/local/lib/libfltk_forms.a /usr/local/lib/libfltk_ps.a
/usr/local/lib/libfltk_gl.a
[pdman@musicbox hdspmixer]$ ls /usr/local/include
Fl FL fltk jack WINGs WMaker.h wraster.h
HDSPMixerMeter.o(.text+0xfa):/home/wade/alsa-tools-1.0.6/hdspmixer/src/HD
SPMixerMeter.cxx:26:
undefined reference to `Fl_Widget::window() const\'
HDSPMixerMeter.o(.text+0x20c): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/fl_draw.H:62: undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x236): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/Fl_Widget.H:145: undefined reference to
`fl_draw_pixmap(char* const*, int, int, Fl_Color)\'
HDSPMixerMeter.o(.text+0x23d): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/fl_draw.H:65: undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x299):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x2e1): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/Fl_Widget.H:145: undefined reference to
`fl_draw_pixmap(char* const*, int, int, Fl_Color)\'
HDSPMixerMeter.o(.text+0x2e8): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/fl_draw.H:65: undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x301):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x34b): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/Fl_Widget.H:145: undefined reference to
`fl_draw_pixmap(char* const*, int, int, Fl_Color)\'
HDSPMixerMeter.o(.text+0x352): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/fl_draw.H:65: undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x389):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x3ac):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x40c):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x44d):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x490): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/Fl_Widget.H:145: undefined reference to
`fl_draw_pixmap(char* const*, int, int, Fl_Color)\'
HDSPMixerMeter.o(.text+0x497): In function `HDSPMixerMeter::draw()\':
/usr/local/include/FL/fl_draw.H:65: undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x4a4):/usr/local/include/FL/fl_draw.H:62:
undefined reference to `fl_device\'
HDSPMixerMeter.o(.text+0x7eb): In function `HDSPMixerMeter::update(int,
int, unsigned long long)\':
/home/wade/alsa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:182:
undefined reference to `Fl_Widget::redraw()\'
HDSPMixerMeter.o(.gnu.linkonce.r._ZTV14HDSPMixerMeter+0x28):/home/wade/al
sa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:25:
undefined reference to `Fl_Widget::handle(int)\'
HDSPMixerMeter.o(.gnu.linkonce.r._ZTV14HDSPMixerMeter+0x30):/home/wade/al
sa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:25:
undefined reference to `Fl_Widget::resize(int, int, int, int)\'
HDSPMixerMeter.o(.gnu.linkonce.r._ZTI14HDSPMixerMeter+0x10):/home/wade/al
sa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:194:
undefined reference to `typeinfo for Fl_Widget\'
HDSPMixerMeter.o(.gnu.linkonce.t._ZN14HDSPMixerMeterD1Ev+0xc): In
function
`HDSPMixerMeter::~HDSPMixerMeter()\':
/home/wade/alsa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:194:
undefined reference to `Fl_Widget::~Fl_Widget()\'
HDSPMixerMeter.o(.gnu.linkonce.t._ZN14HDSPMixerMeterD0Ev+0xc): In
function
`HDSPMixerMeter::~HDSPMixerMeter()\':
/home/wade/alsa-tools-1.0.6/hdspmixer/src/HDSPMixerMeter.cxx:194:
undefined reference to `Fl_Widget::~Fl_Widget()\'
collect2: ld returned 1 exit status
make[1]: *** [hdspmixer] Error 1
make[1]: Leaving directory `/home/wade/alsa-tools-1.0.6/hdspmixer/src\'
make: *** [all-recursive] Error 1