I am trying to cross compile CUPS for Ezsdk sitara linux 6.0,
I followed
我正在尝试跨编译杯为Ezsdk sitara linux 6.0,我遵循
source /home/shihab/ti-sdk-beagleboard-06.00.00.00/linux-devkit/environment-setup
./configure --host=i686
make
But on make command it shows error. error part of the log :
但是在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>
What need to do for proceeding cross compilation?
进行交叉编译需要做什么?
1 个解决方案
#1
1
Your invocation of the configure
script is wrong. For cross-compilation, --host
should be the prefix of your cross compiler. For instance:
配置脚本的调用是错误的。对于交叉编译,-主机应该是交叉编译器的前缀。例如:
./configure --host=arm-linux-gnueabi
Moreover, you probably need to pass some options to CUPS' configure script in order to disable some components. For instance, --disable-gssapi
will disable support for Kerberos and probably fix your "gss" errors.
此外,您可能需要向CUPS的配置脚本传递一些选项,以便禁用某些组件。例如,disable-gssapi将禁用对Kerberos的支持,并可能修复您的“gss”错误。
#1
1
Your invocation of the configure
script is wrong. For cross-compilation, --host
should be the prefix of your cross compiler. For instance:
配置脚本的调用是错误的。对于交叉编译,-主机应该是交叉编译器的前缀。例如:
./configure --host=arm-linux-gnueabi
Moreover, you probably need to pass some options to CUPS' configure script in order to disable some components. For instance, --disable-gssapi
will disable support for Kerberos and probably fix your "gss" errors.
此外,您可能需要向CUPS的配置脚本传递一些选项,以便禁用某些组件。例如,disable-gssapi将禁用对Kerberos的支持,并可能修复您的“gss”错误。