Question

I am trying to cross compile CUPS for Ezsdk sitara linux 6.0,
I followed

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 :

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top