Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make linux-alsa errors #80

Closed
ghost opened this issue Jan 26, 2017 · 5 comments
Closed

Make linux-alsa errors #80

ghost opened this issue Jan 26, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2017

Here is an errors log

RtAudio/RtAudio.o: In function `RtApiJack::getDeviceCount()':
RtAudio.cpp:(.text+0x2b2): undefined reference to `jack_client_open'
RtAudio.cpp:(.text+0x30d): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x4b6): undefined reference to `jack_client_close'
RtAudio/RtAudio.o: In function `RtApiJack::closeStream()':
RtAudio.cpp:(.text+0xbda): undefined reference to `jack_client_close'
RtAudio.cpp:(.text+0xccd): undefined reference to `jack_deactivate'
RtAudio/RtAudio.o: In function `RtApiJack::stopStream()':
RtAudio.cpp:(.text+0x1c4e): undefined reference to `jack_deactivate'
RtAudio/RtAudio.o: In function `RtApiJack::startStream()':
RtAudio.cpp:(.text+0x1d33): undefined reference to `jack_activate'
RtAudio.cpp:(.text+0x1dd1): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x1e14): undefined reference to `jack_port_name'
RtAudio.cpp:(.text+0x1e23): undefined reference to `jack_connect'
RtAudio.cpp:(.text+0x1f19): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x1f5c): undefined reference to `jack_port_name'
RtAudio.cpp:(.text+0x1f75): undefined reference to `jack_connect'
RtAudio/RtAudio.o: In function `RtApiJack::abortStream()':
RtAudio.cpp:(.text+0x213b): undefined reference to `jack_deactivate'
RtAudio/RtAudio.o: In function `RtApiJack::callbackEvent(unsigned long)':
RtAudio.cpp:(.text+0x3ef4): undefined reference to `jack_port_get_buffer'
RtAudio.cpp:(.text+0x4088): undefined reference to `jack_port_get_buffer'
RtAudio.cpp:(.text+0x4148): undefined reference to `jack_port_get_buffer'
RtAudio.cpp:(.text+0x41a8): undefined reference to `jack_port_get_buffer'
RtAudio.cpp:(.text+0x4240): undefined reference to `jack_port_get_buffer'
RtAudio/RtAudio.o:RtAudio.cpp:(.text+0x43cb): more undefined references to `jack_port_get_buffer' follow
RtAudio/RtAudio.o: In function `RtAudio::openRtApi(RtAudio::Api)':
RtAudio.cpp:(.text+0x5917): undefined reference to `jack_set_error_function'
RtAudio/RtAudio.o: In function `RtApiJack::RtApiJack()':
RtAudio.cpp:(.text+0x5bfb): undefined reference to `jack_set_error_function'
RtAudio/RtAudio.o: In function `RtAudio::RtAudio(RtAudio::Api)':
RtAudio.cpp:(.text+0x5eef): undefined reference to `jack_set_error_function'
RtAudio/RtAudio.o: In function `RtApiJack::getDeviceInfo(unsigned int)':
RtAudio.cpp:(.text+0x60a9): undefined reference to `jack_client_open'
RtAudio.cpp:(.text+0x6113): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x62e6): undefined reference to `jack_get_sample_rate'
RtAudio.cpp:(.text+0x632d): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x6373): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x63ec): undefined reference to `jack_client_close'
RtAudio.cpp:(.text+0x64f6): undefined reference to `jack_client_close'
RtAudio.cpp:(.text+0x65ed): undefined reference to `jack_client_close'
RtAudio/RtAudio.o: In function `RtApiJack::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*)':
RtAudio.cpp:(.text+0x6df0): undefined reference to `jack_client_open'
RtAudio.cpp:(.text+0x6e9c): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x6f71): undefined reference to `jack_client_open'
RtAudio.cpp:(.text+0x70af): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x7339): undefined reference to `jack_get_sample_rate'
RtAudio.cpp:(.text+0x7351): undefined reference to `jack_client_close'
RtAudio.cpp:(.text+0x7975): undefined reference to `jack_get_ports'
RtAudio.cpp:(.text+0x79be): undefined reference to `jack_port_by_name'
RtAudio.cpp:(.text+0x7a5b): undefined reference to `jack_get_buffer_size'
RtAudio.cpp:(.text+0x7c59): undefined reference to `jack_set_process_callback'
RtAudio.cpp:(.text+0x7c72): undefined reference to `jack_set_xrun_callback'
RtAudio.cpp:(.text+0x7c89): undefined reference to `jack_on_shutdown'
RtAudio.cpp:(.text+0x7cf1): undefined reference to `jack_port_register'
RtAudio.cpp:(.text+0x7f41): undefined reference to `jack_port_register'
RtAudio.cpp:(.text+0x8366): undefined reference to `jack_client_close'
@spencersalazar
Copy link
Member

Weird. Seems its trying to compile in JACK even though ALSA was specified. Ill look into it. Thanks!

@jwmatthys
Copy link

You need to do 'make clean' before building with a different audio API.

@markcerqueira
Copy link
Member

markcerqueira commented Jan 26, 2017

@jwmatthys Good to know. Seems like something that the Makefile should handle?

@ghost
Copy link
Author

ghost commented Feb 13, 2017

@jwmatthys Yes. You're right. Problem solved.

@spencersalazar
Copy link
Member

Sweet! Unless there is a simple solution Im hesitant to handle this in the makefile, since this is a rare-ish scenario and the makefile is pretty overcomplicated as it is :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants