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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: SxDx <sed@...>
To: Chris Bungue <ch.bunge@...>
Cc: <Linux-audio-user@...>
Date: Monday, September 24, 2012 - 8:21 pm

> cc -g -O2 -I/usr/include/alsa -I/usr/include/lash-1.0

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".
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] sync jack as slave to external mtc or mmc, Chris Bungue, (Mon Sep 24, 8:06 pm)
Re: [LAU] sync jack as slave to external mtc or mmc, SxDx, (Mon Sep 24, 8:21 pm)
Re: [LAU] sync jack as slave to external mtc or mmc, Chris Bungue, (Tue Sep 25, 8:27 am)
Re: [LAU] sync jack as slave to external mtc or mmc, Jeremy Jongepier, (Mon Sep 24, 8:10 pm)