From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: build problem with ioemu Date: Tue, 22 Jul 2008 11:38:45 +0200 Message-ID: <200807221138.45752.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, compiling ioemu from the git tree fails with: Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /xen-unstable.hg/tools/ioemu-dir C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu=20 m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu=20 ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu=20 sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user=20 arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user=20 mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user=20 ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user=20 sparc64-linux-user sparc32plus-linux-user gprof enabled no profiler no static build no =2DWerror enabled no SDL support no OpenGL support curses support no mingw32 support no Audio support yes Adlib support no AC97 support no GUS support no CoreAudio support no ALSA support no EsounD support no DSound support no =46MOD support no OSS support yes VNC TLS support no kqemu support yes brlapi support no Documentation yes The error log from compiling the libSDL test is: /tmp/qemu-conf-20201-24898-30322.c:1:17: error: SDL.h: No such file or=20 directory /tmp/qemu-conf-20201-24898-30322.c: In function 'main': /tmp/qemu-conf-20201-24898-30322.c:3: error: 'SDL_INIT_VIDEO' undeclared=20 (first use in this function) /tmp/qemu-conf-20201-24898-30322.c:3: error: (Each undeclared identifier is= =20 reported only once /tmp/qemu-conf-20201-24898-30322.c:3: error: for each function it appears i= n.) =2E/configure: line 1113: test: =3D: unary operator expected =2E/configure: line 1121: test: =3D: unary operator expected 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 except through VNC or curses. make[2]: *** [ioemu-dir-find] Error 1 make[2]: Leaving directory `/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/xen-unstable.hg/tools' make: *** [install-tools] Error 2 Configure correctly detects, there's no sdl installed but sdl support is tried to be compiled nonetheless. SDL shouldn't be compiled if only VNC is of interest. Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy