i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -march=i686 -pipe -I/opt/oss/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -march=i686 -pipe -march=i686 -MT oss_driver.lo -MD -MP -MF .deps/oss_driver.Tpo -c oss_driver.c -fPIC -DPIC -o .libs/oss_driver.o In file included from oss_driver.c:53: /usr/include/semaphore.h:1:36: linuxthreads/semaphore.h: No such file or directory In file included from oss_driver.c:66: oss_driver.h:93: error: syntax error before "sem_t" oss_driver.h:93: warning: no semicolon at end of struct or union oss_driver.h:94: warning: type defaults to `int' in declaration of `oss_driver_t' oss_driver.h:94: warning: data definition has no type or storage class oss_driver.c:155: error: syntax error before '*' token oss_driver.c: In function `set_period_size': oss_driver.c:158: error: `driver' undeclared (first use in this function) oss_driver.c:158: error: (Each undeclared identifier is reported only once oss_driver.c:158: error: for each function it appears in.) oss_driver.c:158: error: `new_period_size' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:170: error: syntax error before '*' token oss_driver.c: In function `update_times': oss_driver.c:172: error: `driver' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:186: error: syntax error before '*' token oss_driver.c: In function `driver_cycle': oss_driver.c:188: error: `driver' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:341: error: syntax error before '*' token oss_driver.c: In function `oss_driver_attach': oss_driver.c:348: error: `driver' undeclared (first use in this function) oss_driver.c:348: error: `engine' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:397: error: syntax error before '*' token oss_driver.c: In function `oss_driver_detach': oss_driver.c:401: error: `driver' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:432: error: syntax error before '*' token oss_driver.c: In function `oss_driver_start': oss_driver.c:437: error: `driver' undeclared (first use in this function) oss_driver.c:677: warning: implicit declaration of function `sem_init' oss_driver.c:709: warning: implicit declaration of function `sem_post' oss_driver.c: At top level: oss_driver.c:720: error: syntax error before '*' token oss_driver.c: In function `oss_driver_stop': oss_driver.c:724: error: `driver' undeclared (first use in this function) oss_driver.c:743: warning: implicit declaration of function `sem_destroy' oss_driver.c: At top level: oss_driver.c:776: error: syntax error before '*' token oss_driver.c: In function `oss_driver_read': oss_driver.c:783: error: `driver' undeclared (first use in this function) oss_driver.c:784: error: `nframes' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:819: error: syntax error before '*' token oss_driver.c: In function `oss_driver_write': oss_driver.c:826: error: `driver' undeclared (first use in this function) oss_driver.c:827: error: `nframes' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:862: error: syntax error before '*' token oss_driver.c: In function `oss_driver_null_cycle': oss_driver.c:864: error: `driver' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:876: error: syntax error before '*' token oss_driver.c: In function `oss_driver_bufsize': oss_driver.c:878: error: `driver' undeclared (first use in this function) oss_driver.c:880: error: `nframes' undeclared (first use in this function) oss_driver.c: At top level: oss_driver.c:894: error: syntax error before '*' token oss_driver.c: In function `synchronize': oss_driver.c:896: error: `driver' undeclared (first use in this function) oss_driver.c: In function `io_thread': oss_driver.c:917: error: `driver' undeclared (first use in this function) oss_driver.c:917: error: syntax error before ')' token oss_driver.c:919: warning: implicit declaration of function `sem_wait' oss_driver.c: In function `driver_initialize': oss_driver.c:1098: error: `driver' undeclared (first use in this function) oss_driver.c:1100: error: syntax error before ')' token oss_driver.c: In function `driver_finish': oss_driver.c:1253: error: `oss_driver' undeclared (first use in this function) oss_driver.c:1253: error: syntax error before ')' token oss_driver.c:1255: error: syntax error before ')' token make[3]: *** [oss_driver.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-sound/jack-audio-connection-kit-0.102.20/work/jack-audio-connection-kit-0.102.20/drivers/oss' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/jack-audio-connection-kit-0.102.20/work/jack-audio-connection-kit-0.102.20/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/jack-audio-connection-kit-0.102.20/work/jack-audio-connection-kit-0.102.20' make: *** [all] Error 2 !!! ERROR: media-sound/jack-audio-connection-kit-0.102.20 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile jack-audio-connection-kit-0.102.20.ebuild, line 103: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant.