Home > Error Cannot > Error Cannot Test For Constructor/destructor Support When Cross Compiling

Error Cannot Test For Constructor/destructor Support When Cross Compiling

Please attach the following file when seeking support: !!! /build/x86-generic/tmp/portage/app-crypt/mit-krb5-1.8.3-r4/work/krb5-1.8.3/src/config.log * ERROR: app-crypt/mit-krb5-1.8.3-r4 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 2968: checking for suffix of object files... yes checking for unistd.h... yes checking for gethostbyname... this contact form

yes checking whether pragma weak references are supported... Thanks a lot. assumed checking for an ANSI C-conforming const... Thanks, Johnson Cheng -------------- next part -------------- An HTML attachment was scrubbed...

yes checking if C compiler supports -Wswitch... yes checking for socket... My question is: Can I cross compile krb5 for any > plataform? > Could you share with me the solution?

  • Results 1 to 1 of 1 Thread: cross compilation problem with krb5_1.6 Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded
  • Do you want to help us debug the posting issues ? < is the place to report it, thanks !
  • Could you share with me the solution?
  • yes checking if C compiler supports -Woverflow...
  • yes checking for ns_initparse...
  • yes checking if C compiler supports -Wmissing-braces...
  • Ken ________________________________________________ Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos « Return to Kerberos - General | 1 view|%1 views Loading...

emerge: there are no ebuilds to satisfy "virtual/krb5" for /build/x86-generic/. (dependency required by "sys-auth/pam_krb5-3.12" [ebuild]) (dependency required by "pam_krb5" [argument]) * IMPORTANT: 1 news items need reading for repository 'gentoo'. * I think it is about cross compiling the packages. yes checking for remove_error_table in -lcom_err... configure: Cannot test for constructor/destructor support when cross compiling".

done! no checking for res_nsearch... yes checking for main in -lresolv... https://forums.gentoo.org/viewtopic-t-796093-start-0.html yes checking for strings.h...

grep -E checking for ANSI C header files... yes checking if C compiler supports -Wunused-variable... yes checking if C compiler supports -Wsign-compare... yes checking for memory.h...

Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] cross compilation problem with yes checking if C compiler supports -Werror=variadic-macros... yes checking for sys/stat.h... In this case, the variable krb5_cv_attr_constructor_destructor is set to "yes" if you're using a compilation environment that supports "__attribute__((constructor))" to indicate functions that should be run at startup

yes checking whether i686-pc-linux-gnu-g++ accepts -g... weblink It's not trivial, as you've noticed, but I think it should be possible. i686-pc-linux-gnu-gcc checking for C compiler default output file name... Comment 1 by [email protected], Mar 25 2011 Processing Labels: -Type-Test Type-Feature Status: Invalid Comment 2 by [email protected], Feb 27 2013 Processing Status: WontFix Project Member Comment 3 by [email protected], Mar 7

configure: error: Cannot test regcomp when cross compiling echo ac_cv_func_regcomp=yes>>linux-cacheenvCC=powerpc-linux-uclibc-gcc./configure --host=powerpc--prefix=/usr/local/krb5--cache-file=linux-cache 有出现: checking for POSIX printf positional specification support... o checking whether we are using the GNU C compiler... yes checking if C compiler supports -Wunused-value... http://optimisersonpc.com/error-cannot/error-cannot-check-for-file-existence-when-cross-compiling.html system checking whether system ss package works...

For details and our forum data attribution, retention and privacy policy, see here Project: chromium ▼ Issues People Development process History Sign in New issue Search Search within: All issues Open The file "config.cache" will be > generated after a successful invocation, so you can look at the sort > of stuff that goes in there if you do a yes checking for constructor/destructor attribute support...

You may have to spent a little time working on some of the makefile rules, and setting a few configuration variables before starting.

yes checking for res_nclose... yes checking for GNU linker... yes checking if C compiler supports -Wmissing-prototypes... system checking for add_error_table in -lcom_err...

Kerberos › Kerberos - General Search everywhere only in this topic Advanced Search Cross Compile krb5 Classic List Threaded ♦ ♦ Locked 3 messages Pedro Cavalcante Reply | Threaded Open yes checking which version of com_err to use... configure: error: Cannot test for constructor/destructor support when cross compiling !!! his comment is here yes checking if C compiler supports -Wmissing-format-attribute...

done! >>> Emerging (1 of 1) app-crypt/mit-krb5-1.8.3-r4 for /build/x86-generic/ * krb5-1.8.3-signed.tar RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-crypt/mit-krb5-1.8.3-r4 * Repository: gentoo * Maintainer: [email protected] * USE: x86_64-pc-linux-gnu checking host system type... Pedro Cavalcante. ________________________________________________ Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos Kenneth G Raeburn Reply | Threaded Open this post in threaded view ♦ ♦ | Report vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.

If you set it to "no", you may have to add support in config/shlib.conf and include/k5-platform.h to support the target, and it's a bit convoluted... compile_et checking whether compile_et is useful... yes checking how to run the C preprocessor... Tango Icons Tango Desktop Project.

yes checking for res_search... The time now is 08:09 PM. yes checking for inttypes.h... yes checking for res_ndestroy...

yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... I think you can also set the values in $prefix/share/config.site or $prefix/etc/config.site before running configure, too; they'll take effect for any autoconf-based configure script you run with the given Do anybody can give me advice or tell me where to get krb5 library for ppc? yes checking for suffix of executables...

configure: error: Cannot test for printf positional argument support when cross compiling echo ac_cv_printf_positional=yes>>linux-cache envCC=powerpc-linux-uclibc-gcc./configure --host=powerpc--prefix=/usr/local/krb5--cache-file=linux-cache 有出现: checking for /etc/environment... configure: error: Cannot check for existence when cross compiling echo ac_cv_file__etc_environment=yes>>linux-cache echo ac_cv_file__etc_TIMEZONE=yes>>linux-cache envCC=powerpc-linux-uclibc-gcc./configure --host=powerpc--prefix=/usr/local/krb5--cache-file=linux-cache 有出现: configure: error: Cannot find resolver support routine res_search in -lresolv echo ac_cv_lib_resolv_res_search=yes>linux-cache envCC=powerpc-linux-uclibc-gcc./configure configure: error: Cannot test for constructor/destructor support when cross compiling 解决办法: echo krb5_cv_attr_constructor_destructor=yes>linux-cacheenvCC=powerpc-linux-uclibc-gcc./configure --host=powerpc--prefix=/usr/local/krb5--cache-file=linux-cache 有出现:checking for working regcomp... yes checking which version of subsystem package to use...

Back to Top