Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AxwwU-0005s2-6V for qemu-devel@nongnu.org; Mon, 01 Mar 2004 18:35:22 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Axwvx-0005io-3U for qemu-devel@nongnu.org; Mon, 01 Mar 2004 18:35:20 -0500 Received: from [194.109.24.5] (helo=smtp-out4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Axwvw-0005ha-Bg for qemu-devel@nongnu.org; Mon, 01 Mar 2004 18:34:48 -0500 Received: from olifantasia.com (a213-84-8-196.adsl.xs4all.nl [213.84.8.196]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i21NYdW9077199 for ; Tue, 2 Mar 2004 00:34:40 +0100 (CET) Message-ID: <4043C8BF.7090704@olifantasia.com> Date: Tue, 02 Mar 2004 00:35:27 +0100 From: Martin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] new code_copy code gives: error: storage size of `ldt' isn't known in helper2.c:97 Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Until recently I was able to build qemu-cvs but I updated today and now it gives an error: /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c: In function `cpu_x86_init': /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c:97: error: storage size of `ldt' isn't known The problem is in the new code_copy code helper2.c:94: #ifdef USE_CODE_COPY /* testing code for code copy case */ { struct modify_ldt_ldt_s ldt; //This is line 97 in target-i386/syscall.h the struct modify_ldt_ldt_s is defined: target-i386/syscall.h:32: struct target_modify_ldt_ldt_s { unsigned int entry_number; target_ulong base_addr; unsigned int limit; unsigned int flags; }; I can't see what the problem is. Does anybody know? Greetings, Martin ./configure Install prefix /usr/local Manual directory /usr/local/share/man BIOS directory /usr/local/share/qemu ELF interp prefix /usr/gnemul/qemu-%M Source path /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu C compiler gcc make make host CPU i386 host big endian no target list i386-user i386 i386-softmmu arm-user sparc-user ppc-user gprof enabled no static build no SDL support yes Creating config-host.mak and config-host.h Creating i386-user/config.mak, i386-user/config.h and i386-user/Makefile Creating i386/config.mak, i386/config.h and i386/Makefile Creating i386-softmmu/config.mak, i386-softmmu/config.h and i386-softmmu/Makefile Creating arm-user/config.mak, arm-user/config.h and arm-user/Makefile Creating sparc-user/config.mak, sparc-user/config.h and sparc-user/Makefile Creating ppc-user/config.mak, ppc-user/config.h and ppc-user/Makefile make gcc -Wall -O2 -g -D_GNU_SOURCE -c -o dyngen.o dyngen.c gcc -o dyngen dyngen.o gcc -Wall -O2 -g -D_GNU_SOURCE -c -o qemu-mkcow.o qemu-mkcow.c gcc -o qemu-mkcow qemu-mkcow.o texi2html -monolithic -number qemu-doc.texi ./texi2pod.pl qemu-doc.texi qemu.pod pod2man --section=1 --center=" " --release=" " qemu.pod > qemu.1 for d in i386-user i386 i386-softmmu arm-user sparc-user ppc-user; do \ make -C $d all || exit 1 ; \ done ..... ..... gcc -Wall -O2 -g -fomit-frame-pointer -I. -I/pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386 -I/pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu -D_GNU_SOURCE -c -o helper.o /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper.c /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper.c: In function `helper_ret_protected': /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper.c:1602: warning: `new_eflags' might be used uninitialized in this function gcc -Wall -O2 -g -fomit-frame-pointer -I. -I/pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386 -I/pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu -D_GNU_SOURCE -c -o helper2.o /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c: In function `cpu_x86_init': /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c:97: error: storage size of `ldt' isn't known /pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/target-i386/helper2.c:97: warning: unused variable `ldt' make[1]: *** [helper2.o] Error 1 make[1]: Leaving directory `/pub/projects/emulators/qemu/qemu-0.5.3-cvs/qemu/i386-user' make: *** [all] Error 1