Skip to content

unknown type name 'off64_t' #4

Description

@diamond-lizard

When I try:

luarocks install --server=http://luarocks.org --local luazip

I get this error:

Installing http://luarocks.org/luazip-1.2.7-1.src.rock
luazip 1.2.7-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM)
gcc -O2 -fPIC -I/usr/include -c src/luazip.c -o src/luazip.o -I/usr/include
In file included from /usr/include/zzip/types.h:25,
from /usr/include/zzip/zzip.h:17,
from src/luazip.c:13:
/usr/include/zzip/types.h:35:15: error: unknown type name ‘off64_t’
typedef _zzip_off64_t zzip_off64_t;
^~~~~~~~~~~~~
Error: Build error: Failed compiling object src/luazip.o

I am using Luarocks 3.3.1 and Lua 5.1.5 on amd64 Gentoo Linux.

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