| Issue 6: | make warnings | |
| 2 people starred this issue and may be notified of changes. | Back to list |
> What steps will reproduce the problem?
1. Clone git
2. Run "make"
> What is the expected output? What do you see instead?
I expected a clean build. The following warnings are produced:
$ make
echo "export
LUA_PATH=`pwd`/compiler/?.lua\\;`pwd`/sketches/?.lua\\;`pwd`/tests/
?.lua" > lua_path
echo export LUA_CPATH=`pwd`/lang_ext/lua/?.so >> lua_path
make -w -C runtime
make[1]: Entering directory `/home/arthaey/local/src/gazelle-master/run
time'
gcc -Wall -g -O6 -std=c99 -Iinclude -o bc_read_stream.o -c bc_read_stream.c
gcc -Wall -g -O6 -std=c99 -Iinclude -o parse.o -c parse.c
parse.c: In function ‘dump_stack’:
parse.c:51: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘lo ng int’
parse.c:58: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘lo ng int’
parse.c: At top level:
parse.c:33: warning: ‘dump_stack’ defined but not used
gcc -Wall -g -O6 -std=c99 -Iinclude -o load_grammar.o -c load_grammar.c
load_grammar.c:48: warning: ‘check_error’ defined but not used
ar rcs libgazelle.a bc_read_stream.o parse.o load_grammar.o
make[1]: Leaving directory `/home/arthaey/local/src/gazelle-master/runt
ime'
make -w -C utilities
make[1]: Entering directory `/home/arthaey/local/src/gazelle-master/uti
lities'
gcc -Wall -g -O6 -std=c99 -o bitcode_dump.o -c bitcode_dump.c
-I../runtime/inclu de
bitcode_dump.c: In function ‘main’:
bitcode_dump.c:73: warning: format ‘%llu’ expects type ‘long long unsigned
int’, but argument 2 has type ‘uint64_t’
gcc -o bitcode_dump bitcode_dump.o ../runtime/bc_read_stream.o
gcc -Wall -g -O6 -std=c99 -o gzlparse.o -c gzlparse.c -I../runtime/include
gzlparse.c: In function ‘error_terminal_callback’:
gzlparse.c:187: warning: unused variable ‘user_state’
gcc -o gzlparse gzlparse.o ../runtime/libgazelle.a
gcc -o srlua-glue srlua-glue.c `pkg-config --silence-errors --cflags lua ||
pkg- config --cflags lua5.1` `pkg-config --silence-errors
--libs lua || pkg-config -- libs lua5.1`
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
gcc -o srlua srlua.c `pkg-config --silence-errors --cflags lua ||
pkg-config --c flags lua5.1` `pkg-config --silence-errors
--libs lua || pkg-config --libs lua5. 1`
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua5.1' found
srlua.c:19:17: error: lua.h: No such file or directory
srlua.c:20:20: error: lualib.h: No such file or directory
srlua.c:21:21: error: lauxlib.h: No such file or directory
srlua.c:30: error: expected ‘)’ before ‘*’ token
srlua.c:45: error: expected ‘)’ before ‘*’ token
srlua.c:60: error: expected ‘)’ before ‘*’ token
srlua.c: In function ‘main’:
srlua.c:95: error: ‘lua_State’ undeclared (first use in this function)
srlua.c:95: error: (Each undeclared identifier is reported only once
srlua.c:95: error: for each function it appears in.)
srlua.c:95: error: ‘L’ undeclared (first use in this function)
srlua.c:111: error: ‘pmain’ undeclared (first use in this function)
make[1]: *** [srlua] Error 1
make[1]: Leaving directory `/home/arthaey/local/src/gazelle-master/util
ities'
make: *** [utilities] Error 2
>What version of the product are you using? On what operating system?
Master branch, as of 2009-01-30 3:14 PM PST, on Linux.
>Please provide any additional information below.
There is also the error about lua5.1 not found in the pkg-config search
path. When I opened Issue #2 , "make" worked but not "make install". Did
something change with the search path?
Jan 31, 2009
Project Member
#1
jhaber...@gmail.com
Labels:
FixTarget-0.5
Jan 31, 2009
(No comment was entered for this change.)
Status:
Accepted
Owner: jhaberman
Jan 31, 2009
Issue 2 has been merged into this issue.
Feb 1, 2009
I'm running this on Dreamhost. uname -a says "Linux charybdis 2.6.24.5-xeon-aufs20081006-grsec #1 SMP Thu Oct 9 15:42:59 PDT 2008 x86_64 GNU/Linux" |