Error Cannot Test For Constructor/destructor Support When Cross Compiling
♦ | Report Content as Inappropriate ♦ ♦ Cross Compile krb5 Hi everybody I'm trying to cross compile krb5 for sh4 (STLinux) and i stopped in this problem: "Cannot test for constructor/destructor support when cross compiling". My question is: Can I cross compile krb5 for any plataform? Could you share with me the solution? Thanks a lot. 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 Content as Inappropriate ♦ ♦ Re: Cross Compile krb5 On Jan 8, 2009, at 15:44, Pedro Cavalcante wrote: > Hi everybody > > I'm trying to cross compile krb5 for sh4 (STLinux) and i stopped in > this problem: "Cannot test for constructor/destructor support when > cross > compiling". My question is: Can I cross compile krb5 for any > plataform? > Could you share with me the solution? It's not trivial, as you've noticed, but I think it should be possible. You may have to spent a little time working on some of the makefile rules, and setting a few configuration variables before starting. The autoconf-generated configure scripts generally have the ability to cache configuration information learned from the environment, to speed up later invocations. 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 on some system. 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 or library load time an
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation http://kerberos.996246.n3.nabble.com/Cross-Compile-krb5-td20530.html & Upgrades [ubuntu] cross compilation problem with krb5_1.6 Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! 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 https://ubuntuforums.org/showthread.php?t=784383 Mode Switch to Hybrid Mode Switch to Threaded Mode May 6th, 2008 #1 MHaque View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2008 Beans 2 cross compilation problem with krb5_1.6 hi, When I cross compile krb5-1.6 for mips on my host, I got the following error "checking for constructor/destructor attribute support... configure: Cannot test for constructor/destructor support when cross compiling". 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 Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu General Help Asus Ubuntu Support (CLOSED) Dell Ubuntu Support (CLOSED) Ubuntu One (CLOSED) Installation & Upgrades Hardware Desktop Environments Networking & Wireless Multimedia Software Ubuntu Studio Mythbuntu Ubuntu Specialised Support Ubuntu Phone and Tablet Ubuntu Development Version Security Virtualisation Ubuntu Servers, Cloud and Juju Server Platforms Ubuntu Cloud and Juju Gaming & Leisure Emulators Wine Development & Progr
date ] [ thread ] [ subject ] [ author ] When I cross compile krb5-1.4.1 for ppc on x86, error cannot I got the following error message. # cd krb5-1.4.1/src #./configure -host=powerpc-linux Checking for constructor/destructor attribute support. configure: error: Cannot test for constructor/destructor support when cross compiling Even if error cannot test I have to some modifications to pass configure, but still cannot make successfully. Do anybody can give me advice or tell me where to get krb5 library for ppc? Thanks, Johnson Cheng -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050830/9145aada/attachment.htm Previous message: [PATCH] ppc32 :Added PCI support for MPC83xx Next message: Cross compile krb5 issue for ppc Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Linuxppc-embedded mailing list