Created
March 25, 2016 16:53
-
-
Save jasonw22/254e6d1ea43a0979cdbf to your computer and use it in GitHub Desktop.
libmonome examples/test.c build failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# project libmonome (1.4.0) configured on Fri Mar 25 09:49:25 2016 by | |
# waf 1.8.5 (abi 98, python 2070af0 on darwin) | |
# using ./waf configure | |
# | |
---------------------------------------- | |
Setting top to | |
/Users/jasonwehmhoener/Github/libmonome | |
---------------------------------------- | |
Setting out to | |
/Users/jasonwehmhoener/Github/libmonome/build | |
---------------------------------------- | |
Checking for 'clang' (C compiler) | |
find program=['clang'] paths=['/Users/jasonwehmhoener/.gem/ruby/2.2.2/bin', '/Users/jasonwehmhoener/.rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/bin', '/Users/jasonwehmhoener/.rubies/ruby-2.2.2/bin', '/usr/local/opt/coreutils/libexec/gnubin', '/Users/jasonwehmhoener/Library/Haskell/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin'] var='CC' -> ['/usr/bin/clang'] | |
find program=['ar'] paths=['/Users/jasonwehmhoener/.gem/ruby/2.2.2/bin', '/Users/jasonwehmhoener/.rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/bin', '/Users/jasonwehmhoener/.rubies/ruby-2.2.2/bin', '/usr/local/opt/coreutils/libexec/gnubin', '/Users/jasonwehmhoener/Library/Haskell/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin'] var='AR' -> ['/usr/bin/ar'] | |
/usr/bin/clang | |
---------------------------------------- | |
Checking for endianness | |
==> | |
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
int use_ascii (int i) { | |
return ascii_mm[i] + ascii_ii[i]; | |
} | |
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
int use_ebcdic (int i) { | |
return ebcdic_mm[i] + ebcdic_ii[i]; | |
} | |
extern int foo; | |
<== | |
[1/2] Compiling [32mbuild/.conf_check_bbcf1e87817edf157829824117e70599/test.c[0m | |
['/usr/bin/clang', '../test.c', '-c', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_bbcf1e87817edf157829824117e70599/testbuild/test.c.1.o'] | |
[2/2] Processing [35mbuild/.conf_check_bbcf1e87817edf157829824117e70599/testbuild/test.c.1.o[0m | |
little | |
---------------------------------------- | |
Checking for working poll() | |
==> | |
#include <stdlib.h> | |
#include <poll.h> | |
int main(int argc, char **argv) { | |
struct pollfd fds[1]; | |
fds[0].fd = open("/dev/null", 1); | |
fds[0].events = POLLIN; | |
if( poll(fds, 1, 0) < 0 || fds[0].revents & POLLNVAL ) | |
exit(1); | |
exit(0); | |
} | |
<== | |
[1/3] Compiling [32mbuild/.conf_check_1c9d606c2bce5ff22976133470db2838/test.c[0m | |
['/usr/bin/clang', '../test.c', '-c', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_1c9d606c2bce5ff22976133470db2838/testbuild/test.c.1.o'] | |
err: ../test.c:8:19: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] | |
fds[0].fd = open("/dev/null", 1); | |
^ | |
1 warning generated. | |
[2/3] Linking [33mbuild/.conf_check_1c9d606c2bce5ff22976133470db2838/testbuild/testprog[0m | |
['/usr/bin/clang', 'test.c.1.o', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_1c9d606c2bce5ff22976133470db2838/testbuild/testprog'] | |
[3/3] Processing [35mbuild/.conf_check_1c9d606c2bce5ff22976133470db2838/testbuild/testprog[0m | |
['/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_1c9d606c2bce5ff22976133470db2838/testbuild/testprog'] | |
no (will use select()) | |
from /Users/jasonwehmhoener/Github/libmonome: The configuration failed False | |
---------------------------------------- | |
Checking for library dl | |
==> | |
int main(int argc, char **argv) { | |
(void)argc; (void)argv; | |
return 0; | |
} | |
<== | |
[1/2] Compiling [32mbuild/.conf_check_b35b06ee80beb76d1d8cdc6cb5dbbc4c/test.c[0m | |
['/usr/bin/clang', '../test.c', '-c', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_b35b06ee80beb76d1d8cdc6cb5dbbc4c/testbuild/test.c.1.o'] | |
[2/2] Linking [33mbuild/.conf_check_b35b06ee80beb76d1d8cdc6cb5dbbc4c/testbuild/testprog[0m | |
['/usr/bin/clang', 'test.c.1.o', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_b35b06ee80beb76d1d8cdc6cb5dbbc4c/testbuild/testprog', '-ldl'] | |
yes | |
---------------------------------------- | |
Checking for liblo | |
==> | |
int main(int argc, char **argv) { | |
(void)argc; (void)argv; | |
return 0; | |
} | |
<== | |
[1/3] Compiling [32mbuild/.conf_check_39fa67ee25bf8818722b3aff24d21430/test.c[0m | |
['/usr/bin/clang', '../test.c', '-c', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_39fa67ee25bf8818722b3aff24d21430/testbuild/test.c.1.o'] | |
[2/3] Linking [33mbuild/.conf_check_39fa67ee25bf8818722b3aff24d21430/testbuild/testprog[0m | |
['/usr/bin/clang', 'test.c.1.o', '-o', '/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_39fa67ee25bf8818722b3aff24d21430/testbuild/testprog', '-llo'] | |
[3/3] Processing [35mbuild/.conf_check_39fa67ee25bf8818722b3aff24d21430/testbuild/testprog[0m | |
['/Users/jasonwehmhoener/Github/libmonome/build/.conf_check_39fa67ee25bf8818722b3aff24d21430/testbuild/testprog'] | |
yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment