Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devaudio-unix.c:8:10: fatal error: 'sys/soundcard.h' file not found #6

Open
Necktwi opened this issue Mar 23, 2017 · 3 comments
Open

Comments

@Necktwi
Copy link

Necktwi commented Mar 23, 2017

I am on macOS. CONF=unix make gave me the above error.

@francisconti
Copy link

If you're trying to build the normal macOS drawterm, you should be using CONF=osx (which will use the "none" sound option; no sound in macOS drawterm, sadly).

@mengzhuo
Copy link

@francisconti Failed on 10.15.7 (19H114)

fatal error: 'QuickTime/QuickTime.h' file not found

@ixnij
Copy link

ixnij commented Jun 22, 2022

@francisconti Failed on 10.15.7 (19H114)

fatal error: 'QuickTime/QuickTime.h' file not found

I got the error, either. And, it seems that it doesn't support arm darwin.

log:

(base) λ drawterm ❯ CONF=osx make -j8
(cd kern; /Library/Developer/CommandLineTools/usr/bin/make)
(cd gui-osx; /Library/Developer/CommandLineTools/usr/bin/make)
arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/;s/x86_64/amd64/'`; \
	(cd posix-$arch &&  make)
/bin/sh: line 0: cd: posix-arm64: No such file or directory
make: *** [libmachdep.a] Error 1
make: *** Waiting for unfinished jobs....
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 alloc.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devaudio-none.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 cload.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devdraw.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 draw.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devfs-posix.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 load.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devip.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 screen.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devip-posix.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devlfd.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devmnt.c
devdraw.c:1292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        x |= ~0<<23;
                             ~~^
devdraw.c:1295:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        x |= ~0<<7;
                             ~~^
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devmouse.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devpipe.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devroot.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devssl.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devtls.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 devtab.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 error.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 parse.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 pgrp.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 procinit.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 rwlock.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 sleep.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 smalloc.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 stub.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 sysfile.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 sysproc.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 qio.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 qlock.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 term.c
screen.c:9:10: fatal error: 'QuickTime/QuickTime.h' file not found
#include <QuickTime/QuickTime.h> // for full screen
         ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [screen.o] Error 1
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 uart.c
make: *** [gui-osx/libgui.a] Error 2
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 waserror.c
gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c -D_THREAD_SAFE  -O2 posix.c
2 warnings generated.
ar r libkern.a allocb.o cache.o chan.o data.o dev.o devaudio.o devaudio-none.o devcons.o devdraw.o devfs-posix.o devip.o devip-posix.o devlfd.o devmnt.o devmouse.o devpipe.o devroot.o devssl.o devtls.o devtab.o error.o parse.o pgrp.o procinit.o rwlock.o sleep.o smalloc.o stub.o sysfile.o sysproc.o qio.o qlock.o term.o uart.o waserror.o posix.o
ar: creating archive libkern.a
ranlib libkern.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants