1

Topic: Compiling on Debian Etch

Hello,

I'm reading the http://www.teeworlds.com/?page=docs& … Everything doc but I can't compile teeworlds on Debian Etch!

First, I couldn't find BAM so I downloaded from:
http://teeworlds.com/trac/bam/browser/r … format=raw

When I try to execute make_unix.sh, I get a lot of error like:

"src/lua/lvm.c: In function ‘luaV_concat’:
src/lua/lvm.c:302: warning: implicit declaration of function ‘memcpy’
src/lua/lvm.c:302: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/lvm.c: In function ‘Arith’:"

I'm using gcc 4.1.2

What can I do now?

Thank you,
Coralie Jones

2

Re: Compiling on Debian Etch

That's just warnings, you should have a src/bam binary.

Languages shapes the way we think, or don't.

3

Re: Compiling on Debian Etch

Thats the problem...I dont have a bam binary. sad

4

Re: Compiling on Debian Etch

Please paste the whole error message. It's hard to know without seeing it (and yes, I can see you've cut it off smile

Languages shapes the way we think, or don't.

5 (edited by FireArrow 2009-01-14 19:09:40)

Re: Compiling on Debian Etch

Sorry, I'll post the whole error... smile
Using bam-0.2.0 and  teeworlds-0.5.0-src

Error:
src/tools/txt2c.c:5:19: error: stdio.h: Arquivo ou diretório não encontrado (translanting :File or directory not found)
src/tools/txt2c.c: In function ‘main’:
src/tools/txt2c.c:11: error: ‘FILE’ undeclared (first use in this function)
src/tools/txt2c.c:11: error: (Each undeclared identifier is reported only once
src/tools/txt2c.c:11: error: for each function it appears in.)
src/tools/txt2c.c:11: error: ‘input’ undeclared (first use in this function)
src/tools/txt2c.c:12: warning: implicit declaration of function ‘printf’
src/tools/txt2c.c:12: warning: incompatible implicit declaration of built-in function ‘printf’
src/tools/txt2c.c:23: warning: implicit declaration of function ‘fopen’
src/tools/txt2c.c:27: warning: implicit declaration of function ‘fgetc’
src/tools/txt2c.c:28: warning: implicit declaration of function ‘feof’
src/tools/txt2c.c:36: warning: implicit declaration of function ‘fclose’
./make_unix.sh: line 3: src/tools/txt2c: Arquivo ou diretório não encontrado
src/lua/lapi.c:8:20: error: assert.h: Arquivo ou diretório não encontrado
src/lua/lapi.c:9:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lapi.c:11:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lapi.c:16:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
src/lua/lapi.c: In function ‘lua_pushstring’:
src/lua/lapi.c:458: warning: implicit declaration of function ‘strlen’
src/lua/lapi.c:458: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lapi.c: In function ‘lua_getfield’:
src/lua/lapi.c:550: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lapi.c: In function ‘lua_setfield’:
src/lua/lapi.c:664: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c:8:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/lauxlib.c:9:19: error: errno.h: Arquivo ou diretório não encontrado
src/lua/lauxlib.c:11:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/lauxlib.c:12:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lauxlib.c:13:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lauxlib.c:23:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lauxlib.c:25:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/lauxlib.c: In function ‘luaL_argerror’:
src/lua/lauxlib.c:48: warning: implicit declaration of function ‘strcmp’
src/lua/lauxlib.c: In function ‘luaL_optlstring’:
src/lua/lauxlib.c:169: warning: implicit declaration of function ‘strlen’
src/lua/lauxlib.c:169: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c: In function ‘luaL_gsub’:
src/lua/lauxlib.c:343: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c:346: warning: implicit declaration of function ‘strstr’
src/lua/lauxlib.c:346: warning: incompatible implicit declaration of built-in function ‘strstr’
src/lua/lauxlib.c: In function ‘luaL_findtable’:
src/lua/lauxlib.c:362: warning: implicit declaration of function ‘strchr’
src/lua/lauxlib.c:362: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/lauxlib.c:363: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c: In function ‘luaL_addlstring’:
src/lua/lauxlib.c:438: warning: left-hand operand of comma expression has no effect
src/lua/lauxlib.c:438: warning: value computed is not used
src/lua/lauxlib.c: In function ‘luaL_addstring’:
src/lua/lauxlib.c:443: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c: In function ‘luaL_addvalue’:
src/lua/lauxlib.c:459: warning: implicit declaration of function ‘memcpy’
src/lua/lauxlib.c:459: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/lauxlib.c: At top level:
src/lua/lauxlib.c:524: error: expected specifier-qualifier-list before ‘FILE’
src/lua/lauxlib.c: In function ‘getF’:
src/lua/lauxlib.c:537: warning: implicit declaration of function ‘feof’
src/lua/lauxlib.c:537: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:538: warning: implicit declaration of function ‘fread’
src/lua/lauxlib.c:538: error: ‘LoadF’ has no member named ‘buff’
src/lua/lauxlib.c:538: error: ‘LoadF’ has no member named ‘buff’
src/lua/lauxlib.c:538: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:539: error: ‘LoadF’ has no member named ‘buff’
src/lua/lauxlib.c: In function ‘errfile’:
src/lua/lauxlib.c:544: warning: implicit declaration of function ‘strerror’
src/lua/lauxlib.c:544: error: ‘errno’ undeclared (first use in this function)
src/lua/lauxlib.c:544: error: (Each undeclared identifier is reported only once
src/lua/lauxlib.c:544: error: for each function it appears in.)
src/lua/lauxlib.c:544: warning: initialization makes pointer from integer without a cast
src/lua/lauxlib.c: In function ‘luaL_loadfile’:
src/lua/lauxlib.c:560: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:560: error: ‘stdin’ undeclared (first use in this function)
src/lua/lauxlib.c:564: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:564: warning: implicit declaration of function ‘fopen’
src/lua/lauxlib.c:565: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:567: warning: implicit declaration of function ‘getc’
src/lua/lauxlib.c:567: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:570: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:570: error: ‘EOF’ undeclared (first use in this function)
src/lua/lauxlib.c:571: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:574: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:574: warning: implicit declaration of function ‘freopen’
src/lua/lauxlib.c:574: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:575: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:577: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:580: warning: implicit declaration of function ‘ungetc’
src/lua/lauxlib.c:580: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:582: warning: implicit declaration of function ‘ferror’
src/lua/lauxlib.c:582: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c:583: warning: implicit declaration of function ‘fclose’
src/lua/lauxlib.c:583: error: ‘LoadF’ has no member named ‘f’
src/lua/lauxlib.c: In function ‘luaL_loadstring’:
src/lua/lauxlib.c:619: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lauxlib.c: In function ‘l_alloc’:
src/lua/lauxlib.c:631: warning: implicit declaration of function ‘free’
src/lua/lauxlib.c:635: warning: implicit declaration of function ‘realloc’
src/lua/lauxlib.c:635: warning: return makes pointer from integer without a cast
src/lua/lauxlib.c: In function ‘panic’:
src/lua/lauxlib.c:641: warning: implicit declaration of function ‘fprintf’
src/lua/lauxlib.c:641: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/lua/lauxlib.c:641: error: ‘stderr’ undeclared (first use in this function)
src/lua/lbaselib.c:9:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/lbaselib.c:10:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/lbaselib.c:11:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lbaselib.c:12:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lbaselib.c:17:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lbaselib.c:19:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/lbaselib.c: In function ‘luaB_print’:
src/lua/lbaselib.c:44: warning: implicit declaration of function ‘fputs’
src/lua/lbaselib.c:44: error: ‘stdout’ undeclared (first use in this function)
src/lua/lbaselib.c:44: error: (Each undeclared identifier is reported only once
src/lua/lbaselib.c:44: error: for each function it appears in.)
src/lua/lbaselib.c: In function ‘luaB_tonumber’:
src/lua/lbaselib.c:67: warning: implicit declaration of function ‘strtoul’
src/lua/lbaselib.c:69: warning: implicit declaration of function ‘isspace’
src/lua/lcode.c:8:20: error: stdlib.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lcode.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lcode.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lcode.c: In function ‘fixjump’:
src/lua/lcode.c:84: warning: implicit declaration of function ‘abs’
src/lua/lcode.c: In function ‘constfolding’:
src/lua/lcode.c:649: warning: implicit declaration of function ‘floor’
src/lua/lcode.c:649: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lcode.c:650: warning: implicit declaration of function ‘pow’
src/lua/lcode.c:650: warning: incompatible implicit declaration of built-in function ‘pow’
src/lua/ldblib.c:8:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/ldblib.c:9:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/ldblib.c:10:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ldblib.c:15:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/ldblib.c:17:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/ldblib.c: In function ‘db_getinfo’:
src/lua/ldblib.c:120: warning: implicit declaration of function ‘strchr’
src/lua/ldblib.c:120: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/ldblib.c: In function ‘makemask’:
src/lua/ldblib.c:226: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/ldblib.c: In function ‘db_debug’:
src/lua/ldblib.c:304: warning: implicit declaration of function ‘fputs’
src/lua/ldblib.c:304: error: ‘stderr’ undeclared (first use in this function)
src/lua/ldblib.c:304: error: (Each undeclared identifier is reported only once
src/lua/ldblib.c:304: error: for each function it appears in.)
src/lua/ldblib.c:305: warning: implicit declaration of function ‘fgets’
src/lua/ldblib.c:305: error: ‘stdin’ undeclared (first use in this function)
src/lua/ldblib.c:306: warning: implicit declaration of function ‘strcmp’
src/lua/ldblib.c:308: warning: implicit declaration of function ‘strlen’
src/lua/ldblib.c:308: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/ldebug.c:10:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ldebug.c:16:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/ldebug.c:16:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/ldebug.c: In function ‘lua_getinfo’:
src/lua/ldebug.c:250: warning: implicit declaration of function ‘strchr’
src/lua/ldebug.c:250: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/ldo.c:8:20: error: setjmp.h: Arquivo ou diretório não encontrado
src/lua/ldo.c:9:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/ldo.c:10:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ldo.c:15:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/ldo.c:15:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/ldo.c:46: error: expected specifier-qualifier-list before ‘jmp_buf’
src/lua/ldo.c: In function ‘luaD_throw’:
src/lua/ldo.c:96: error: ‘struct lua_longjmp’ has no member named ‘status’
src/lua/ldo.c:97: warning: implicit declaration of function ‘longjmp’
src/lua/ldo.c:97: error: ‘struct lua_longjmp’ has no member named ‘b’
src/lua/ldo.c:106: warning: implicit declaration of function ‘exit’
src/lua/ldo.c:106: warning: incompatible implicit declaration of built-in function ‘exit’
src/lua/ldo.c:106: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
src/lua/ldo.c:106: error: (Each undeclared identifier is reported only once
src/lua/ldo.c:106: error: for each function it appears in.)
src/lua/ldo.c: In function ‘luaD_rawrunprotected’:
src/lua/ldo.c:113: error: ‘struct lua_longjmp’ has no member named ‘status’
src/lua/ldo.c:116: warning: implicit declaration of function ‘setjmp’
src/lua/ldo.c:116: error: ‘struct lua_longjmp’ has no member named ‘b’
src/lua/ldo.c:120: error: ‘struct lua_longjmp’ has no member named ‘status’
src/lua/ldo.c: In function ‘resume_error’:
src/lua/ldo.c:410: warning: implicit declaration of function ‘strlen’
src/lua/ldo.c:410: warning: incompatible implicit declaration of built-in function ‘strlen’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ldump.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/ldump.c:12:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lfunc.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lfunc.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lgc.c:7:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lgc.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lgc.c:12:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lgc.c: In function ‘traversetable’:
src/lua/lgc.c:167: warning: implicit declaration of function ‘strchr’
src/lua/lgc.c:167: warning: incompatible implicit declaration of built-in function ‘strchr’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/linit.c:11:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/linit.c:14:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/lua/linit.c:14:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/liolib.c:8:19: error: errno.h: Arquivo ou diretório não encontrado
src/lua/liolib.c:9:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/liolib.c:10:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/liolib.c:11:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/liolib.c:16:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/liolib.c:18:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/liolib.c: In function ‘pushresult’:
src/lua/liolib.c:31: error: ‘errno’ undeclared (first use in this function)
src/lua/liolib.c:31: error: (Each undeclared identifier is reported only once
src/lua/liolib.c:31: error: for each function it appears in.)
src/lua/liolib.c:39: warning: implicit declaration of function ‘strerror’
src/lua/liolib.c: In function ‘fileerror’:
src/lua/liolib.c:49: error: ‘errno’ undeclared (first use in this function)
src/lua/liolib.c: In function ‘io_type’:
src/lua/liolib.c:64: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:64: error: expected expression before ‘)’ token
src/lua/liolib.c: At top level:
src/lua/liolib.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/lua/liolib.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/lua/liolib.c: In function ‘io_pclose’:
src/lua/liolib.c:109: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:109: error: ‘p’ undeclared (first use in this function)
src/lua/liolib.c:109: error: expected expression before ‘)’ token
src/lua/liolib.c:110: warning: left-hand operand of comma expression has no effect
src/lua/liolib.c:110: warning: ISO C90 forbids mixed declarations and code
src/lua/liolib.c: In function ‘io_fclose’:
src/lua/liolib.c:120: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:120: error: ‘p’ undeclared (first use in this function)
src/lua/liolib.c:120: error: expected expression before ‘)’ token
src/lua/liolib.c:121: warning: implicit declaration of function ‘fclose’
src/lua/liolib.c:121: warning: ISO C90 forbids mixed declarations and code
src/lua/liolib.c: In function ‘io_close’:
src/lua/liolib.c:137: warning: implicit declaration of function ‘tofile’
src/lua/liolib.c: In function ‘io_gc’:
src/lua/liolib.c:143: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:143: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:143: error: expected expression before ‘)’ token
src/lua/liolib.c: In function ‘io_tostring’:
src/lua/liolib.c:152: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:152: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:152: error: expected expression before ‘)’ token
src/lua/liolib.c: In function ‘io_open’:
src/lua/liolib.c:164: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:164: error: ‘pf’ undeclared (first use in this function)
src/lua/liolib.c:164: warning: implicit declaration of function ‘newfile’
src/lua/liolib.c:165: warning: implicit declaration of function ‘fopen’
src/lua/liolib.c: In function ‘io_popen’:
src/lua/liolib.c:177: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:177: error: ‘pf’ undeclared (first use in this function)
src/lua/liolib.c:178: error: expected expression before ‘)’ token
src/lua/liolib.c: In function ‘io_tmpfile’:
src/lua/liolib.c:184: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:184: error: ‘pf’ undeclared (first use in this function)
src/lua/liolib.c:185: warning: implicit declaration of function ‘tmpfile’
src/lua/liolib.c: At top level:
src/lua/liolib.c:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/lua/liolib.c: In function ‘g_iofile’:
src/lua/liolib.c:204: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:204: error: ‘pf’ undeclared (first use in this function)
src/lua/liolib.c: In function ‘io_lines’:
src/lua/liolib.c:256: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:256: error: ‘pf’ undeclared (first use in this function)
src/lua/liolib.c: At top level:
src/lua/liolib.c:273: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘read_number’:
src/lua/liolib.c:275: warning: implicit declaration of function ‘fscanf’
src/lua/liolib.c:275: warning: incompatible implicit declaration of built-in function ‘fscanf’
src/lua/liolib.c:275: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c: At top level:
src/lua/liolib.c:283: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘test_eof’:
src/lua/liolib.c:284: warning: implicit declaration of function ‘getc’
src/lua/liolib.c:284: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:285: warning: implicit declaration of function ‘ungetc’
src/lua/liolib.c:287: error: ‘EOF’ undeclared (first use in this function)
src/lua/liolib.c: At top level:
src/lua/liolib.c:291: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘read_line’:
src/lua/liolib.c:297: warning: implicit declaration of function ‘fgets’
src/lua/liolib.c:297: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:297: warning: comparison between pointer and integer
src/lua/liolib.c:301: warning: implicit declaration of function ‘strlen’
src/lua/liolib.c:301: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/liolib.c: At top level:
src/lua/liolib.c:313: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘read_chars’:
src/lua/liolib.c:322: warning: implicit declaration of function ‘fread’
src/lua/liolib.c:322: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c: At top level:
src/lua/liolib.c:331: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘g_read’:
src/lua/liolib.c:335: warning: implicit declaration of function ‘clearerr’
src/lua/liolib.c:335: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:337: error: too many arguments to function ‘read_line’
src/lua/liolib.c:346: error: too many arguments to function ‘test_eof’
src/lua/liolib.c:346: error: too many arguments to function ‘read_chars’
src/lua/liolib.c:353: error: too many arguments to function ‘read_number’
src/lua/liolib.c:356: error: too many arguments to function ‘read_line’
src/lua/liolib.c:359: error: too many arguments to function ‘read_chars’
src/lua/liolib.c:368: warning: implicit declaration of function ‘ferror’
src/lua/liolib.c: In function ‘io_read’:
src/lua/liolib.c:379: warning: implicit declaration of function ‘getiofile’
src/lua/liolib.c:379: error: too many arguments to function ‘g_read’
src/lua/liolib.c: In function ‘f_read’:
src/lua/liolib.c:384: error: too many arguments to function ‘g_read’
src/lua/liolib.c: In function ‘io_readline’:
src/lua/liolib.c:389: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:389: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:389: error: expected expression before ‘)’ token
src/lua/liolib.c:390: warning: ISO C90 forbids mixed declarations and code
src/lua/liolib.c:393: error: too many arguments to function ‘read_line’
src/lua/liolib.c:395: error: ‘errno’ undeclared (first use in this function)
src/lua/liolib.c: At top level:
src/lua/liolib.c:410: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘g_write’:
src/lua/liolib.c:417: warning: implicit declaration of function ‘fprintf’
src/lua/liolib.c:417: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/lua/liolib.c:417: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:422: warning: implicit declaration of function ‘fwrite’
src/lua/liolib.c:422: warning: incompatible implicit declaration of built-in function ‘fwrite’
src/lua/liolib.c: In function ‘io_write’:
src/lua/liolib.c:430: error: too many arguments to function ‘g_write’
src/lua/liolib.c: In function ‘f_write’:
src/lua/liolib.c:435: error: too many arguments to function ‘g_write’
src/lua/liolib.c: In function ‘f_seek’:
src/lua/liolib.c:440: error: ‘SEEK_SET’ undeclared (first use in this function)
src/lua/liolib.c:440: error: ‘SEEK_CUR’ undeclared (first use in this function)
src/lua/liolib.c:440: error: ‘SEEK_END’ undeclared (first use in this function)
src/lua/liolib.c:442: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:442: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:442: error: invalid operands to binary *
src/lua/liolib.c:442: warning: statement with no effect
src/lua/liolib.c:443: warning: ISO C90 forbids mixed declarations and code
src/lua/liolib.c:445: warning: implicit declaration of function ‘fseek’
src/lua/liolib.c:449: warning: implicit declaration of function ‘ftell’
src/lua/liolib.c: In function ‘f_setvbuf’:
src/lua/liolib.c:456: error: ‘_IONBF’ undeclared (first use in this function)
src/lua/liolib.c:456: error: initializer element is not constant
src/lua/liolib.c:456: error: (near initialization for ‘mode[0]’)
src/lua/liolib.c:456: error: ‘_IOFBF’ undeclared (first use in this function)
src/lua/liolib.c:456: error: initializer element is not constant
src/lua/liolib.c:456: error: (near initialization for ‘mode[1]’)
src/lua/liolib.c:456: error: ‘_IOLBF’ undeclared (first use in this function)
src/lua/liolib.c:456: error: initializer element is not constant
src/lua/liolib.c:456: error: (near initialization for ‘mode[2]’)
src/lua/liolib.c:458: error: ‘FILE’ undeclared (first use in this function)
src/lua/liolib.c:458: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:458: error: invalid operands to binary *
src/lua/liolib.c:458: warning: statement with no effect
src/lua/liolib.c:459: warning: ISO C90 forbids mixed declarations and code
src/lua/liolib.c:460: warning: passing argument 3 of ‘luaL_optinteger’ makes integer from pointer without a cast
src/lua/liolib.c:461: warning: implicit declaration of function ‘setvbuf’
src/lua/liolib.c: In function ‘io_flush’:
src/lua/liolib.c:468: warning: implicit declaration of function ‘fflush’
src/lua/liolib.c: At top level:
src/lua/liolib.c:515: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/lua/liolib.c: In function ‘createstdfile’:
src/lua/liolib.c:516: error: invalid type argument of ‘unary *’
src/lua/liolib.c:516: error: ‘f’ undeclared (first use in this function)
src/lua/liolib.c:516: warning: statement with no effect
src/lua/liolib.c: In function ‘luaopen_io’:
src/lua/liolib.c:543: error: ‘stdin’ undeclared (first use in this function)
src/lua/liolib.c:543: warning: passing argument 2 of ‘createstdfile’ makes integer from pointer without a cast
src/lua/liolib.c:543: warning: passing argument 3 of ‘createstdfile’ makes pointer from integer without a cast
src/lua/liolib.c:543: error: too many arguments to function ‘createstdfile’
src/lua/liolib.c:544: error: ‘stdout’ undeclared (first use in this function)
src/lua/liolib.c:544: warning: passing argument 2 of ‘createstdfile’ makes integer from pointer without a cast
src/lua/liolib.c:544: warning: passing argument 3 of ‘createstdfile’ makes pointer from integer without a cast
src/lua/liolib.c:544: error: too many arguments to function ‘createstdfile’
src/lua/liolib.c:545: error: ‘stderr’ undeclared (first use in this function)
src/lua/liolib.c:545: warning: passing argument 2 of ‘createstdfile’ makes integer from pointer without a cast
src/lua/liolib.c:545: error: too many arguments to function ‘createstdfile’
src/lua/llex.c:8:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/llex.c:9:20: error: locale.h: Arquivo ou diretório não encontrado
src/lua/llex.c:10:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/llex.c:15:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/llex.c:15:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/llex.c: In function ‘luaX_init’:
src/lua/llex.c:67: warning: implicit declaration of function ‘strlen’
src/lua/llex.c:67: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/llex.c: In function ‘luaX_token2str’:
src/lua/llex.c:81: warning: implicit declaration of function ‘iscntrl’
src/lua/llex.c: In function ‘check_next’:
src/lua/llex.c:162: warning: implicit declaration of function ‘strchr’
src/lua/llex.c:162: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/llex.c: In function ‘trydecpoint’:
src/lua/llex.c:179: warning: implicit declaration of function ‘localeconv’
src/lua/llex.c:179: warning: initialization makes pointer from integer without a cast
src/lua/llex.c:181: error: dereferencing pointer to incomplete type
src/lua/llex.c: In function ‘read_numeral’:
src/lua/llex.c:196: warning: implicit declaration of function ‘isdigit’
src/lua/llex.c:199: warning: implicit declaration of function ‘isalnum’
src/lua/llex.c: In function ‘llex’:
src/lua/llex.c:411: warning: implicit declaration of function ‘isspace’
src/lua/llex.c:420: warning: implicit declaration of function ‘isalpha’
src/lua/lmathlib.c:8:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lmathlib.c:9:18: error: math.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lmathlib.c:14:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lmathlib.c:16:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/lua/lmathlib.c:16:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/lmathlib.c: In function ‘math_abs’:
src/lua/lmathlib.c:27: warning: implicit declaration of function ‘fabs’
src/lua/lmathlib.c:27: warning: incompatible implicit declaration of built-in function ‘fabs’
src/lua/lmathlib.c: In function ‘math_sin’:
src/lua/lmathlib.c:32: warning: implicit declaration of function ‘sin’
src/lua/lmathlib.c:32: warning: incompatible implicit declaration of built-in function ‘sin’
src/lua/lmathlib.c: In function ‘math_sinh’:
src/lua/lmathlib.c:37: warning: implicit declaration of function ‘sinh’
src/lua/lmathlib.c:37: warning: incompatible implicit declaration of built-in function ‘sinh’
src/lua/lmathlib.c: In function ‘math_cos’:
src/lua/lmathlib.c:42: warning: implicit declaration of function ‘cos’
src/lua/lmathlib.c:42: warning: incompatible implicit declaration of built-in function ‘cos’
src/lua/lmathlib.c: In function ‘math_cosh’:
src/lua/lmathlib.c:47: warning: implicit declaration of function ‘cosh’
src/lua/lmathlib.c:47: warning: incompatible implicit declaration of built-in function ‘cosh’
src/lua/lmathlib.c: In function ‘math_tan’:
src/lua/lmathlib.c:52: warning: implicit declaration of function ‘tan’
src/lua/lmathlib.c:52: warning: incompatible implicit declaration of built-in function ‘tan’
src/lua/lmathlib.c: In function ‘math_tanh’:
src/lua/lmathlib.c:57: warning: implicit declaration of function ‘tanh’
src/lua/lmathlib.c:57: warning: incompatible implicit declaration of built-in function ‘tanh’
src/lua/lmathlib.c: In function ‘math_asin’:
src/lua/lmathlib.c:62: warning: implicit declaration of function ‘asin’
src/lua/lmathlib.c:62: warning: incompatible implicit declaration of built-in function ‘asin’
src/lua/lmathlib.c: In function ‘math_acos’:
src/lua/lmathlib.c:67: warning: implicit declaration of function ‘acos’
src/lua/lmathlib.c:67: warning: incompatible implicit declaration of built-in function ‘acos’
src/lua/lmathlib.c: In function ‘math_atan’:
src/lua/lmathlib.c:72: warning: implicit declaration of function ‘atan’
src/lua/lmathlib.c:72: warning: incompatible implicit declaration of built-in function ‘atan’
src/lua/lmathlib.c: In function ‘math_atan2’:
src/lua/lmathlib.c:77: warning: implicit declaration of function ‘atan2’
src/lua/lmathlib.c:77: warning: incompatible implicit declaration of built-in function ‘atan2’
src/lua/lmathlib.c: In function ‘math_ceil’:
src/lua/lmathlib.c:82: warning: implicit declaration of function ‘ceil’
src/lua/lmathlib.c:82: warning: incompatible implicit declaration of built-in function ‘ceil’
src/lua/lmathlib.c: In function ‘math_floor’:
src/lua/lmathlib.c:87: warning: implicit declaration of function ‘floor’
src/lua/lmathlib.c:87: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lmathlib.c: In function ‘math_fmod’:
src/lua/lmathlib.c:92: warning: implicit declaration of function ‘fmod’
src/lua/lmathlib.c:92: warning: incompatible implicit declaration of built-in function ‘fmod’
src/lua/lmathlib.c: In function ‘math_modf’:
src/lua/lmathlib.c:98: warning: implicit declaration of function ‘modf’
src/lua/lmathlib.c:98: warning: incompatible implicit declaration of built-in function ‘modf’
src/lua/lmathlib.c: In function ‘math_sqrt’:
src/lua/lmathlib.c:105: warning: implicit declaration of function ‘sqrt’
src/lua/lmathlib.c:105: warning: incompatible implicit declaration of built-in function ‘sqrt’
src/lua/lmathlib.c: In function ‘math_pow’:
src/lua/lmathlib.c:110: warning: implicit declaration of function ‘pow’
src/lua/lmathlib.c:110: warning: incompatible implicit declaration of built-in function ‘pow’
src/lua/lmathlib.c: In function ‘math_log’:
src/lua/lmathlib.c:115: warning: implicit declaration of function ‘log’
src/lua/lmathlib.c:115: warning: incompatible implicit declaration of built-in function ‘log’
src/lua/lmathlib.c: In function ‘math_log10’:
src/lua/lmathlib.c:120: warning: implicit declaration of function ‘log10’
src/lua/lmathlib.c:120: warning: incompatible implicit declaration of built-in function ‘log10’
src/lua/lmathlib.c: In function ‘math_exp’:
src/lua/lmathlib.c:125: warning: implicit declaration of function ‘exp’
src/lua/lmathlib.c:125: warning: incompatible implicit declaration of built-in function ‘exp’
src/lua/lmathlib.c: In function ‘math_frexp’:
src/lua/lmathlib.c:141: warning: implicit declaration of function ‘frexp’
src/lua/lmathlib.c:141: warning: incompatible implicit declaration of built-in function ‘frexp’
src/lua/lmathlib.c: In function ‘math_ldexp’:
src/lua/lmathlib.c:147: warning: implicit declaration of function ‘ldexp’
src/lua/lmathlib.c:147: warning: incompatible implicit declaration of built-in function ‘ldexp’
src/lua/lmathlib.c: In function ‘math_random’:
src/lua/lmathlib.c:184: warning: implicit declaration of function ‘rand’
src/lua/lmathlib.c:184: error: ‘RAND_MAX’ undeclared (first use in this function)
src/lua/lmathlib.c:184: error: (Each undeclared identifier is reported only once
src/lua/lmathlib.c:184: error: for each function it appears in.)
src/lua/lmathlib.c:193: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lmathlib.c:200: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lmathlib.c: In function ‘math_randomseed’:
src/lua/lmathlib.c:210: warning: implicit declaration of function ‘srand’
src/lua/lmathlib.c: In function ‘luaopen_math’:
src/lua/lmathlib.c:255: error: ‘HUGE_VAL’ undeclared (first use in this function)
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lmem.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lmem.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/loadlib.c:12:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/loadlib.c:13:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/loadlib.c:19:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/loadlib.c:21:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/lua/loadlib.c:21:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/loadlib.c: In function ‘readable’:
src/lua/loadlib.c:333: error: ‘FILE’ undeclared (first use in this function)
src/lua/loadlib.c:333: error: (Each undeclared identifier is reported only once
src/lua/loadlib.c:333: error: for each function it appears in.)
src/lua/loadlib.c:333: error: ‘f’ undeclared (first use in this function)
src/lua/loadlib.c:333: warning: implicit declaration of function ‘fopen’
src/lua/loadlib.c:335: warning: implicit declaration of function ‘fclose’
src/lua/loadlib.c: In function ‘pushnexttemplate’:
src/lua/loadlib.c:344: warning: implicit declaration of function ‘strchr’
src/lua/loadlib.c:344: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/loadlib.c:345: warning: implicit declaration of function ‘strlen’
src/lua/loadlib.c:345: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/loadlib.c: In function ‘mkfuncname’:
src/lua/loadlib.c:393: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/loadlib.c: In function ‘loader_Croot’:
src/lua/loadlib.c:418: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/loadlib.c: In function ‘modinit’:
src/lua/loadlib.c:535: warning: implicit declaration of function ‘strrchr’
src/lua/loadlib.c:535: warning: incompatible implicit declaration of built-in function ‘strrchr’
src/lua/loadlib.c: In function ‘setpath’:
src/lua/loadlib.c:594: warning: implicit declaration of function ‘getenv’
src/lua/loadlib.c:594: warning: initialization makes pointer from integer without a cast
src/lua/lobject.c:7:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/lobject.c:9:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/lobject.c:10:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lobject.c:11:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lobject.c:16:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lobject.c:16:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lobject.c: In function ‘luaO_str2d’:
src/lua/lobject.c:92: warning: implicit declaration of function ‘strtod’
src/lua/lobject.c:95: warning: implicit declaration of function ‘strtoul’
src/lua/lobject.c:97: warning: implicit declaration of function ‘isspace’
src/lua/lobject.c: In function ‘pushstr’:
src/lua/lobject.c:105: warning: implicit declaration of function ‘strlen’
src/lua/lobject.c:105: warning: incompatible implicit declaration of built-in function ‘strlen’

