Skip to content

Instantly share code, notes, and snippets.

@microcosm
Created November 27, 2016 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save microcosm/180c8380315a624740f5024365f98b80 to your computer and use it in GitHub Desktop.
Save microcosm/180c8380315a624740f5024365f98b80 to your computer and use it in GitHub Desktop.
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123
Compiling OF library for Release
make[1]: Entering directory '/home/pi/of_v0.9.7_linuxarmv7l/libs/openFrameworksCompiled/project'
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123
Done!
make[1]: Leaving directory '/home/pi/of_v0.9.7_linuxarmv7l/libs/openFrameworksCompiled/project'
Compiling audioOutputExample for Release
make[1]: Entering directory '/home/pi/of_v0.9.7_linuxarmv7l/examples/sound/audioOutputExample'
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gtk+-3.0 libmpg123
Linking bin/audioOutputExample for linuxarmv7l
g++ -o bin/audioOutputExample obj/linuxarmv7l/Release/src/ofApp.o obj/linuxarmv7l/Release/src/main.o /home/pi/of_v0.9.7_linuxarmv7l/libs/openFrameworksCompiled/lib/linuxarmv7l/libopenFrameworks.a -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -pthread -L/opt/vc/lib /home/pi/of_v0.9.7_linuxarmv7l/libs/glfw/lib/linuxarmv7l/libglfw3.a /home/pi/of_v0.9.7_linuxarmv7l/libs/kiss/lib/linuxarmv7l/libkiss.a /home/pi/of_v0.9.7_linuxarmv7l/libs/tess2/lib/linuxarmv7l/libtess2.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoNetSSL.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoNet.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoCrypto.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoUtil.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoJSON.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoXML.a /home/pi/of_v0.9.7_linuxarmv7l/libs/poco/lib/linuxarmv7l/libPocoFoundation.a -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lfontconfig -lfreetype -lsndfile -lopenal -lssl -lcrypto -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lmpg123 -lX11 -lXrandr -lXxf86vm -lXi -lXcursor -ldl -lpthread -lfreeimage -lboost_filesystem -lboost_system -lrtaudio -lGLESv2 -lGLESv1_CM -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpcre -lrt -lX11 -ldl
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::getDeviceCount()':
RtAudio.cpp:(.text+0x5a0): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x5ec): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x610): undefined reference to `snd_ctl_pcm_next_device'
RtAudio.cpp:(.text+0x63a): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x6c4): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x6ca): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x6dc): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x6e6): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x740): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::closeStream()':
RtAudio.cpp:(.text+0x8c8): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x8d0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x93c): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0x954): undefined reference to `snd_pcm_drop'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::startStream()':
RtAudio.cpp:(.text+0xbd0): undefined reference to `snd_pcm_state'
RtAudio.cpp:(.text+0xbda): undefined reference to `snd_pcm_prepare'
RtAudio.cpp:(.text+0xbf8): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0xc00): undefined reference to `snd_pcm_state'
RtAudio.cpp:(.text+0xc0a): undefined reference to `snd_pcm_prepare'
RtAudio.cpp:(.text+0xc26): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0xd1e): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::stopStream()':
RtAudio.cpp:(.text+0xe9a): undefined reference to `snd_pcm_drain'
RtAudio.cpp:(.text+0xef6): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0xf12): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0xfb0): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0xfca): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::abortStream()':
RtAudio.cpp:(.text+0x1190): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0x11ac): undefined reference to `snd_pcm_drop'
RtAudio.cpp:(.text+0x11c8): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x1276): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::callbackEvent()':
RtAudio.cpp:(.text+0x2918): undefined reference to `snd_pcm_writei'
RtAudio.cpp:(.text+0x2942): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x2aa8): undefined reference to `snd_pcm_readi'
RtAudio.cpp:(.text+0x2ad6): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x2bb6): undefined reference to `snd_pcm_writen'
RtAudio.cpp:(.text+0x2bfc): undefined reference to `snd_pcm_delay'
RtAudio.cpp:(.text+0x2c5e): undefined reference to `snd_pcm_delay'
RtAudio.cpp:(.text+0x2cc2): undefined reference to `snd_pcm_readn'
RtAudio.cpp:(.text+0x2cd0): undefined reference to `snd_pcm_state'
RtAudio.cpp:(.text+0x2cec): undefined reference to `snd_pcm_state_name'
RtAudio.cpp:(.text+0x2d16): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x2de0): undefined reference to `snd_pcm_state'
RtAudio.cpp:(.text+0x2dfc): undefined reference to `snd_pcm_state_name'
RtAudio.cpp:(.text+0x2e26): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x2ed0): undefined reference to `snd_pcm_prepare'
RtAudio.cpp:(.text+0x2eea): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x2f6e): undefined reference to `snd_pcm_prepare'
RtAudio.cpp:(.text+0x2f8a): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::getDeviceInfo(unsigned int)':
RtAudio.cpp:(.text+0x3324): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x3380): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x33a8): undefined reference to `snd_ctl_pcm_next_device'
RtAudio.cpp:(.text+0x33d6): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x346e): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x3474): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x34ae): undefined reference to `snd_pcm_info_sizeof'
RtAudio.cpp:(.text+0x34c2): undefined reference to `snd_pcm_info_sizeof'
RtAudio.cpp:(.text+0x34d0): undefined reference to `snd_pcm_hw_params_sizeof'
RtAudio.cpp:(.text+0x34e4): undefined reference to `snd_pcm_hw_params_sizeof'
RtAudio.cpp:(.text+0x34f6): undefined reference to `snd_pcm_info_set_stream'
RtAudio.cpp:(.text+0x3508): undefined reference to `snd_pcm_info_set_device'
RtAudio.cpp:(.text+0x3510): undefined reference to `snd_pcm_info_set_subdevice'
RtAudio.cpp:(.text+0x351a): undefined reference to `snd_ctl_pcm_info'
RtAudio.cpp:(.text+0x3532): undefined reference to `snd_pcm_open'
RtAudio.cpp:(.text+0x3542): undefined reference to `snd_pcm_hw_params_any'
RtAudio.cpp:(.text+0x3554): undefined reference to `snd_pcm_hw_params_get_channels_max'
RtAudio.cpp:(.text+0x356a): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x3572): undefined reference to `snd_pcm_info_set_stream'
RtAudio.cpp:(.text+0x3584): undefined reference to `snd_ctl_pcm_info'
RtAudio.cpp:(.text+0x358e): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x35a8): undefined reference to `snd_pcm_open'
RtAudio.cpp:(.text+0x35b8): undefined reference to `snd_pcm_hw_params_any'
RtAudio.cpp:(.text+0x35ca): undefined reference to `snd_pcm_hw_params_get_channels_max'
RtAudio.cpp:(.text+0x35e0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x365e): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x36ec): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x38e2): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x399a): undefined reference to `snd_pcm_info_set_stream'
RtAudio.cpp:(.text+0x39ae): undefined reference to `snd_pcm_open'
RtAudio.cpp:(.text+0x39be): undefined reference to `snd_pcm_hw_params_any'
RtAudio.cpp:(.text+0x39fa): undefined reference to `snd_pcm_hw_params_test_rate'
RtAudio.cpp:(.text+0x3a36): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x3b4a): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x3b5e): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x3b78): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x3b92): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x3bac): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x3bc6): undefined reference to `snd_pcm_hw_params_test_format'
/usr/local/lib/librtaudio.a(RtAudio.o):RtAudio.cpp:(.text+0x3be0): more undefined references to `snd_pcm_hw_params_test_format' follow
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::getDeviceInfo(unsigned int)':
RtAudio.cpp:(.text+0x3bf8): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x3d34): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x3ea0): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x4090): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x40c6): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x41da): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x4210): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x42da): undefined reference to `snd_card_get_name'
RtAudio.cpp:(.text+0x431c): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x43be): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x43f4): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x4504): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x453a): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x45d4): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x46fc): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x4732): undefined reference to `snd_strerror'
/usr/local/lib/librtaudio.a(RtAudio.o): In function `RtApiAlsa::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, unsigned long, unsigned int*, RtAudio::StreamOptions*)':
RtAudio.cpp:(.text+0x5266): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x529a): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x52c2): undefined reference to `snd_ctl_pcm_next_device'
RtAudio.cpp:(.text+0x52cc): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x52d2): undefined reference to `snd_card_next'
RtAudio.cpp:(.text+0x52e6): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x5338): undefined reference to `snd_ctl_close'
RtAudio.cpp:(.text+0x5354): undefined reference to `snd_pcm_open'
RtAudio.cpp:(.text+0x535e): undefined reference to `snd_pcm_hw_params_sizeof'
RtAudio.cpp:(.text+0x536c): undefined reference to `snd_pcm_hw_params_sizeof'
RtAudio.cpp:(.text+0x5380): undefined reference to `snd_pcm_hw_params_any'
RtAudio.cpp:(.text+0x53a6): undefined reference to `snd_pcm_hw_params_set_access'
RtAudio.cpp:(.text+0x53fa): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x5416): undefined reference to `snd_pcm_hw_params_set_format'
RtAudio.cpp:(.text+0x542a): undefined reference to `snd_pcm_format_cpu_endian'
RtAudio.cpp:(.text+0x5448): undefined reference to `snd_pcm_hw_params_set_rate_near'
RtAudio.cpp:(.text+0x5468): undefined reference to `snd_pcm_hw_params_get_channels_max'
RtAudio.cpp:(.text+0x5486): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x54b8): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x5604): undefined reference to `snd_pcm_open'
RtAudio.cpp:(.text+0x5686): undefined reference to `snd_pcm_hw_params_set_access'
RtAudio.cpp:(.text+0x569c): undefined reference to `snd_pcm_hw_params_set_access'
RtAudio.cpp:(.text+0x56b2): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x56e4): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x5768): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x5788): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x57ba): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x585c): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x588e): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x5934): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x59b6): undefined reference to `snd_pcm_hw_params_get_channels_min'
RtAudio.cpp:(.text+0x59d4): undefined reference to `snd_pcm_hw_params_set_channels'
RtAudio.cpp:(.text+0x59fc): undefined reference to `snd_pcm_hw_params_set_period_size_near'
RtAudio.cpp:(.text+0x5a38): undefined reference to `snd_pcm_hw_params_set_periods_near'
RtAudio.cpp:(.text+0x5a6e): undefined reference to `snd_pcm_hw_params'
RtAudio.cpp:(.text+0x5a78): undefined reference to `snd_pcm_sw_params_sizeof'
RtAudio.cpp:(.text+0x5a86): undefined reference to `snd_pcm_sw_params_sizeof'
RtAudio.cpp:(.text+0x5a9a): undefined reference to `snd_pcm_sw_params_current'
RtAudio.cpp:(.text+0x5aa6): undefined reference to `snd_pcm_sw_params_set_start_threshold'
RtAudio.cpp:(.text+0x5ab2): undefined reference to `snd_pcm_sw_params_set_stop_threshold'
RtAudio.cpp:(.text+0x5abc): undefined reference to `snd_pcm_sw_params_set_silence_threshold'
RtAudio.cpp:(.text+0x5ac6): undefined reference to `snd_pcm_sw_params_get_boundary'
RtAudio.cpp:(.text+0x5ad0): undefined reference to `snd_pcm_sw_params_set_silence_size'
RtAudio.cpp:(.text+0x5ad8): undefined reference to `snd_pcm_sw_params'
RtAudio.cpp:(.text+0x5c24): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5c2c): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5c40): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5cf0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5d1e): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x5da0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5dd0): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x5e52): undefined reference to `snd_pcm_hw_params_set_access'
RtAudio.cpp:(.text+0x5e66): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x5eda): undefined reference to `snd_ctl_open'
RtAudio.cpp:(.text+0x5fa0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x5fd2): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x6084): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x60f0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x6122): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x61bc): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x61ee): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x62f8): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x632c): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x63e0): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x646c): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x649e): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x6644): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x666c): undefined reference to `snd_pcm_close'
RtAudio.cpp:(.text+0x669a): undefined reference to `snd_strerror'
RtAudio.cpp:(.text+0x67b0): undefined reference to `snd_pcm_link'
RtAudio.cpp:(.text+0x692e): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x6968): undefined reference to `snd_pcm_hw_params_test_format'
RtAudio.cpp:(.text+0x69b6): undefined reference to `snd_pcm_close'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/pi/of_v0.9.7_linuxarmv7l/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:384: bin/audioOutputExample] Error 1
make[1]: Leaving directory '/home/pi/of_v0.9.7_linuxarmv7l/examples/sound/audioOutputExample'
make: *** [/home/pi/of_v0.9.7_linuxarmv7l/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:130: Release] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment