gcc -O2 -W -Wall -Wmissing-prototypes -Werror -fPIC -I../include -c al_listener.c
In file included from al_listener.c:23:
alc_context.h:23:21: pthread.h: No such file or directory
alc_context.h:24:23: semaphore.h: No such file or directory
In file included from alc_context.h:30,
from al_listener.c:23:
alc_device.h:23:28: alsa/asoundlib.h: No such file or directory
In file included from alc_device.h:28,
from alc_context.h:30,
from al_listener.c:23:
al_source.h:23:28: alsa/asoundlib.h: No such file or directory
In file included from al_source.h:28,
from alc_device.h:28,
from alc_context.h:30,
from al_listener.c:23:
al_buffer.h:31: error: syntax error before "int32_t"
al_buffer.h:31: warning: no semicolon at end of struct or union
al_buffer.h:34: error: syntax error before '}' token
al_buffer.h:35: warning: type defaults to `int' in declaration of `AL_buffer'
al_buffer.h:35: warning: data definition has no type or storage class
al_buffer.h:37: error: syntax error before '*' token
al_buffer.h:37: warning: type defaults to `int' in declaration of `_alLockBuffer'
al_buffer.h:37: warning: data definition has no type or storage class
al_buffer.h:38: error: syntax error before '*' token
In file included from alc_device.h:28,
from alc_context.h:30,
from al_listener.c:23:
al_source.h:33: error: syntax error before "AL_buffer"
al_source.h:33: warning: no semicolon at end of struct or union
al_source.h:35: error: syntax error before '}' token
al_source.h:36: warning: type defaults to `int' in declaration of `AL_queue'
al_source.h:36: warning: data definition has no type or storage class
al_source.h:42: error: syntax error before "snd_pcm_t"
al_source.h:42: warning: no semicolon at end of struct or union
al_source.h:43: warning: type defaults to `int' in declaration of `vol_ctl'
al_source.h:43: warning: data definition has no type or storage class
al_source.h:44: error: syntax error before '*' token
al_source.h:44: warning: type defaults to `int' in declaration of `send_ctl'
al_source.h:44: warning: data definition has no type or storage class
al_source.h:50: error: syntax error before '*' token
al_source.h:50: warning: type defaults to `int' in declaration of `buffer'
al_source.h:50: warning: data definition has no type or storage class
al_source.h:51: warning: built-in function `index' declared as non-function
al_source.h:53: error: syntax error before '*' token
al_source.h:53: warning: type defaults to `int' in declaration of `first_q'
al_source.h:53: warning: data definition has no type or storage class
al_source.h:54: error: syntax error before '*' token
al_source.h:54: warning: type defaults to `int' in declaration of `last_q'
al_source.h:54: warning: data definition has no type or storage class
al_source.h:55: error: syntax error before '*' token
al_source.h:55: warning: type defaults to `int' in declaration of `current_q'
al_source.h:55: warning: data definition has no type or storage class
al_source.h:75: error: syntax error before '}' token
al_source.h:76: warning: type defaults to `int' in declaration of `AL_source'
al_source.h:76: warning: data definition has no type or storage class
al_source.h:78: error: syntax error before '*' token
al_source.h:79: error: syntax error before '*' token
In file included from alc_context.h:30,
from al_listener.c:23:
alc_device.h:34: error: syntax error before "snd_ctl_t"
alc_device.h:34: warning: no semicolon at end of struct or union
alc_device.h:39: error: syntax error before '}' token
alc_device.h:41: error: syntax error before '*' token
alc_device.h:42: error: syntax error before '*' token
In file included from al_listener.c:23:
alc_context.h:37: error: syntax error before "AL_source"
alc_context.h:37: warning: no semicolon at end of struct or union
alc_context.h:39: warning: type defaults to `int' in declaration of `thread'
alc_context.h:39: warning: data definition has no type or storage class
alc_context.h:40: error: syntax error before "mutex"
alc_context.h:40: warning: type defaults to `int' in declaration of `mutex'
alc_context.h:40: warning: data definition has no type or storage class
alc_context.h:41: error: syntax error before "cond"
alc_context.h:41: warning: type defaults to `int' in declaration of `cond'
alc_context.h:41: warning: data definition has no type or storage class
alc_context.h:49: error: syntax error before '*' token
alc_context.h:51: warning: type defaults to `int' in declaration of `AL_context'alc_context.h:51: warning: data definition has no type or storage class
alc_context.h:53: error: syntax error before '*' token
alc_context.h:53: warning: type defaults to `int' in declaration of `_alcCurrentContext'
alc_context.h:53: warning: data definition has no type or storage class
alc_context.h:58: error: syntax error before '*' token
alc_context.h:58: error: syntax error before '*' token
alc_context.h:58: warning: type defaults to `int' in declaration of `_alFindSource'
alc_context.h:58: warning: data definition has no type or storage class
alc_context.h:60: error: syntax error before '*' token
al_listener.c: In function `alListenerf':
al_listener.c:84: error: `ctx' undeclared (first use in this function)
al_listener.c:84: error: (Each undeclared identifier is reported only once
al_listener.c:84: error: for each function it appears in.)
al_listener.c:92: warning: implicit declaration of function `pthread_mutex_lock'al_listener.c:104: warning: implicit declaration of function `pthread_mutex_unlock'
al_listener.c: In function `alListener3f':
al_listener.c:109: error: `ctx' undeclared (first use in this function)
al_listener.c: In function `alListenerfv':
al_listener.c:141: error: `ctx' undeclared (first use in this function)
al_listener.c: In function `alGetListeneriv':
al_listener.c:194: error: `ctx' undeclared (first use in this function)
al_listener.c: In function `alGetListenerfv':
al_listener.c:261: error: `ctx' undeclared (first use in this function)
make: *** [al_listener.o] Error 1
Bookmarks