6

Re: Compiling on Debian Etch

Looks like your toolchain is completly broken. You are missing standard C headers and other stuff. Probably some missing packages (but I don't know which since I don't run linux).

Languages shapes the way we think, or don't.

7 (edited by FireArrow 2009-01-14 19:09:00)

Re: Compiling on Debian Etch

src/lua/lobject.c: In function ‘luaO_pushvfstring’:
src/lua/lobject.c:115: warning: implicit declaration of function ‘strchr’
src/lua/lobject.c:115: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/lobject.c:145: warning: implicit declaration of function ‘sprintf’
src/lua/lobject.c:145: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lobject.c: In function ‘luaO_chunkid’:
src/lua/lobject.c:184: warning: implicit declaration of function ‘strncpy’
src/lua/lobject.c:184: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/lua/lobject.c:192: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lobject.c:193: warning: implicit declaration of function ‘strcpy’
src/lua/lobject.c:193: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/lua/lobject.c:196: warning: implicit declaration of function ‘strcat’
src/lua/lobject.c:196: warning: incompatible implicit declaration of built-in function ‘strcat’
src/lua/lobject.c:198: warning: incompatible implicit declaration of built-in function ‘strcat’
src/lua/lobject.c:201: warning: implicit declaration of function ‘strcspn’
src/lua/lobject.c:201: warning: incompatible implicit declaration of built-in function ‘strcspn’
src/lua/lobject.c:204: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/lua/lobject.c:206: warning: implicit declaration of function ‘strncat’
src/lua/lobject.c:206: warning: incompatible implicit declaration of built-in function ‘strncat’
src/lua/lobject.c:207: warning: incompatible implicit declaration of built-in function ‘strcat’
src/lua/lobject.c:210: warning: incompatible implicit declaration of built-in function ‘strcat’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/llimits.h:11,
                 from src/lua/lopcodes.h:10,
                 from src/lua/lopcodes.c:11:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/llimits.h:15,
                 from src/lua/lopcodes.h:10,
                 from src/lua/lopcodes.c:11:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/loslib.c:8:19: error: errno.h: Arquivo ou diretório não encontrado
