G4L icon indicating copy to clipboard operation
G4L copied to clipboard

make: *** [Makefile:17: src/bufferobject.o] Error 1

Open filu34 opened this issue 2 years ago • 0 comments

$ sudo make

clang -fPIC --std=c99 -fomit-frame-pointer -Wall -Wextra -Wformat -pedantic -O0 -g -I/usr/include/GL -c src/bufferobject.c -o src/bufferobject.o src/bufferobject.c:16:14: warning: implicit declaration of function 'lua_objlen' is invalid in C99 [-Wimplicit-function-declaration] int count = lua_objlen(L, idx); ^ src/bufferobject.c:170:10: warning: implicit declaration of function 'luaL_typerror' is invalid in C99 [-Wimplicit-function-declaration] return luaL_typerror(L, top, "table"); ^ src/bufferobject.c:237:11: error: expected ';' after expression luaL_reg meta[] = ^ ; src/bufferobject.c:237:3: error: use of undeclared identifier 'luaL_reg'; did you mean 'luaL_ref'? luaL_reg meta[] = ^~~~~~~~ luaL_ref /usr/include/lauxlib.h:89:17: note: 'luaL_ref' declared here LUALIB_API int (luaL_ref) (lua_State *L, int t); ^ src/bufferobject.c:237:12: error: use of undeclared identifier 'meta' luaL_reg meta[] = ^ src/bufferobject.c:237:17: error: expected expression luaL_reg meta[] = ^ src/bufferobject.c:238:3: error: expected expression { ^ src/bufferobject.c:244:30: error: use of undeclared identifier 'meta' l_registerFunctions(L, -1, meta); ^ 2 warnings and 6 errors generated. make: *** [Makefile:17: src/bufferobject.o] Error 1

filu34 avatar May 20 '22 19:05 filu34