1

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> 

クロスコンパイルを進めるには何が必要ですか?

4

1 に答える 1

1

configureスクリプトの呼び出しが間違っています。クロス コンパイルの場合--hostは、クロス コンパイラのプレフィックスにする必要があります。例えば:

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

さらに、一部のコンポーネントを無効にするために、おそらく CUPS の configure スクリプトにいくつかのオプションを渡す必要があります。たとえば、--disable-gssapiKerberos のサポートを無効にし、おそらく "gss" エラーを修正します。

于 2013-10-25T07:50:49.023 に答える