1
MilkyTracker Bug Reports / milkytracker-0.90.86 build errors in Slackware 14.1
« on: December 05, 2013, 16:52:12 »
Hi, I've just tried out building 0.90.86 and also a git snapshot, but they both error out with the following error which seems to be something to do with alsa and/or midi:
I have installed:
/var/log/packages/alsa-lib-1.0.27.2-x86_64-1
/var/log/packages/alsa-oss-1.0.25-x86_64-1
/var/log/packages/alsa-utils-1.0.27.1-x86_64-1
/var/log/packages/jack-1.9.9.5-x86_64-1se
/var/log/packages/zlib-1.2.8-x86_64-1
Thanks
Code: [Select]
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::closePort()':
RtMidi.cpp:(.text+0x1c): undefined reference to `snd_seq_unsubscribe_port'
RtMidi.cpp:(.text+0x25): undefined reference to `snd_seq_port_subscribe_free'
RtMidi.cpp:(.text+0x3b): undefined reference to `snd_seq_control_queue'
RtMidi.cpp:(.text+0x44): undefined reference to `snd_seq_drain_output'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::closePort()':
RtMidi.cpp:(.text+0x7c): undefined reference to `snd_seq_unsubscribe_port'
RtMidi.cpp:(.text+0x85): undefined reference to `snd_seq_port_subscribe_free'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::~RtMidiOut()':
RtMidi.cpp:(.text+0xcb): undefined reference to `snd_seq_delete_port'
RtMidi.cpp:(.text+0xd9): undefined reference to `snd_midi_event_free'
RtMidi.cpp:(.text+0xef): undefined reference to `snd_seq_close'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::openVirtualPort(std::string)':
RtMidi.cpp:(.text+0x325): undefined reference to `snd_seq_control_queue'
RtMidi.cpp:(.text+0x32d): undefined reference to `snd_seq_drain_output'
RtMidi.cpp:(.text+0x387): undefined reference to `snd_seq_unsubscribe_port'
RtMidi.cpp:(.text+0x390): undefined reference to `snd_seq_port_subscribe_free'
RtMidi.cpp:(.text+0x3d4): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x3e9): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x407): undefined reference to `snd_seq_port_info_set_capability'
RtMidi.cpp:(.text+0x414): undefined reference to `snd_seq_port_info_set_type'
RtMidi.cpp:(.text+0x421): undefined reference to `snd_seq_port_info_set_midi_channels'
RtMidi.cpp:(.text+0x42e): undefined reference to `snd_seq_port_info_set_timestamping'
RtMidi.cpp:(.text+0x43b): undefined reference to `snd_seq_port_info_set_timestamp_real'
RtMidi.cpp:(.text+0x446): undefined reference to `snd_seq_port_info_set_timestamp_queue'
RtMidi.cpp:(.text+0x451): undefined reference to `snd_seq_port_info_set_name'
RtMidi.cpp:(.text+0x45c): undefined reference to `snd_seq_create_port'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::openVirtualPort(std::string)':
RtMidi.cpp:(.text+0x4d1): undefined reference to `snd_seq_create_simple_port'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::initialize()':
RtMidi.cpp:(.text+0x814): undefined reference to `snd_seq_open'
RtMidi.cpp:(.text+0x82c): undefined reference to `snd_seq_set_client_name'
RtMidi.cpp:(.text+0x85d): undefined reference to `snd_seq_alloc_named_queue'
RtMidi.cpp:(.text+0x865): undefined reference to `snd_seq_queue_tempo_sizeof'
RtMidi.cpp:(.text+0x87a): undefined reference to `snd_seq_queue_tempo_sizeof'
RtMidi.cpp:(.text+0x898): undefined reference to `snd_seq_queue_tempo_set_tempo'
RtMidi.cpp:(.text+0x8a5): undefined reference to `snd_seq_queue_tempo_set_ppq'
RtMidi.cpp:(.text+0x8b3): undefined reference to `snd_seq_set_queue_tempo'
RtMidi.cpp:(.text+0x8bb): undefined reference to `snd_seq_drain_output'
../midi/libmidi.a(RtMidi.o): In function `portInfo(_snd_seq*, _snd_seq_port_info*, unsigned int, int)':
RtMidi.cpp:(.text+0x921): undefined reference to `snd_seq_client_info_sizeof'
RtMidi.cpp:(.text+0x936): undefined reference to `snd_seq_client_info_sizeof'
RtMidi.cpp:(.text+0x954): undefined reference to `snd_seq_client_info_set_client'
RtMidi.cpp:(.text+0x964): undefined reference to `snd_seq_client_info_get_client'
RtMidi.cpp:(.text+0x973): undefined reference to `snd_seq_query_next_client'
RtMidi.cpp:(.text+0x9a6): undefined reference to `snd_seq_port_info_set_client'
RtMidi.cpp:(.text+0x9b3): undefined reference to `snd_seq_port_info_set_port'
RtMidi.cpp:(.text+0x9c7): undefined reference to `snd_seq_query_next_port'
RtMidi.cpp:(.text+0x9d3): undefined reference to `snd_seq_port_info_get_capability'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::getPortCount()':
RtMidi.cpp:(.text+0xa0b): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0xa20): undefined reference to `snd_seq_port_info_sizeof'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::getPortCount()':
RtMidi.cpp:(.text+0xa6b): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0xa80): undefined reference to `snd_seq_port_info_sizeof'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::getPortName(unsigned int)':
RtMidi.cpp:(.text+0xad9): undefined reference to `snd_seq_port_info_sizeof'
../midi/libmidi.a(RtMidi.o):RtMidi.cpp:(.text+0xaee): more undefined references to `snd_seq_port_info_sizeof' follow
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::getPortName(unsigned int)':
RtMidi.cpp:(.text+0xb2a): undefined reference to `snd_seq_port_info_get_name'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::getPortName(unsigned int)':
RtMidi.cpp:(.text+0xc19): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0xc2e): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0xc6a): undefined reference to `snd_seq_port_info_get_name'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::initialize()':
RtMidi.cpp:(.text+0xd5d): undefined reference to `snd_seq_open'
RtMidi.cpp:(.text+0xd72): undefined reference to `snd_seq_set_client_name'
RtMidi.cpp:(.text+0xdb3): undefined reference to `snd_midi_event_new'
RtMidi.cpp:(.text+0xdd1): undefined reference to `snd_midi_event_init'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::sendMessage(std::vector<unsigned char, std::allocator<unsigned char> >*)':
RtMidi.cpp:(.text+0xf9a): undefined reference to `snd_midi_event_encode'
RtMidi.cpp:(.text+0xfab): undefined reference to `snd_seq_event_output'
RtMidi.cpp:(.text+0xfbc): undefined reference to `snd_seq_drain_output'
RtMidi.cpp:(.text+0x100e): undefined reference to `snd_midi_event_resize_buffer'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::~RtMidiIn()':
RtMidi.cpp:(.text+0x10fe): undefined reference to `snd_seq_delete_port'
RtMidi.cpp:(.text+0x1109): undefined reference to `snd_seq_free_queue'
RtMidi.cpp:(.text+0x1111): undefined reference to `snd_seq_close'
../midi/libmidi.a(RtMidi.o): In function `alsaMidiHandler':
RtMidi.cpp:(.text+0x17e8): undefined reference to `snd_midi_event_new'
RtMidi.cpp:(.text+0x180d): undefined reference to `snd_midi_event_init'
RtMidi.cpp:(.text+0x181b): undefined reference to `snd_midi_event_no_status'
RtMidi.cpp:(.text+0x1848): undefined reference to `snd_seq_event_input_pending'
RtMidi.cpp:(.text+0x1872): undefined reference to `snd_midi_event_free'
RtMidi.cpp:(.text+0x18a8): undefined reference to `snd_seq_event_input'
RtMidi.cpp:(.text+0x1901): undefined reference to `snd_midi_event_decode'
RtMidi.cpp:(.text+0x19b4): undefined reference to `snd_seq_free_event'
../midi/libmidi.a(RtMidi.o): In function `RtMidiIn::openPort(unsigned int)':
RtMidi.cpp:(.text+0x1e56): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x1e72): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x20de): undefined reference to `snd_seq_port_info_get_client'
RtMidi.cpp:(.text+0x20ec): undefined reference to `snd_seq_port_info_get_port'
RtMidi.cpp:(.text+0x20fb): undefined reference to `snd_seq_client_id'
RtMidi.cpp:(.text+0x211e): undefined reference to `snd_seq_port_subscribe_malloc'
RtMidi.cpp:(.text+0x212f): undefined reference to `snd_seq_port_subscribe_set_sender'
RtMidi.cpp:(.text+0x2140): undefined reference to `snd_seq_port_subscribe_set_dest'
RtMidi.cpp:(.text+0x214e): undefined reference to `snd_seq_subscribe_port'
RtMidi.cpp:(.text+0x2174): undefined reference to `snd_seq_control_queue'
RtMidi.cpp:(.text+0x217d): undefined reference to `snd_seq_drain_output'
RtMidi.cpp:(.text+0x2326): undefined reference to `snd_seq_port_info_set_client'
RtMidi.cpp:(.text+0x2330): undefined reference to `snd_seq_port_info_set_port'
RtMidi.cpp:(.text+0x233d): undefined reference to `snd_seq_port_info_set_capability'
RtMidi.cpp:(.text+0x234a): undefined reference to `snd_seq_port_info_set_type'
RtMidi.cpp:(.text+0x2357): undefined reference to `snd_seq_port_info_set_midi_channels'
RtMidi.cpp:(.text+0x2364): undefined reference to `snd_seq_port_info_set_timestamping'
RtMidi.cpp:(.text+0x2371): undefined reference to `snd_seq_port_info_set_timestamp_real'
RtMidi.cpp:(.text+0x237e): undefined reference to `snd_seq_port_info_set_timestamp_queue'
RtMidi.cpp:(.text+0x238d): undefined reference to `snd_seq_port_info_set_name'
RtMidi.cpp:(.text+0x2399): undefined reference to `snd_seq_create_port'
RtMidi.cpp:(.text+0x2432): undefined reference to `snd_seq_unsubscribe_port'
RtMidi.cpp:(.text+0x243c): undefined reference to `snd_seq_port_subscribe_free'
../midi/libmidi.a(RtMidi.o): In function `RtMidiOut::openPort(unsigned int)':
RtMidi.cpp:(.text+0x2656): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x2672): undefined reference to `snd_seq_port_info_sizeof'
RtMidi.cpp:(.text+0x28d4): undefined reference to `snd_seq_port_info_get_client'
RtMidi.cpp:(.text+0x28e2): undefined reference to `snd_seq_port_info_get_port'
RtMidi.cpp:(.text+0x28f0): undefined reference to `snd_seq_client_id'
RtMidi.cpp:(.text+0x2910): undefined reference to `snd_seq_port_subscribe_malloc'
RtMidi.cpp:(.text+0x2920): undefined reference to `snd_seq_port_subscribe_set_sender'
RtMidi.cpp:(.text+0x2930): undefined reference to `snd_seq_port_subscribe_set_dest'
RtMidi.cpp:(.text+0x293e): undefined reference to `snd_seq_port_subscribe_set_time_update'
RtMidi.cpp:(.text+0x294c): undefined reference to `snd_seq_port_subscribe_set_time_real'
RtMidi.cpp:(.text+0x2958): undefined reference to `snd_seq_subscribe_port'
RtMidi.cpp:(.text+0x2ac5): undefined reference to `snd_seq_create_simple_port'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::async_direct_callback(_snd_async_handler*)':
AudioDriver_ALSA.cpp:(.text+0x42): undefined reference to `snd_async_handler_get_pcm'
AudioDriver_ALSA.cpp:(.text+0x5e): undefined reference to `snd_async_handler_get_callback_private'
AudioDriver_ALSA.cpp:(.text+0x6c): undefined reference to `snd_pcm_state'
AudioDriver_ALSA.cpp:(.text+0x82): undefined reference to `snd_pcm_avail_update'
AudioDriver_ALSA.cpp:(.text+0xab): undefined reference to `snd_pcm_start'
AudioDriver_ALSA.cpp:(.text+0xb6): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0xd9): undefined reference to `snd_pcm_state'
AudioDriver_ALSA.cpp:(.text+0xf3): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x107): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x12a): undefined reference to `snd_pcm_avail_update'
AudioDriver_ALSA.cpp:(.text+0x148): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x157): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x192): undefined reference to `snd_pcm_mmap_begin'
AudioDriver_ALSA.cpp:(.text+0x1d7): undefined reference to `snd_pcm_mmap_commit'
AudioDriver_ALSA.cpp:(.text+0x1fa): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x21b): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x22a): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x2c4): undefined reference to `snd_pcm_mmap_commit'
AudioDriver_ALSA.cpp:(.text+0x2e0): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x2ef): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x328): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x33c): undefined reference to `snd_strerror'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::initDevice(int, unsigned int, MasterMixer*)':
AudioDriver_ALSA.cpp:(.text+0x39e): undefined reference to `snd_pcm_sw_params_sizeof'
AudioDriver_ALSA.cpp:(.text+0x3b3): undefined reference to `snd_pcm_sw_params_sizeof'
AudioDriver_ALSA.cpp:(.text+0x3d8): undefined reference to `snd_pcm_open'
AudioDriver_ALSA.cpp:(.text+0x410): undefined reference to `snd_pcm_set_params'
AudioDriver_ALSA.cpp:(.text+0x421): undefined reference to `snd_pcm_prepare'
AudioDriver_ALSA.cpp:(.text+0x43d): undefined reference to `snd_pcm_get_params'
AudioDriver_ALSA.cpp:(.text+0x47b): undefined reference to `snd_pcm_sw_params_current'
AudioDriver_ALSA.cpp:(.text+0x4ab): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x4db): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x4ee): undefined reference to `snd_strerror'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::stop()':
AudioDriver_ALSA.cpp:(.text+0x509): undefined reference to `snd_pcm_drop'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::closeDevice()':
AudioDriver_ALSA.cpp:(.text+0x529): undefined reference to `snd_pcm_close'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::start()':
AudioDriver_ALSA.cpp:(.text+0x575): undefined reference to `snd_async_add_pcm_handler'
AudioDriver_ALSA.cpp:(.text+0x5df): undefined reference to `snd_pcm_mmap_commit'
AudioDriver_ALSA.cpp:(.text+0x603): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x630): undefined reference to `snd_pcm_mmap_begin'
AudioDriver_ALSA.cpp:(.text+0x689): undefined reference to `snd_pcm_recover'
AudioDriver_ALSA.cpp:(.text+0x697): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x6c3): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x700): undefined reference to `snd_pcm_start'
AudioDriver_ALSA.cpp:(.text+0x720): undefined reference to `snd_strerror'
AudioDriver_ALSA.cpp:(.text+0x747): undefined reference to `snd_strerror'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::pause()':
AudioDriver_ALSA.cpp:(.text+0x77e): undefined reference to `snd_pcm_pause'
../../src/milkyplay/libmilkyplay.a(AudioDriver_ALSA.o): In function `AudioDriver_ALSA::resume()':
AudioDriver_ALSA.cpp:(.text+0x79b): undefined reference to `snd_pcm_pause'
collect2: error: ld returned 1 exit status
make[3]: *** [milkytracker] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I have installed:
/var/log/packages/alsa-lib-1.0.27.2-x86_64-1
/var/log/packages/alsa-oss-1.0.25-x86_64-1
/var/log/packages/alsa-utils-1.0.27.1-x86_64-1
/var/log/packages/jack-1.9.9.5-x86_64-1se
/var/log/packages/zlib-1.2.8-x86_64-1
Thanks