src/lua/loslib.c:9:20: error: locale.h: Arquivo ou diretório não encontrado
src/lua/loslib.c:10:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/loslib.c:11:20: error: string.h: Arquivo ou diretório não encontrado
src/lua/loslib.c:12:18: error: time.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/loslib.c:17:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/loslib.c:19:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/lua/loslib.c:19:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/loslib.c: In function ‘os_pushresult’:
src/lua/loslib.c:24: error: ‘errno’ undeclared (first use in this function)
src/lua/loslib.c:24: error: (Each undeclared identifier is reported only once
src/lua/loslib.c:24: error: for each function it appears in.)
src/lua/loslib.c:31: warning: implicit declaration of function ‘strerror’
src/lua/loslib.c: In function ‘os_execute’:
src/lua/loslib.c:39: warning: implicit declaration of function ‘system’
src/lua/loslib.c: In function ‘os_remove’:
src/lua/loslib.c:46: warning: implicit declaration of function ‘remove’
src/lua/loslib.c: In function ‘os_rename’:
src/lua/loslib.c:53: warning: implicit declaration of function ‘rename’
src/lua/loslib.c: In function ‘os_tmpname’:
src/lua/loslib.c:58: error: ‘L_tmpnam’ undeclared (first use in this function)
src/lua/loslib.c:60: warning: implicit declaration of function ‘tmpnam’
src/lua/loslib.c:60: warning: comparison between pointer and integer
src/lua/loslib.c:58: warning: unused variable ‘buff’
src/lua/loslib.c: In function ‘os_getenv’:
src/lua/loslib.c:69: warning: implicit declaration of function ‘getenv’
src/lua/loslib.c:69: warning: passing argument 2 of ‘lua_pushstring’ makes pointer from integer without a cast
src/lua/loslib.c: In function ‘os_clock’:
src/lua/loslib.c:75: warning: implicit declaration of function ‘clock’
src/lua/loslib.c:75: error: ‘CLOCKS_PER_SEC’ undeclared (first use in this function)
src/lua/loslib.c: In function ‘os_date’:
src/lua/loslib.c:126: error: ‘time_t’ undeclared (first use in this function)
src/lua/loslib.c:126: error: expected ‘;’ before ‘t’
src/lua/loslib.c:127: warning: ISO C90 forbids mixed declarations and code
src/lua/loslib.c:129: warning: implicit declaration of function ‘gmtime’
src/lua/loslib.c:129: error: ‘t’ undeclared (first use in this function)
src/lua/loslib.c:129: warning: assignment makes pointer from integer without a cast
src/lua/loslib.c:133: warning: implicit declaration of function ‘localtime’
src/lua/loslib.c:133: warning: assignment makes pointer from integer without a cast
src/lua/loslib.c:136: warning: implicit declaration of function ‘strcmp’
src/lua/loslib.c:138: error: dereferencing pointer to incomplete type
src/lua/loslib.c:139: error: dereferencing pointer to incomplete type
src/lua/loslib.c:140: error: dereferencing pointer to incomplete type
src/lua/loslib.c:141: error: dereferencing pointer to incomplete type
src/lua/loslib.c:142: error: dereferencing pointer to incomplete type
src/lua/loslib.c:143: error: dereferencing pointer to incomplete type
src/lua/loslib.c:144: error: dereferencing pointer to incomplete type
src/lua/loslib.c:145: error: dereferencing pointer to incomplete type
src/lua/loslib.c:146: error: dereferencing pointer to incomplete type
src/lua/loslib.c:155: warning: left-hand operand of comma expression has no effect
src/lua/loslib.c:155: warning: value computed is not used
src/lua/loslib.c:160: warning: implicit declaration of function ‘strftime’
src/lua/loslib.c:160: warning: incompatible implicit declaration of built-in function ‘strftime’
src/lua/loslib.c: In function ‘os_time’:
src/lua/loslib.c:171: error: ‘time_t’ undeclared (first use in this function)
src/lua/loslib.c:171: error: expected ‘;’ before ‘t’
src/lua/loslib.c:173: error: ‘t’ undeclared (first use in this function)
src/lua/loslib.c:173: warning: implicit declaration of function ‘time’
src/lua/loslib.c:175: error: storage size of ‘ts’ isn’t known
src/lua/loslib.c:185: warning: implicit declaration of function ‘mktime’
src/lua/loslib.c:175: warning: unused variable ‘ts’
src/lua/loslib.c: In function ‘os_difftime’:
src/lua/loslib.c:196: warning: implicit declaration of function ‘difftime’
src/lua/loslib.c:196: error: ‘time_t’ undeclared (first use in this function)
src/lua/loslib.c: In function ‘os_setlocale’:
src/lua/loslib.c:205: error: ‘LC_ALL’ undeclared (first use in this function)
src/lua/loslib.c:205: error: ‘LC_COLLATE’ undeclared (first use in this function)
src/lua/loslib.c:205: error: ‘LC_CTYPE’ undeclared (first use in this function)
src/lua/loslib.c:205: error: ‘LC_MONETARY’ undeclared (first use in this function)
src/lua/loslib.c:206: error: ‘LC_NUMERIC’ undeclared (first use in this function)
src/lua/loslib.c:206: error: ‘LC_TIME’ undeclared (first use in this function)
src/lua/loslib.c:211: warning: implicit declaration of function ‘setlocale’
src/lua/loslib.c:211: warning: passing argument 2 of ‘lua_pushstring’ makes pointer from integer without a cast
src/lua/loslib.c: In function ‘os_exit’:
src/lua/loslib.c:217: warning: implicit declaration of function ‘exit’
src/lua/loslib.c:217: warning: incompatible implicit declaration of built-in function ‘exit’
src/lua/loslib.c:217: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
src/lua/loslib.c:217: warning: passing argument 3 of ‘luaL_optinteger’ makes integer from pointer without a cast
src/lua/lparser.c:8:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lparser.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lparser.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lparser.c: In function ‘luaY_parser’:
src/lua/lparser.c:387: warning: implicit declaration of function ‘strlen’
src/lua/lparser.c:387: warning: incompatible implicit declaration of built-in function ‘strlen’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lstate.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lstate.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lstring.c:8:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lstring.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lstring.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lstring.c: In function ‘newlstr’:
src/lua/lstring.c:62: warning: implicit declaration of function ‘memcpy’
src/lua/lstring.c:62: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/lstring.c: In function ‘luaS_newlstr’:
src/lua/lstring.c:86: warning: implicit declaration of function ‘memcmp’
src/lua/lstrlib.c:8:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/lstrlib.c:10:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/lstrlib.c:11:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lstrlib.c:12:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lstrlib.c:17:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lstrlib.c:19:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/lstrlib.c: In function ‘str_reverse’:
src/lua/lstrlib.c:62: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:62: warning: value computed is not used
src/lua/lstrlib.c: In function ‘str_lower’:
src/lua/lstrlib.c:75: warning: implicit declaration of function ‘tolower’
src/lua/lstrlib.c:75: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:75: warning: value computed is not used
src/lua/lstrlib.c: In function ‘str_upper’:
src/lua/lstrlib.c:88: warning: implicit declaration of function ‘toupper’
src/lua/lstrlib.c:88: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:88: warning: value computed is not used
src/lua/lstrlib.c: In function ‘str_char’:
src/lua/lstrlib.c:133: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:133: warning: value computed is not used
src/lua/lstrlib.c: In function ‘match_class’:
src/lua/lstrlib.c:229: warning: implicit declaration of function ‘isalpha’
src/lua/lstrlib.c:230: warning: implicit declaration of function ‘iscntrl’
src/lua/lstrlib.c:231: warning: implicit declaration of function ‘isdigit’
src/lua/lstrlib.c:232: warning: implicit declaration of function ‘islower’
src/lua/lstrlib.c:233: warning: implicit declaration of function ‘ispunct’
src/lua/lstrlib.c:234: warning: implicit declaration of function ‘isspace’
src/lua/lstrlib.c:235: warning: implicit declaration of function ‘isupper’
src/lua/lstrlib.c:236: warning: implicit declaration of function ‘isalnum’
src/lua/lstrlib.c:237: warning: implicit declaration of function ‘isxdigit’
src/lua/lstrlib.c: In function ‘match_capture’:
src/lua/lstrlib.c:359: warning: implicit declaration of function ‘memcmp’
src/lua/lstrlib.c: In function ‘lmemfind’:
src/lua/lstrlib.c:452: warning: implicit declaration of function ‘memchr’
src/lua/lstrlib.c: In function ‘str_find_aux’:
src/lua/lstrlib.c:503: warning: implicit declaration of function ‘strpbrk’
src/lua/lstrlib.c:503: warning: incompatible implicit declaration of built-in function ‘strpbrk’
src/lua/lstrlib.c: In function ‘add_s’:
src/lua/lstrlib.c:596: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:596: warning: value computed is not used
src/lua/lstrlib.c:600: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:600: warning: value computed is not used
src/lua/lstrlib.c: In function ‘str_gsub’:
src/lua/lstrlib.c:672: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:672: warning: value computed is not used
src/lua/lstrlib.c: In function ‘addquoted’:
src/lua/lstrlib.c:699: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:699: warning: value computed is not used
src/lua/lstrlib.c:703: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:703: warning: value computed is not used
src/lua/lstrlib.c:704: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:704: warning: value computed is not used
src/lua/lstrlib.c:716: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:716: warning: value computed is not used
src/lua/lstrlib.c:722: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:722: warning: value computed is not used
src/lua/lstrlib.c: In function ‘scanformat’:
src/lua/lstrlib.c:727: warning: implicit declaration of function ‘strchr’
src/lua/lstrlib.c:727: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/lstrlib.c:740: warning: implicit declaration of function ‘strncpy’
src/lua/lstrlib.c:740: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/lua/lstrlib.c: In function ‘addintlen’:
src/lua/lstrlib.c:748: warning: implicit declaration of function ‘strlen’
src/lua/lstrlib.c:748: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lstrlib.c:750: warning: implicit declaration of function ‘strcpy’
src/lua/lstrlib.c:750: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/lua/lstrlib.c: In function ‘str_format’:
src/lua/lstrlib.c:765: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:765: warning: value computed is not used
src/lua/lstrlib.c:767: warning: left-hand operand of comma expression has no effect
src/lua/lstrlib.c:767: warning: value computed is not used
src/lua/lstrlib.c:775: warning: implicit declaration of function ‘sprintf’
src/lua/lstrlib.c:775: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lstrlib.c:780: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lstrlib.c:785: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lstrlib.c:790: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lstrlib.c:800: warning: incompatible implicit declaration of built-in function ‘strchr’
src/lua/lstrlib.c:808: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lstrlib.c:817: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/ltable.c:21:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/ltable.c:22:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ltable.c:27:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
src/lua/ltable.c: In function ‘hashnum’:
src/lua/ltable.c:89: warning: implicit declaration of function ‘memcpy’
src/lua/ltable.c:89: warning: incompatible implicit declaration of built-in function ‘memcpy’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ltablib.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/ltablib.c:15:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/lua/ltablib.c:15:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/lua/ltm.c:8:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/ltm.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/ltm.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/ltm.c: In function ‘luaT_init’:
src/lua/ltm.c:40: warning: implicit declaration of function ‘strlen’
src/lua/ltm.c:40: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lundump.c:7:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lundump.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lundump.c:12:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lundump.c: In function ‘LoadHeader’:
src/lua/lundump.c:189: warning: implicit declaration of function ‘memcmp’
src/lua/lundump.c: In function ‘luaU_header’:
src/lua/lundump.c:217: warning: implicit declaration of function ‘memcpy’
src/lua/lundump.c:217: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/lvm.c:8:19: error: stdio.h: Arquivo ou diretório não encontrado
src/lua/lvm.c:9:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/lua/lvm.c:10:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lvm.c:15:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lvm.c:15:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lvm.c: In function ‘luaV_tostring’:
src/lua/lvm.c:53: warning: implicit declaration of function ‘sprintf’
src/lua/lvm.c:53: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/lua/lvm.c:54: warning: implicit declaration of function ‘strlen’
src/lua/lvm.c:54: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lvm.c: In function ‘l_strcmp’:
src/lua/lvm.c:205: warning: implicit declaration of function ‘strcoll’
src/lua/lvm.c:208: warning: incompatible implicit declaration of built-in function ‘strlen’
src/lua/lvm.c: In function ‘luaV_concat’:
src/lua/lvm.c:302: warning: implicit declaration of function ‘memcpy’
src/lua/lvm.c:302: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/lvm.c: In function ‘Arith’:
src/lua/lvm.c:325: warning: implicit declaration of function ‘floor’
src/lua/lvm.c:325: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lvm.c:326: warning: implicit declaration of function ‘pow’
src/lua/lvm.c:326: warning: incompatible implicit declaration of built-in function ‘pow’
src/lua/lvm.c: In function ‘luaV_execute’:
src/lua/lvm.c:487: warning: incompatible implicit declaration of built-in function ‘floor’
src/lua/lvm.c:491: warning: incompatible implicit declaration of built-in function ‘pow’
src/lua/lzio.c:8:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lzio.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lzio.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/lzio.c: In function ‘luaZ_read’:
src/lua/lzio.c:64: warning: implicit declaration of function ‘memcpy’
src/lua/lzio.c:64: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/lua/print.c:7:19: error: ctype.h: Arquivo ou diretório não encontrado
src/lua/print.c:8:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/lua/lstate.h:10,
                 from src/lua/ldebug.h:11,
                 from src/lua/print.c:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/lua/lua.h:16,
                 from src/lua/lstate.h:10,
                 from src/lua/ldebug.h:11,
                 from src/lua/print.c:13:
