Skip to content

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

Description

@filu34

$ 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions