Created
September 23, 2015 16:45
-
-
Save jungle-boogie/cc7e50db46084af2df81 to your computer and use it in GitHub Desktop.
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
% make -f Makefile.no-autoconfig CC=clang mlrp | |
make -C dsls -f Makefile.no-autoconfig put_dsl_parse.o | |
clang -o lemon lemon.c | |
lemon.c:2328:1: warning: control may reach end of non-void function [-Wreturn-type] | |
} | |
^ | |
lemon.c:3085:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
2 warnings generated. | |
./lemon put_dsl_parse.y | |
mv put_dsl_parse.c put_dsl_parse.c.tmp | |
sed -e 's/ParseTrace/put_dsl_ParseTrace/g' -e 's/ParseTokenName/put_dsl_ParseTokenName/g' -e 's/lemon_parser_alloc/put_dsl_lemon_parser_alloc/g' -e 's/lemon_parser_free/put_dsl_lemon_parser_free/g' -e 's/lemon_parser_parse_token/put_dsl_lemon_parser_parse_token/g' -e 's/yy_destructor/put_dsl_yy_destructor/g' put_dsl_parse.c.tmp > put_dsl_parse.c | |
rm -f put_dsl_parse.c.tmp | |
clang -I.. -O3 -c -std=gnu99 put_dsl_parse.c | |
make -C dsls -f Makefile.no-autoconfig put_dsl_lexer.o | |
flex --prefix=put_dsl_lexer_ --outfile=put_dsl_lexer.c --header-file=put_dsl_lexer.h put_dsl_lexer.l | |
clang -I.. -O3 -c -std=gnu99 put_dsl_lexer.c | |
make -C dsls -f Makefile.no-autoconfig put_dsl_wrapper.o | |
clang -Wall -I.. -O3 -c -std=gnu99 put_dsl_wrapper.c | |
put_dsl_wrapper.c:24:16: warning: implicit declaration of function 'put_dsl_lemon_parser_parse_token' is invalid in C99 [-Wimplicit-function-declaration] | |
parse_code = put_dsl_lemon_parser_parse_token(pvparser, lex_code, plexed_node, pasts); | |
^ | |
put_dsl_wrapper.c:61:2: warning: implicit declaration of function 'put_dsl_lemon_parser_free' is invalid in C99 [-Wimplicit-function-declaration] | |
put_dsl_lemon_parser_free(pvparser, free); | |
^ | |
2 warnings generated. | |
make -C dsls -f Makefile.no-autoconfig filter_dsl_parse.o | |
./lemon filter_dsl_parse.y | |
mv filter_dsl_parse.c filter_dsl_parse.c.tmp | |
sed -e 's/ParseTrace/filter_dsl_ParseTrace/g' -e 's/ParseTokenName/filter_dsl_ParseTokenName/g' -e 's/lemon_parser_alloc/filter_dsl_lemon_parser_alloc/g' -e 's/lemon_parser_free/filter_dsl_lemon_parser_free/g' -e 's/lemon_parser_parse_token/filter_dsl_lemon_parser_parse_token/g' -e 's/yy_destructor/filter_dsl_yy_destructor/g' filter_dsl_parse.c.tmp > filter_dsl_parse.c | |
rm -f filter_dsl_parse.c.tmp | |
clang -I.. -O3 -c -std=gnu99 filter_dsl_parse.c | |
make -C dsls -f Makefile.no-autoconfig filter_dsl_lexer.o | |
flex --prefix=filter_dsl_lexer_ --outfile=filter_dsl_lexer.c --header-file=filter_dsl_lexer.h filter_dsl_lexer.l | |
clang -I.. -O3 -c -std=gnu99 filter_dsl_lexer.c | |
make -C dsls -f Makefile.no-autoconfig filter_dsl_wrapper.o | |
clang -Wall -I.. -O3 -c -std=gnu99 filter_dsl_wrapper.c | |
filter_dsl_wrapper.c:23:16: warning: implicit declaration of function 'filter_dsl_lemon_parser_parse_token' is invalid in C99 [-Wimplicit-function-declaration] | |
parse_code = filter_dsl_lemon_parser_parse_token(pvparser, lex_code, plexed_node, past); | |
^ | |
filter_dsl_wrapper.c:59:2: warning: implicit declaration of function 'filter_dsl_lemon_parser_free' is invalid in C99 [-Wimplicit-function-declaration] | |
filter_dsl_lemon_parser_free(pvparser, free); | |
^ | |
2 warnings generated. | |
clang -g -std=gnu99 -I. -I.. -Wall -Werror -g -pg *.c cli/*.c lib/*.c containers/*.c stream/*.c input/*.c mapping/*.c output/*.c ./dsls/put_dsl_parse.o ./dsls/put_dsl_lexer.o ./dsls/put_dsl_wrapper.o ./dsls/filter_dsl_parse.o ./dsls/filter_dsl_lexer.o ./dsls/filter_dsl_wrapper.o -lm -o mlrp | |
/tmp/mlr_test_util-1c2c81.o: In function `write_temp_file_or_die': | |
/usr/home/sean/bin/miller/c/lib/mlr_test_util.c:9: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() | |
/usr/bin/ld: undefined reference to symbol `_end' (try adding -lc) | |
//lib/libc.so.7: could not read symbols: Bad value | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
*** Error code 1 | |
Stop. | |
make: stopped in /usr/home/sean/bin/miller/c | |
4.896 real, 3.797 user, 1.041 sys; page: 7 hard/74544 soft, swap: 0, I/O: 6/9 | |
Mem: 22660KB (26227KB shared + 344KB data/stack = 26571KB), VCSW: 520 IVCSW: 910 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment