[LAD] Lexicon MX300 console for Linux

Adrian Knoth adi at drcomp.erfurt.thur.de
Fri Feb 25 12:29:18 UTC 2011


On 02/25/11 11:30, jani at lasipalatsi.fi wrote:

> http://leevi.sourceforge.net

Two things I faced:

1. linking fails:

gcc -L/lib -L/usr/lib -L/usr/local/lib -L/usr/pkg/lib -L -lpthread -ldl
-lm  -lz -lc -o bin/leevi act.o bob.o callback.o cmdline.o config.o
effects.o event.o font.o graphics.o library.o main.o maths.o menu.o
messages.o mx.o path.o thread.o timer.o ui.o usbsys.o widget.o
gfx_solid.o worker.o worker_diskfree.o worker_diskread.o
worker_diskwrite.o worker_graphics.o worker_sound.o worker_usb.o
thread.o: In function `threadKill':
thread.c:(.text+0x22c): undefined reference to `pthread_kill'
thread.o: In function `threadInit':
thread.c:(.text+0x2fb): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [bin/leevi] Error 1

Solution: place -lpthread after all object files (yes, ordering matters)

2. When configured for libusb-1.0, it puts libusb-0 into the config
file:

#usb_library_libusb = libusb-1.0.so
usb_library_libusb = libusb.so

Should probably be tweaked in the install target or during compilation.


Haven't looked closer, but maybe saying somewhere what the different
audio bindings are supposed to do might make sense. At the moment, I
don't see why I need any of portaudio, pulseaudio or alsa to run a GUI
for outboard equipment.


Cheers



More information about the Linux-audio-dev mailing list