Mac OS X, does not compile #23

Open
omich opened this Issue Feb 18, 2011 · 1 comment

Comments

Projects
None yet
2 participants

omich commented Feb 18, 2011

jkramer-shell-fm-30999c7$ make
make -C source
Package ao was not found in the pkg-config search path.
Perhaps you should add the directory containing `ao.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ao' found
cc -Os -Wall -MD -W -I./include/ -D__darwin__ -DLIBAO -I/opt/local/include -c -o play.o play.c
play.c:29:19: error: ao/ao.h: No such file or directory
play.c:61: error: expected specifier-qualifier-list before 'ao_device'
play.c: In function 'playback':
play.c:141: warning: implicit declaration of function 'ao_initialize'
play.c:155: error: 'struct stream' has no member named 'timeout'
play.c:158: error: 'struct stream' has no member named 'timeout'
play.c:160: error: 'struct stream' has no member named 'timeout'
play.c:161: error: 'struct stream' has no member named 'timeout'
play.c:164: error: 'struct stream' has no member named 'timeout'
play.c:170: error: 'struct stream' has no member named 'parent'
play.c:171: error: 'struct stream' has no member named 'pipefd'
play.c:175: warning: implicit declaration of function 'ao_default_driver_id'
play.c:182: error: 'struct stream' has no member named 'fmt'
play.c:183: error: 'struct stream' has no member named 'fmt'
play.c:184: error: 'struct stream' has no member named 'fmt'
play.c:185: error: 'struct stream' has no member named 'fmt'
play.c:185: error: 'AO_FMT_NATIVE' undeclared (first use in this function)
play.c:185: error: (Each undeclared identifier is reported only once
play.c:185: error: for each function it appears in.)
play.c:186: error: 'struct stream' has no member named 'device'
play.c:186: warning: implicit declaration of function 'ao_open_live'
play.c:186: error: 'struct stream' has no member named 'fmt'
play.c:188: error: 'struct stream' has no member named 'device'
play.c:213: error: 'struct stream' has no member named 'finpath'
play.c:214: error: 'struct stream' has no member named 'finpath'
play.c:216: error: 'struct stream' has no member named 'tmppath'
play.c:216: error: 'struct stream' has no member named 'finpath'
play.c:217: error: 'struct stream' has no member named 'tmppath'
play.c:219: error: 'struct stream' has no member named 'tmppath'
play.c:223: error: 'struct stream' has no member named 'tmppath'
play.c:224: error: 'struct stream' has no member named 'dump'
play.c:224: error: 'struct stream' has no member named 'tmppath'
play.c:226: error: 'struct stream' has no member named 'dump'
play.c:227: error: 'struct stream' has no member named 'tmppath'
play.c:230: error: 'struct stream' has no member named 'dump'
play.c:241: error: 'struct stream' has no member named 'dump'
play.c:242: error: 'struct stream' has no member named 'dump'
play.c:245: error: 'struct stream' has no member named 'tmppath'
play.c:262: error: 'struct stream' has no member named 'tmppath'
play.c:276: error: 'struct stream' has no member named 'tmppath'
play.c:276: error: 'struct stream' has no member named 'finpath'
play.c:279: error: 'struct stream' has no member named 'tmppath'
play.c:279: error: 'struct stream' has no member named 'finpath'
play.c:282: error: 'struct stream' has no member named 'tmppath'
play.c:283: error: 'struct stream' has no member named 'finpath'
play.c: In function 'input':
play.c:351: error: 'struct stream' has no member named 'preload'
play.c:352: error: 'struct stream' has no member named 'timeout'
play.c:358: error: 'struct stream' has no member named 'dump'
play.c:359: error: 'struct stream' has no member named 'dump'
play.c:363: error: 'struct stream' has no member named 'timeout'
play.c:368: error: 'struct stream' has no member named 'dump'
play.c:369: error: 'struct stream' has no member named 'dump'
play.c:378: error: 'struct stream' has no member named 'preload'
play.c:389: error: 'struct stream' has no member named 'parent'
play.c: In function 'output':
play.c:423: error: 'struct stream' has no member named 'fmt'
play.c:423: error: 'struct stream' has no member named 'fmt'
play.c:424: error: 'struct stream' has no member named 'fmt'
play.c:425: error: 'struct stream' has no member named 'fmt'
play.c:426: error: 'struct stream' has no member named 'device'
play.c:427: warning: implicit declaration of function 'ao_close'
play.c:427: error: 'struct stream' has no member named 'device'
play.c:428: error: 'struct stream' has no member named 'device'
play.c:428: error: 'struct stream' has no member named 'fmt'
play.c:430: error: 'struct stream' has no member named 'device'
play.c:439: error: 'struct stream' has no member named 'pipefd'
play.c:466: warning: implicit declaration of function 'ao_play'
play.c:466: error: 'struct stream' has no member named 'device'
make[1]: *** [play.o] Error 1
make: *** [shell-fm] Error 2

beilharz commented Mar 1, 2011

run sudo port install libao ... this is not the best fix, because libao is meant to be optional, but it works as a temporary fix.
after that i had to run the installation commands manually on mac osx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment