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

Configure Error Cannot Test For Constructor/destructor Support When Cross Compiling

make[2]: Entering directory `/home/dana/testw32app/src' if i586-mingw32msvc-c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -Wall -O1 -g -g -O2 -MT template-main.o -MD -MP -MF ".deps/template-main.Tpo" \ -c -o template-main.o `test -f 'main.cc' || echo edu [Download message RAW] Hi, I am trying to cross compile krb5-1.9.1 but the configure script fails. ./configure CC=/usr/local/xscale_be/bin/xscale_be-gcc CFLAGS=-O2 --host=xscale-linux checking for constructor/destructor attribute support... yes checking for dn_skipname... 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: Check This Out

yes checking for strings.h... 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 yes checking which version of subsystem package to use... Then I tried running cross-configure.sh and I get the same SDL_ttf.h error.

a.exe checking whether the C compiler works... Thanks in advance! :D dolsonApril 8th, 2006, 01:35 PMOkay, I fixed my makefile and directory layout and such, and boy, I got results! 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 After all this, I updated the build-cross.sh script from libsdl.org and ran it.

As I understand the cross-tools from libsdl.org, I should only have to run cross-make.sh, but it doesn't work, I get this: [email protected]:~/Projects/template/src$ /opt/cross-tools/cross-make.sh -f Makefile.gcc Cleaning... Ah, and what I forgot to say here is that you can set these in the environment before running "configure" for your cross compilation, so that tests that can't yes checking if C compiler supports -Wstrict-overflow... yes checking SDL/SDL_mixer.h usability...

I tried running the export commands: export CC=i586-mingw32msvc-gcc export CXX=i586-mingw32msvc-c++ export LD=i586-mingw32msvc-ld export AR=i586-mingw32msvc-ar export AS=i586-mingw32msvc-as export NM=i586-mingw32msvc-nm export STRIP=i586-mingw32msvc-strip export RANLIB=i586-mingw32msvc-ranlib export DLLTOOL=i586-mingw32msvc-dlltool export OBJDUMP=i586-mingw32msvc-objdump export RESCOMP=i586-mingw32msvc-windres ./configure But then So anyhow, I modified the Makefile to use the mingw stuff: CFLAGS=-W -Wall -O2 -ggdb `/opt/SDL-1.2.9/bin/sdl-config --cflags` LIBS=-lm `/opt/SDL-1.2.9/bin/sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer OBJS=functions.o sprite.o main.o CC=i586-mingw32msvc-g++ OUTPUT=tioli.exe default: clean all yes checking for string.h... yes checking if C compiler supports -Wunknown-pragmas...

i586-mingw32msvc-g++ -W -Wall -O2 -ggdb `/opt/SDL-1.2.9/bin/sdl-config --cflags` -c functions.cc In file included from functions.cc:1: functions.h:5:17: SDL.h: No such file or directory functions.h:6:21: SDL_ttf.h: No such file or directory functions.h:7:23: SDL_image.h: No yes checking for ns_initparse... If it did, it wouldn't be trying to link against X. no configure: WARNING: SDL/SDL_image.h: accepted by the compiler, rejected by the preprocessor!

I think I am closer now, but I am unsure why it can't find the libs.. Here is one that works for g++: CFLAGS=-W -Wall -O2 -ggdb `sdl-config --cflags` LIBS=-lm `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer OBJS=functions.o sprite.o main.o CC=g++ OUTPUT=tioli default: clean all PHONY: clean run default Need help cross-compiling PDA View Full Version : Argh! I got some good links and tried the content with no luck.

yes checking if C compiler supports -Werror=variadic-macros... his comment is here 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 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 ] wine ./$(OUTPUT) all: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $(OUTPUT) $(LIBS) main.o: main.cc main.h functions.h sprite.h $(CC) $(CFLAGS) -c main.cc sprite.o: sprite.cc sprite.h $(CC) $(CFLAGS) -c sprite.cc functions.o: functions.cc functions.h $(CC) $(CFLAGS)

I suspect that you have taken the "--with-msw" argument of your ./configure from another forum post. 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 It doesn't look like the configure process for the program you are trying to compile knows how to build a Windows binary. this contact form Any ideas?

yes checking for stdint.h... system checking whether system ss package works... 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

mit !

I think it is about cross compiling the packages. toojaysApril 9th, 2006, 01:15 AMCongratulations. none needed checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-gcc -E checking build system type...

And I *WILL* be documenting the process for everyone else, and I will link to it in this thread once I am done. toojaysApril 8th, 2006, 01:15 AMYour final link command: i586-mingw32msvc-c++ -g -O2 -o template.exe template-main.o template-functions.o template-sprite.o -L/opt/cross-tools/lib -L/usr/lib -L/usr/share/qt3/lib /usr/lib/libSDL_ttf.so /usr/lib/libfreetype.so /usr/lib/libSDL_image.so /usr/lib/libtiff.so /usr/lib/libjpeg.so -lpng -lz -L/usr/X11R6/lib /usr/lib/libSDL_mixer.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so Could you share with me the solution? http://outwardsound.com/configure-error/configure-error-cannot-find-cups-devel-support.html compile_et checking whether compile_et is useful...

So then I clean and try with /opt/cross-tools/cross-make.sh: ... yes checking for res_ndestroy... yes checking for compile_et... 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... wine ./$(OUTPUT) all: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $(OUTPUT) $(LIBS) main.o: main.cc main.h functions.h sprite.h $(CC) $(CFLAGS) -c main.cc sprite.o: sprite.cc sprite.h $(CC) $(CFLAGS) -c sprite.cc functions.o: functions.cc functions.h $(CC) $(CFLAGS) yes checking for res_search... dolsonApril 8th, 2006, 12:03 PMOkay, so I didn't surrender yet...

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 if C compiler supports -Wparentheses... yes checking for memory.h... o checking whether we are using the GNU C compiler...

yes checking SDL/SDL_ttf.h usability... yes checking for gethostbyname... immediate appending configuration tag "F77" to libtool checking target system type... yes configure: adding extra warning flags for gcc configure: skipping pedantic warnings on Linux configure: adding extra warning flags for g++ checking if C compiler supports -Wno-format-zero-length...

yes checking for main in -lresolv... I am ready to give up I think.. system checking for add_error_table in -lcom_err... checking for suffix of object files...

Free forum by Nabble Edit this page Cross compile krb5 issue for ppc JohnsonCheng JohnsonCheng at qnap.com.tw Tue Aug 30 14:16:58 EST 2005 Previous message: [PATCH] ppc32 :Added PCI support yes checking if C compiler supports -Wsign-compare... Win32 ld.exe checking how to hardcode library paths into programs... yes checking for socket...