You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
12.2.1 Darwin Kernel Version 12.2.1:
When I try run make on my OSX box I get the following errors:
$ make
make -C lib
gcc -fPIC -std=gnu99 -g -c bytestream.c
bytestream.c:2:20: error: malloc.h: No such file or directory
bytestream.c: In function ‘bsalloc’:
bytestream.c:16: warning: implicit declaration of function ‘printf’
bytestream.c:16: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c:27: error: ‘MAP_ANONYMOUS’ undeclared (first use in this function)
bytestream.c:27: error: (Each undeclared identifier is reported only once
bytestream.c:27: error: for each function it appears in.)
bytestream.c:31: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c: In function ‘bsmap’:
bytestream.c:46: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c:52: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c:60: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c:76: warning: incompatible implicit declaration of built-in function ‘printf’
bytestream.c: In function ‘bssave’:
bytestream.c:250: error: ‘FILE’ undeclared (first use in this function)
bytestream.c:250: error: ‘f’ undeclared (first use in this function)
bytestream.c:250: warning: implicit declaration of function ‘fopen’
bytestream.c:254: warning: implicit declaration of function ‘fwrite’
bytestream.c:254: warning: incompatible implicit declaration of built-in function ‘fwrite’
bytestream.c:256: warning: implicit declaration of function ‘fflush’
bytestream.c:257: warning: implicit declaration of function ‘fclose’
make[1]: *** [bytestream] Error 1
make: *** [build_lib] Error 2
The text was updated successfully, but these errors were encountered:
When I try run make on my OSX box I get the following errors:
The text was updated successfully, but these errors were encountered: