[LAU] sync jack as slave to external mtc or mmc

SxDx sed at free.fr
Mon Sep 24 20:20:57 UTC 2012


> cc -g -O2 -I/usr/include/alsa -I/usr/include/lash-1.0
> -L/usr/local/lib -L/usr/lib -ljack -lasound -lX11 -llash -o
> jackctlmmc main.o common.o

try:
cc -g -O2 -I/usr/include/alsa -I/usr/include/lash-1.0 -o jackctlmmc main.o common.o -L/usr/local/lib -L/usr/lib -ljack -lasound -lX11 -llash

ie. put the libs (-lXX) AFTER the .o of the link line.
Your .o refer to symbols in the .so files. The linker will
skip any symbol in a .so that is not used by a .o it already
processed. Since you give the .so BEFORE the .o the linker
discards everything.
Something like that. See man ld(1) around "--start-group".


More information about the Linux-audio-user mailing list