src/lua/luaconf.h:532:18: error: math.h: Arquivo ou diretório não encontrado
src/lua/print.c: In function ‘PrintString’:
src/lua/print.c:27: warning: implicit declaration of function ‘putchar’
src/lua/print.c:33: warning: implicit declaration of function ‘printf’
src/lua/print.c:33: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c:42: warning: implicit declaration of function ‘isprint’
src/lua/print.c: In function ‘PrintConstant’:
src/lua/print.c:57: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c: In function ‘PrintCode’:
src/lua/print.c:88: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c: In function ‘PrintHeader’:
src/lua/print.c:170: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c: In function ‘PrintConstants’:
src/lua/print.c:184: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c: In function ‘PrintLocals’:
src/lua/print.c:196: warning: incompatible implicit declaration of built-in function ‘printf’
src/lua/print.c: In function ‘PrintUpvalues’:
src/lua/print.c:207: warning: incompatible implicit declaration of built-in function ‘printf’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/context.c:1:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/context.c:2:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/context.c:2:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
In file included from src/context.c:5:
src/context.h:1:18: error: time.h: Arquivo ou diretório não encontrado
In file included from src/context.c:5:
src/context.h:23: error: expected specifier-qualifier-list before ‘time_t’
src/dep_cpp.c:1:19: error: stdio.h: Arquivo ou diretório não encontrado
src/dep_cpp.c:2:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/dep_cpp.c:3:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/dep_cpp.c:5:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/dep_cpp.c:8:
src/node.h:4:18: error: time.h: Arquivo ou diretório não encontrado
In file included from src/dep_cpp.c:8:
src/node.h:47: error: expected specifier-qualifier-list before ‘time_t’
In file included from src/dep_cpp.c:9:
src/context.h:23: error: expected specifier-qualifier-list before ‘time_t’
In file included from src/dep_cpp.c:11:
src/support.h:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timestamp’
src/support.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_timestamp’
src/dep_cpp.c: In function ‘dependency_cpp_run’:
src/dep_cpp.c:115: error: ‘FILE’ undeclared (first use in this function)
src/dep_cpp.c:115: error: (Each undeclared identifier is reported only once
src/dep_cpp.c:115: error: for each function it appears in.)
src/dep_cpp.c:115: error: ‘file’ undeclared (first use in this function)
src/dep_cpp.c:118: warning: implicit declaration of function ‘printf’
src/dep_cpp.c:118: warning: incompatible implicit declaration of built-in function ‘printf’
src/dep_cpp.c:120: warning: implicit declaration of function ‘fopen’
src/dep_cpp.c:125: warning: implicit declaration of function ‘fseek’
src/dep_cpp.c:125: error: ‘SEEK_END’ undeclared (first use in this function)
src/dep_cpp.c:126: warning: implicit declaration of function ‘ftell’
src/dep_cpp.c:127: error: ‘SEEK_SET’ undeclared (first use in this function)
src/dep_cpp.c:129: warning: implicit declaration of function ‘malloc’
src/dep_cpp.c:129: warning: incompatible implicit declaration of built-in function ‘malloc’
src/dep_cpp.c:134: warning: implicit declaration of function ‘fclose’
src/dep_cpp.c:139: warning: implicit declaration of function ‘fread’
src/dep_cpp.c:145: warning: implicit declaration of function ‘free’
src/dep_cpp.c: In function ‘dependency_cpp_callback’:
src/dep_cpp.c:219: warning: implicit declaration of function ‘strlen’
src/dep_cpp.c:219: warning: incompatible implicit declaration of built-in function ‘strlen’
src/dep_cpp.c:228: warning: implicit declaration of function ‘memcpy’
src/dep_cpp.c:228: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/dep_cpp.c:249: warning: implicit declaration of function ‘strcpy’
src/dep_cpp.c:249: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/dep_cpp.c:256: warning: incompatible implicit declaration of built-in function ‘strlen’
src/dep_cpp.c:262: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/dep_cpp.c:266: warning: incompatible implicit declaration of built-in function ‘printf’
src/dep_cpp.c:294: warning: incompatible implicit declaration of built-in function ‘printf’
src/dep_cpp.c:300: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/dep_cpp.c:313: error: ‘struct NODE’ has no member named ‘depchecked’
src/dep_cpp.c:317: error: ‘struct NODE’ has no member named ‘depchecked’
src/dep_cpp.c: In function ‘lf_dependency_cpp’:
src/dep_cpp.c:378: warning: incompatible implicit declaration of built-in function ‘strlen’
src/dep_cpp.c:384: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/dep_cpp.c:415: error: ‘struct NODE’ has no member named ‘depchecked’
src/main.c:4:19: error: stdio.h: Arquivo ou diretório não encontrado
src/main.c:5:20: error: string.h: Arquivo ou diretório não encontrado
src/main.c:6:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/main.c:7:18: error: time.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/main.c:10:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/main.c:12:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/main.c:15:23: error: sys/types.h: Arquivo ou diretório não encontrado
src/main.c:16:22: error: sys/stat.h: Arquivo ou diretório não encontrado
In file included from src/main.c:20:
src/node.h:47: error: expected specifier-qualifier-list before ‘time_t’
In file included from src/main.c:22:
src/support.h:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timestamp’
src/support.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_timestamp’
In file included from src/main.c:24:
src/context.h:23: error: expected specifier-qualifier-list before ‘time_t’
src/main.c:34:20: error: unistd.h: Arquivo ou diretório não encontrado
src/main.c: In function ‘debug_print_lua_value’:
src/main.c:184: warning: implicit declaration of function ‘printf’
src/main.c:184: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘lf_errorfunc’:
src/main.c:212: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:225: warning: implicit declaration of function ‘strcmp’
src/main.c: In function ‘lf_add_job’:
src/main.c:282: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:288: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘lf_add_dependency’:
src/main.c:322: warning: implicit declaration of function ‘sprintf’
src/main.c:322: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/main.c: In function ‘lf_update_globalstamp’:
src/main.c:430: error: ‘time_t’ undeclared (first use in this function)
src/main.c:430: error: (Each undeclared identifier is reported only once
src/main.c:430: error: for each function it appears in.)
src/main.c:430: error: expected ‘;’ before ‘file_stamp’
src/main.c:439: error: ‘file_stamp’ undeclared (first use in this function)
src/main.c:439: warning: implicit declaration of function ‘file_timestamp’
src/main.c:441: error: ‘struct CONTEXT’ has no member named ‘globaltimestamp’
src/main.c:442: error: ‘struct CONTEXT’ has no member named ‘globaltimestamp’
src/main.c: In function ‘progressbar_clear’:
src/main.c:450: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘progressbar_draw’:
src/main.c:457: error: ‘struct CONTEXT’ has no member named ‘current_cmd_num’
src/main.c:457: error: ‘struct CONTEXT’ has no member named ‘num_commands’
src/main.c:458: error: ‘struct CONTEXT’ has no member named ‘current_cmd_num’
src/main.c:458: error: ‘struct CONTEXT’ has no member named ‘num_commands’
src/main.c:462: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:472: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘run_node’:
src/main.c:488: error: ‘struct CONTEXT’ has no member named ‘current_cmd_num’
src/main.c:497: error: ‘struct CONTEXT’ has no member named ‘num_commands’
src/main.c:502: warning: incompatible implicit declaration of built-in function ‘sprintf’
src/main.c:513: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:515: error: ‘struct CONTEXT’ has no member named ‘current_cmd_num’
src/main.c:515: error: ‘struct CONTEXT’ has no member named ‘num_commands’
src/main.c:526: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:531: warning: implicit declaration of function ‘fflush’
src/main.c:531: error: ‘stdout’ undeclared (first use in this function)
src/main.c:535: warning: implicit declaration of function ‘system’
src/main.c:541: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘threads_run_callback’:
src/main.c:567: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:567: error: ‘struct NODE’ has no member named ‘workstatus’
src/main.c:575: error: ‘struct NODE’ has no member named ‘workstatus’
src/main.c:580: error: ‘struct NODE’ has no member named ‘workstatus’
src/main.c:587: error: ‘struct NODE’ has no member named ‘workstatus’
src/main.c: In function ‘threads_run’:
src/main.c:603: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:610: error: ‘struct NODE’ has no member named ‘workstatus’
src/main.c: In function ‘clean_callback’:
src/main.c:681: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:683: warning: implicit declaration of function ‘remove’
src/main.c:684: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘count_jobs_callback’:
src/main.c:698: error: ‘struct NODE’ has no member named ‘counted’
src/main.c:700: error: ‘struct NODE’ has no member named ‘counted’
src/main.c:701: error: ‘struct CONTEXT’ has no member named ‘num_commands’
src/main.c: In function ‘dirty_mark_callback’:
src/main.c:717: error: ‘time_t’ undeclared (first use in this function)
src/main.c:717: error: expected ‘;’ before ‘time’
src/main.c:720: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:723: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:723: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:723: error: ‘struct CONTEXT’ has no member named ‘globaltimestamp’
src/main.c:727: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:732: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:739: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:739: error: ‘time’ undeclared (first use in this function)
src/main.c:742: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:746: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:749: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:749: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:755: error: ‘struct NODE’ has no member named ‘dirty’
src/main.c:762: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c:762: error: ‘struct NODE’ has no member named ‘timestamp’
src/main.c: In function ‘validate_graph_callback’:
src/main.c:790: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘do_target_pass_build’:
src/main.c:830: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:836: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘do_targets_all’:
src/main.c:848: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘do_targets_specified’:
src/main.c:877: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘do_targets_default’:
src/main.c:902: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘internal_base_reader’:
src/main.c:919: warning: implicit declaration of function ‘strlen’
src/main.c:919: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘register_lua_globals’:
src/main.c:990: warning: implicit declaration of function ‘getcwd’
src/main.c:1043: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1067: error: ‘internal_files’ undeclared (first use in this function)
src/main.c:1072: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘lf_panicfunc’:
src/main.c:1100: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘bam’:
src/main.c:1114: error: ‘time_t’ undeclared (first use in this function)
src/main.c:1114: error: expected ‘;’ before ‘starttime’
src/main.c:1117: warning: implicit declaration of function ‘memset’
src/main.c:1117: warning: incompatible implicit declaration of built-in function ‘memset’
src/main.c:1130: error: ‘struct CONTEXT’ has no member named ‘globaltimestamp’
src/main.c:1140: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1146: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1161: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1238: error: expected ‘;’ before ‘s’
src/main.c:1239: error: ‘s’ undeclared (first use in this function)
src/main.c: In function ‘print_help’:
src/main.c:1250: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: In function ‘abortsignal’:
src/main.c:1266: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1267: warning: implicit declaration of function ‘exit’
src/main.c:1267: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c: In function ‘parse_parameters’:
src/main.c:1285: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1305: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1311: warning: implicit declaration of function ‘strchr’
src/main.c:1311: warning: incompatible implicit declaration of built-in function ‘strchr’
src/main.c: In function ‘main’:
src/main.c:1344: warning: implicit declaration of function ‘getenv’
src/main.c:1345: warning: assignment makes pointer from integer without a cast
src/main.c:1366: warning: implicit declaration of function ‘atoi’
src/main.c:1369: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1384: error: ‘internal_files’ undeclared (first use in this function)
src/main.c:1386: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:1387: warning: implicit declaration of function ‘puts’
src/main.c:1396: warning: incompatible implicit declaration of built-in function ‘printf’
src/mem.c:1:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/mem.c:2:19: error: stdio.h: Arquivo ou diretório não encontrado
src/mem.c: In function ‘mem_newchunk’:
src/mem.c:28: warning: implicit declaration of function ‘malloc’
src/mem.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’
src/mem.c: In function ‘mem_destroy’:
src/mem.c:79: warning: implicit declaration of function ‘free’
src/mem.c: In function ‘mem_dumpstats’:
src/mem.c:133: warning: implicit declaration of function ‘printf’
src/mem.c:133: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:1:20: error: string.h: Arquivo ou diretório não encontrado
src/node.c:2:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/node.c:3:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/node.c:5:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/node.c:7:
src/node.h:4:18: error: time.h: Arquivo ou diretório não encontrado
In file included from src/node.c:7:
src/node.h:47: error: expected specifier-qualifier-list before ‘time_t’
In file included from src/node.c:9:
src/support.h:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timestamp’
src/support.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_timestamp’
src/node.c: In function ‘node_create_graph’:
src/node.c:70: warning: implicit declaration of function ‘memset’
src/node.c:70: warning: incompatible implicit declaration of built-in function ‘memset’
src/node.c: In function ‘node_create’:
src/node.c:86: warning: implicit declaration of function ‘printf’
src/node.c:86: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:102: error: ‘struct NODE’ has no member named ‘id’
src/node.c:103: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:103: warning: implicit declaration of function ‘file_timestamp’
src/node.c:108: warning: implicit declaration of function ‘strlen’
src/node.c:108: warning: incompatible implicit declaration of built-in function ‘strlen’
src/node.c:110: warning: implicit declaration of function ‘memcpy’
src/node.c:110: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/node.c:144: error: ‘struct NODE’ has no member named ‘dirty’
src/node.c:145: error: ‘struct NODE’ has no member named ‘depchecked’
src/node.c:146: error: ‘struct NODE’ has no member named ‘cached’
src/node.c:147: error: ‘struct NODE’ has no member named ‘parenthastool’
src/node.c:148: error: ‘struct NODE’ has no member named ‘counted’
src/node.c:149: error: ‘struct NODE’ has no member named ‘workstatus’
src/node.c: In function ‘node_add_dependency’:
src/node.c:202: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:216: error: ‘struct NODE’ has no member named ‘parenthastool’
src/node.c: In function ‘bitarray_allocate’:
src/node.c:224: warning: implicit declaration of function ‘malloc’
src/node.c:224: warning: incompatible implicit declaration of built-in function ‘malloc’
src/node.c: In function ‘bitarray_zeroall’:
src/node.c:227: warning: incompatible implicit declaration of built-in function ‘memset’
src/node.c: In function ‘bitarray_free’:
src/node.c:230: warning: implicit declaration of function ‘free’
src/node.c: In function ‘node_walk_r’:
src/node.c:253: error: ‘struct NODE’ has no member named ‘id’
src/node.c:255: error: ‘struct NODE’ has no member named ‘id’
src/node.c:259: error: ‘struct NODE’ has no member named ‘workstatus’
src/node.c:279: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:279: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:291: error: ‘struct NODE’ has no member named ‘id’
src/node.c:298: error: ‘struct NODE’ has no member named ‘dirty’
src/node.c: In function ‘node_debug_dump’:
src/node.c:352: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:352: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:352: error: ‘struct NODE’ has no member named ‘dirty’
src/node.c:354: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:354: error: ‘struct NODE’ has no member named ‘dirty’
src/node.c: In function ‘node_debug_dump_tree_r’:
src/node.c:362: error: ‘struct NODE’ has no member named ‘workstatus’
src/node.c:365: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:365: error: ‘struct NODE’ has no member named ‘timestamp’
src/node.c:365: error: ‘struct NODE’ has no member named ‘dirty’
src/node.c: In function ‘node_debug_dump_dot_r’:
src/node.c:384: error: ‘struct NODE’ has no member named ‘parenthastool’
src/node.c:390: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:390: error: ‘struct NODE’ has no member named ‘id’
src/node.c:390: error: ‘struct NODE’ has no member named ‘id’
src/node.c: In function ‘node_debug_dump_dot’:
src/node.c:398: warning: incompatible implicit declaration of built-in function ‘printf’
src/node.c:418: error: ‘struct NODE’ has no member named ‘parenthastool’
src/node.c:425: warning: implicit declaration of function ‘strcmp’
src/node.c:433: warning: incompatible implicit declaration of built-in function ‘malloc’
src/node.c:433: warning: incompatible implicit declaration of built-in function ‘strlen’
src/node.c:435: warning: implicit declaration of function ‘strcpy’
src/node.c:435: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/node.c:445: error: ‘struct NODE’ has no member named ‘parenthastool’
src/node.c:450: error: ‘struct NODE’ has no member named ‘id’
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/path.c:2:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/path.c:4:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/path.c:4:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/path.c:7:20: error: string.h: Arquivo ou diretório não encontrado
src/path.c:8:19: error: ctype.h: Arquivo ou diretório não encontrado
src/path.c: In function ‘path_directory’:
src/path.c:70: warning: implicit declaration of function ‘printf’
src/path.c:70: warning: incompatible implicit declaration of built-in function ‘printf’
src/path.c: In function ‘path_join’:
src/path.c:256: warning: implicit declaration of function ‘strlen’
src/path.c:256: warning: incompatible implicit declaration of built-in function ‘strlen’
src/path.c: In function ‘lf_path_join’:
src/path.c:309: warning: incompatible implicit declaration of built-in function ‘printf’
src/path.c: In function ‘lf_path_fix’:
src/path.c:377: warning: implicit declaration of function ‘strcpy’
src/path.c:377: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/path.c: In function ‘lf_path_path’:
src/path.c:480: warning: implicit declaration of function ‘strncpy’
src/path.c:480: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/support.c:1:20: error: string.h: Arquivo ou diretório não encontrado
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from src/lua/luaconf.h:11,
                 from src/lua/lua.h:16,
                 from src/support.c:2:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: Arquivo ou diretório não encontrado
