Unknown type name ‘off64_t’

后端 未结 7 1853
你的背包
你的背包 2021-02-12 17:52

I have a problem using Apache Portable Runtime on Ubuntu with GCC 4.8.1

The problem is that the off64_t from is not availab

7条回答
  •  春和景丽
    2021-02-12 18:35

    Redefine off64_t to __off64_t in your compile flag. Edit your Makefile so it contains:

    CFLAGS= -Doff64_t=__off64_t
    

    then, just run $ make 1 (assuming you have 1.c in your directory)

提交回复
热议问题