gpt4 book ai didi

linux - cups arm交叉编译错误: unknown type name ‘gss_OID’

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:01:29 30 4
gpt4 key购买 nike

我正在尝试为 Ezsdk sitara linux 6.0 交叉编译 CUPS,
我关注了

source /home/shihab/ti-sdk-beagleboard-06.00.00.00/linux-devkit/environment-setup

./configure --host=i686

make

但是在 make 命令上它显示错误。日志的错误部分:

Making all in cups...
Compiling adminutil.c...
In file included from cups-private.h:29:0,
from adminutil.c:33:
http-private.h:299:3: error: unknown type name ‘gss_OID’
http-private.h:300:3: error: unknown type name ‘gss_ctx_id_t’
http-private.h:301:3: error: unknown type name ‘gss_name_t’
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
make[1]: *** [adminutil.o] Error 1
make: *** [all] Error 1
[linux-devkit]:~/cups-1.7.0>

进行交叉编译需要做什么?

最佳答案

您对 configure 脚本的调用是错误的。对于交叉编译,--host 应该是你的交叉编译器的前缀。例如:

 ./configure --host=arm-linux-gnueabi

此外,您可能需要将一些选项传递给 CUPS 的配置脚本以禁用某些组件。例如,--disable-gssapi 将禁用对 Kerberos 的支持并可能修复您的“gss”错误。

关于linux - cups arm交叉编译错误: unknown type name ‘gss_OID’ ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19583123/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com