In file included from src/support.c:3:
src/lua/lauxlib.h:13:19: error: stdio.h: Arquivo ou diretório não encontrado
In file included from src/support.c:3:
src/lua/lauxlib.h:133: error: ‘BUFSIZ’ undeclared here (not in a function)
src/support.c:4:20: error: stdlib.h: Arquivo ou diretório não encontrado
src/support.c:5:18: error: time.h: Arquivo ou diretório não encontrado
In file included from src/support.c:10:
src/context.h:23: error: expected specifier-qualifier-list before ‘time_t’
src/support.c:109:21: error: dirent.h: Arquivo ou diretório não encontrado
src/support.c:110:21: error: unistd.h: Arquivo ou diretório não encontrado
src/support.c:111:24: error: sys/types.h: Arquivo ou diretório não encontrado
src/support.c:112:25: error: sys/signal.h: Arquivo ou diretório não encontrado
src/support.c:113:23: error: sys/stat.h: Arquivo ou diretório não encontrado
src/support.c:114:22: error: pthread.h: Arquivo ou diretório não encontrado
src/support.c: In function ‘list_directory’:
src/support.c:118: error: ‘DIR’ undeclared (first use in this function)
src/support.c:118: error: (Each undeclared identifier is reported only once
src/support.c:118: error: for each function it appears in.)
src/support.c:118: error: ‘dir’ undeclared (first use in this function)
src/support.c:119: warning: ISO C90 forbids mixed declarations and code
src/support.c:120: error: storage size of ‘info’ isn’t known
src/support.c:126: warning: implicit declaration of function ‘opendir’
src/support.c:134: warning: implicit declaration of function ‘strcpy’
src/support.c:134: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/support.c:135: warning: implicit declaration of function ‘strlen’
src/support.c:135: warning: incompatible implicit declaration of built-in function ‘strlen’
src/support.c:143: warning: implicit declaration of function ‘readdir’
src/support.c:143: warning: assignment makes pointer from integer without a cast
src/support.c:146: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/support.c:146: error: dereferencing pointer to incomplete type
src/support.c:149: warning: implicit declaration of function ‘stat’
src/support.c:151: warning: implicit declaration of function ‘S_ISDIR’
src/support.c:157: warning: implicit declaration of function ‘closedir’
src/support.c:120: warning: unused variable ‘info’
src/support.c: In function ‘install_signals’:
src/support.c:163: warning: implicit declaration of function ‘signal’
src/support.c:163: error: ‘SIGHUP’ undeclared (first use in this function)
src/support.c:164: error: ‘SIGINT’ undeclared (first use in this function)
src/support.c:165: error: ‘SIGKILL’ undeclared (first use in this function)
src/support.c: At top level:
src/support.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lock_mutex’
src/support.c: In function ‘criticalsection_enter’:
src/support.c:180: warning: implicit declaration of function ‘pthread_mutex_lock’
src/support.c:180: error: ‘lock_mutex’ undeclared (first use in this function)
src/support.c: In function ‘criticalsection_leave’:
src/support.c:185: warning: implicit declaration of function ‘pthread_mutex_unlock’
src/support.c:185: error: ‘lock_mutex’ undeclared (first use in this function)
src/support.c: In function ‘threads_create’:
src/support.c:190: error: ‘pthread_t’ undeclared (first use in this function)
src/support.c:190: error: expected ‘;’ before ‘id’
src/support.c:191: warning: implicit declaration of function ‘pthread_create’
src/support.c:191: error: ‘id’ undeclared (first use in this function)
src/support.c: In function ‘threads_join’:
src/support.c:197: warning: implicit declaration of function ‘pthread_join’
src/support.c:197: error: ‘pthread_t’ undeclared (first use in this function)
src/support.c:197: error: expected ‘)’ before ‘thread’
src/support.c: In function ‘threads_yield’:
src/support.c:202: warning: implicit declaration of function ‘sched_yield’
src/support.c: At top level:
src/support.c:206: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timestamp’
src/support.c:219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_timestamp’
src/support.c: In function ‘file_exist’:
src/support.c:231: error: storage size of ‘s’ isn’t known
src/support.c:231: warning: unused variable ‘s’
src/support.c: In function ‘lf_listdir’:
src/support.c:261: warning: incompatible implicit declaration of built-in function ‘strlen’
src/support.c: In function ‘collect_callback’:
src/support.c:302: warning: incompatible implicit declaration of built-in function ‘strlen’
src/support.c:322: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/support.c:323: warning: implicit declaration of function ‘strcat’
src/support.c:323: warning: incompatible implicit declaration of built-in function ‘strcat’
src/support.c:330: warning: implicit declaration of function ‘strcmp’
src/support.c:334: warning: implicit declaration of function ‘strncmp’
src/support.c: In function ‘run_collect’:
src/support.c:352: warning: incompatible implicit declaration of built-in function ‘strlen’

Thanks!

*Codeblock added by FireArrow*

8

Re: Compiling on Debian Etch

Sorry, you're right. I didnt installed libc6-devel (or build-essentials) now its ok! smile

Thank you!

9

Re: Compiling on Debian Etch

Just one more thing: I had to install the libsdl1.2-dev package too