> > What's your path look like when you invoke configure? > caiman-henry% echo $PATH /opt/local/bin/amd64:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/perl/5.6.1/bin
> if /opt/local/bin/amd64 isn't before /opt/local/bin > (or /opt/csw/bin), then that is > probalby why it failed, because it caught a 32-bit > libSDL when trying to > compile it on 64-bit. > i think that's not the case here > > Anybody can help? The same thing works on Nevada > b56 without compiling SDL (SDL from blastwave, 32 > bits) > > I was not aware that Qemu can be built on 64-bit > system as a 32-bit binary > using blastwave's gcc and using a 32-bit libSDL, but > it's not unreasonable to > expect. I have some patches that have not been > integrated yet > for compiling 32-bit QEMU on a 64-bit host, but we > ran into a problem with > gcc from /usr/sfw/bin failing the compile (which has > been documented on the > site) and I don't have blastwave's gcc on that S10U2 > system. I'll see if I can > do something about testing that... > yes, nevada b56 was installed on a laptop, so it is 32-bit host I'm trying to understand why configure failed, so i added some prints in configure to see the values that cause tests to failed. I'm not very confident with shell scripts, here is what i got: caiman-henry% bash ./configure --prefix=/tmp/qemu --target-list=x86_64-softmmu,i386-softmmu --disable-gcc-check GH PATH /opt/local/bin/amd64:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/perl/5.6.1/bin Install prefix /tmp/qemu BIOS directory /tmp/qemu/share/qemu binary directory /tmp/qemu/bin Manual directory /tmp/qemu/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/henry/qemu C compiler gcc Host C compiler gcc make gmake install ginstall host CPU x86_64 host big endian no target list x86_64-softmmu i386-softmmu gprof enabled no profiler no static build no SDL support no mingw32 support no Adlib support no CoreAudio support no ALSA support no DSound support no FMOD support no OSS support no kqemu support yes Documentation yes GH x86_64-softmmu i386-softmmu GH x86_64-softmmu GH x86_64 GH no yes no no GH ERROR: QEMU requires SDL or Cocoa for graphical output To build QEMU without graphical output configure with --disable-gfx-check Note that this will disable all output from the virtual graphics card. caiman-henry% diff -u configure.ori configure --- configure.ori Sun May 20 14:19:05 2007 +++ configure Tue May 29 08:43:58 2007 @@ -3,6 +3,10 @@ # qemu configure script (c) 2003 Fabrice Bellard # # set temporary file name + +echo "GH PATH $PATH" +echo "" + if test ! -z "$TMPDIR" ; then TMPDIR1="${TMPDIR}" elif test ! -z "$TEMPDIR" ; then @@ -868,11 +872,14 @@ echo "#define CONFIG_UNAME_RELEASE \"$uname_release\"" >> $config_h +echo "GH $target_list" for target in $target_list; do target_dir="$target" +echo "GH $target" config_mak=$target_dir/config.mak config_h=$target_dir/config.h target_cpu=`echo $target | cut -d '-' -f 1` +echo "GH $target_cpu" target_bigendian="no" [ "$target_cpu" = "armeb" ] && target_bigendian=yes [ "$target_cpu" = "sparc" ] && target_bigendian=yes @@ -905,7 +912,8 @@ if test "$target_user_only" = "no" -a "$check_gfx" = "yes" \ -a "$sdl" = "no" -a "$cocoa" = "no" ; then - echo "ERROR: QEMU requires SDL or Cocoa for graphical output" +echo "GH $target_user_only $check_gfx $sdl $cocoa" + echo "GH ERROR: QEMU requires SDL or Cocoa for graphical output" echo "To build QEMU without graphical output configure with --disable-gfx-check" echo "Note that this will disable all output from the virtual graphics card." exit 1; I don't understand why sdl test fail, how test is done? there is no config.log as in other foss On this machine, uname is: SunOS caiman 5.10 Generic_125101-04 i86pc i386 i86pc gerard -- This message posted from opensolaris.org