Unknown type name ‘off64_t’

后端 未结 7 1823
你的背包
你的背包 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:45

    Sorry for the lateness but I did never had to embed perl code in C programs untill today ^^

    I solved the issue in Unix/Linux systems (I think it is possible to create such feature in Windows since Vista) by creating a symbolic link pointing to the CORE folder of perl version...

    ln -s $(perl -MConfig -e 'print $Config{archlib}')/CORE /usr/include/perl
    

    In your project file, source code, simply add:

    #include 
    #include 
    

    ...and I came from long list of notes and errors related to off_t and off64_t to a clean build result ^^

提交回复
热议问题