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

Error Cannot Test For Constructor/destructor Support When Cross Compiling

Contents

Do anybody can give me advice or tell me where to get krb5 library for ppc? yes checking if C compiler supports -Wmissing-format-attribute... yes checking for res_nclose... 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... his comment is here

i am > getting the following error whenever i try to compile it:- > "checking for constructor/destructor attribute support... yes checking if C compiler supports -Wunused-function... i686-pc-linux-gnu-gcc -E checking build system type... the command i used ./configure --target=mipsel-linux --host=i686-pc-linux-gnu --prefix=/home/ahaque/trunk/staging_dir/toolchain-mipsel_gcc3.4.6 any suggestion!!!!thnx Adv Reply Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home http://kerberos.996246.n3.nabble.com/Cross-Compile-krb5-td20530.html

Error Cannot Test For Constructor/destructor Support When Cross Compiling

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... configure: > error: Cannot test for constructor/destructor support when cross > compiling" > any suggestion would be highly appreciable.....thnx Unfortunately, cross-compilation hasn't been a priority for us in the past; we've yes checking if C compiler supports -Wsign-compare... I'm sure there are a number of places in the configure script where we assume a native compilation environment.

yes checking for compile_et... yes checking whether we are cross compiling... yes checking if C compiler supports -Wunknown-pragmas... i686-pc-linux-gnu-gcc checking for C compiler default output file name...

Ken ________________________________________________ Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos « Return to Kerberos - General | 1 view|%1 views Loading... I tray to install the following packages: app-crypt/mit-krb5 ---------------------------- emerge-${BOARD} mit-krb5 * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. * Last yes checking for stdint.h... Ken ________________________________________________ Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos Kenneth G Raeburn Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content

Could anyone help? I did add, at the end, a copy of some email I sent to someone asking about a port to pSOS a while back. Calculating dependencies... So feedback on how this works out for you may help us plan our future work better, and make incorporating future releases easier for you in turn. -- Ken Raeburn, Senior

mit ! http://fixunix.com/kerberos/393413-cross-compilation-problem-krb5_1-6-3-a.html configure: > error: Cannot test for constructor/destructor support when cross > compiling" > any suggestion would be highly appreciable.....thnx Unfortunately, cross-compilation hasn't been a priority for us in the past; we've Error Cannot Test For Constructor/destructor Support When Cross Compiling I'm sure there are a number of places in the configure script where we assume a native compilation environment. x86_64-pc-linux-gnu checking host system type...

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 native build this content no checking if C compiler supports -Werror=declaration-after-statement... Thanks, Johnson Cheng -------------- next part -------------- An HTML attachment was scrubbed... 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 this

yes checking if C compiler supports -Wstrict-overflow... yes checking for gethostbyname... yes checking for socket... weblink configure: error: Cannot test for constructor/destructor support when cross compiling The complete config.log is attached.

configure: error: Cannot test for constructor/destructor support when cross compiling !!! yes checking for string.h... system checking whether system ss package works...

done!

yes checking for inttypes.h... If you do go ahead with this, please keep us informed, and please consider contributing patches back. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. For details and our forum data attribution, retention and privacy policy, see here Cross compile krb5 issue for ppc JohnsonCheng JohnsonCheng at qnap.com.tw Tue Aug 30 14:16:58 EST 2005 Previous

It's a little out of date, because it still describes building static libraries, which we don't support well (or officially at all) at the moment. yes checking if C compiler supports -Woverflow... I know others have gotten Kerberos code working on embedded systems before: * TeamF1 has products for VxWorks and others * Shoichi Sakane mentions in http://tools.ietf.org/html/draft-sakane-krb-cross-problem-statement-02 porting the MIT code to check over here yes checking which version of com_err to use...

yes checking if C compiler supports -Wnewline-eof... yes checking for res_ninit... yes checking if C compiler supports -Wparentheses... Ubuntu Logo, Ubuntu and Canonical Canonical Ltd.

yes checking if C compiler supports -Wswitch... 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... You'll probably need to explicitly set in your environment the ac_cv_* variables those tests will try to set. yes checking whether i686-pc-linux-gnu-g++ accepts -g...

There are also places where we test the name of the host system, so if you're not specifying "--host=mips-something", you probably should be. (In GNU autoconf terminology, "host" is the system Unfortunately, our documentation for build system dependencies is somewhat haphazard, an issue we're hoping to address soon, but some of the info you might need is in doc/implementor.texinfo. 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 i am > getting the following error whenever i try to compile it:- > "checking for constructor/destructor attribute support...