Skip to content

off_t type undefined #5

@floreal

Description

@floreal

I got this compile error:

cc -DNDEBUG -o build/native-hdfs-fuse proto/.c src/.c -I/include/fuse -D_FILE_OFFSET_BITS=64 -I/include -lfuse -pthread -L/lib -lprotobuf-c -w -Wall -Wextra -I. -std=gnu99
In file included from src/hadooprpc.c:2:0:
src/hadooprpc.h:82:3: error: unknown type name 'off_t'
make: *** [build/native-hdfs-fuse] Error 1

I don't know how to define this type yet.

Additional info:

$ protoc-c --version
protobuf-c 1.1.0
libprotoc 2.6.1

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