Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<builtin>: recipe for target 'luaopswap.o' failed make: *** [luaopswap.o] Error 1 #78

Open
AlexLg1983 opened this issue Jan 11, 2021 · 0 comments

Comments

@AlexLg1983
Copy link

make LUAVER=5.3

gcc -O2 -Wall -DSRCVERSION="895d923" -I../lua-5.3/src -c -o luaopswap.o luaopswap.c
luaopswap.c: In function ‘doargs’:
luaopswap.c:117:50: error: ‘allopcodes_lua_len’ undeclared (first use in this function); did you mean ‘allopcodes_luac_len’?
fwrite(allopcodes_lua, sizeof(unsigned char), allopcodes_lua_len, stdout);
^~~~~~~~~~~~~~~~~~
allopcodes_luac_len
luaopswap.c:117:50: note: each undeclared identifier is reported only once for each function it appears in
luaopswap.c: In function ‘main’:
luaopswap.c:323:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
const char* buff = cmp_gen_lua ? allopcodes_lua : allopcodes_luac;
^~~~~~~~~~~
luaopswap.c:324:31: error: ‘allopcodes_lua_len’ undeclared (first use in this function); did you mean ‘allopcodes_luac_len’?
int bufflen = cmp_gen_lua ? allopcodes_lua_len : allopcodes_luac_len;
^~~~~~~~~~~~~~~~~~
allopcodes_luac_len
luaopswap.c: At top level:
luaopswap.c:47:15: warning: array ‘allopcodes_lua’ assumed to have one element
unsigned char allopcodes_lua[];
^~~~~~~~~~~~~~
: recipe for target 'luaopswap.o' failed
make: *** [luaopswap.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant