0

对于类似的问题,我已经尝试了堆栈溢出中的所有现有解决方案:大多数情况下建议声明_FILE_OFFSET_BITS64。但这没有用。

示例代码:

dir = opendir("/data/system/dropbox");
if (!dir) {
    PRINT_ERROR("open dir - %s failed. %s\n",
            "dropbox", strerror(errno));
    return -errno;
}

以下是strerror(errno)我尝试打开目录 ( ) 时遇到的错误 ( /data/system/dropbox)。我在用uClibc

>> Value too large for defined data type
4

1 回答 1

1

如果这恰好发生在大端机器上,您可能需要确保您使用的是最新版本的 uClibc。你的症状听起来像是去年修复的这个错误。

于 2014-11-07T12:30:28.880 回答