From: Al Stone Subject: Re: build problems with current xen unstable cpu.h vl.h:75 vl.c:24 cpu-all.h:122: error: syntax error before "float64" Date: Wed, 02 Aug 2006 12:31:58 -0600 Message-ID: <1154543518.9195.7.camel@deimos> References: <200607251728.23398.mog.johnny@gmx.net> <200607281528.40451.mog.johnny@gmx.net> Reply-To: ahs3@fc.hp.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200607281528.40451.mog.johnny@gmx.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hans-Christian Armingeon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, 2006-07-28 at 15:28 +0200, Hans-Christian Armingeon wrote: > Hi, > > it my problem rtfm? Or am I doing something totally wrong? > > I'm still out of luck in building xen unstable on debian sarge. > > Johnny Hrm. I built a chroot environment for sarge on an x86 box: # debootstrap sarge /mydir Then, installed the following: # chroot /mydir # apt-get update # apt-get install build-essential bzip2 python python-dev \ zlib1g-dev libncurses5-dev libssl-dev wget libsdl-dev \ latex gs-common transfig Then, built the source (latest from xen-unstable.hg): # hg clone http://xenbits.xensource.com/xen-unstable.hg # cd xen-unstable.hg # make world And could _not_ reproduce the problem; ioemu/vl.c compiled just fine. LaTeX hung on me once it got to building the documentation, but that appears to have gone away with newer versions of LaTeX. > > > > make[3]: Entering directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools' > > [ -f ioemu/config-host.h ] || \ > > (cd ioemu && sh configure --prefix=/usr) > > Install prefix /usr > > BIOS directory /usr/share/xen/qemu > > binary directory /usr/lib/xen/bin > > Manual directory /usr/share/man > > ELF interp prefix > > Source path /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu > > C compiler gcc > > Host C compiler gcc > > make make > > install install > > host CPU i386 > > host big endian no > > target list i386-dm > > gprof enabled no > > profiler no > > static build no > > SDL support yes > > SDL static link no > > mingw32 support no > > Adlib support no > > CoreAudio support no > > ALSA support no > > DSound support no > > FMOD support no > > kqemu support no > > Documentation no > > /usr/bin/make -C ioemu install > > make[4]: Entering directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu' > > for d in i386-dm; do \ > > make -C $d all || exit 1 ; \ > > done > > make[5]: Entering directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/i386-dm' > > gcc -O2 -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -D__XEN_TOOLS__ -Wall -O2 -g -fno-strict-aliasing -DUSE_SSE2=1 -msse2 -fomit-frame-pointer -I. -I.. -I/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/target-i386-dm -I/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu -I../../../tools/libxc -I../../../tools/xenstore -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/fpu -DHAS_AUDIO -c -o vl.o /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/vl.c > > In file included from /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu.h:74, > > from /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/vl.h:75, > > from /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/vl.c:24: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:122: error: syntax error before "float64" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:122: warning: no semicolon at end of struct or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:136: error: syntax error before '}' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:136: warning: type defaults to `int' in declaration of `CPU_DoubleU' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:136: warning: data definition has no type or storage class > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:347: error: syntax error before "ldfl_le_p" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:348: warning: return type defaults to `int' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `ldfl_le_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: `float32' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: (Each undeclared identifier is reported only once > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: for each function it appears in.) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: syntax error before ')' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:352: error: syntax error before "ldfq_le_p" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:353: warning: return type defaults to `int' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `ldfq_le_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:354: error: `float64' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:354: error: syntax error before ')' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:357: error: syntax error before "float32" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:358: warning: function declaration isn't a prototype > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `stfl_le_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:359: error: `float32' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:359: error: syntax error before ')' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:362: error: syntax error before "float64" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:363: warning: function declaration isn't a prototype > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `stfq_le_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:364: error: `float64' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:364: error: syntax error before ')' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:461: error: syntax error before "ldfl_be_p" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:462: warning: return type defaults to `int' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `ldfl_be_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:464: error: syntax error before "float32" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:464: warning: no semicolon at end of struct or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:465: warning: unused variable `i' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:466: warning: type defaults to `int' in declaration of `u' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:466: warning: data definition has no type or storage class > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:467: error: syntax error before '.' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:471: error: syntax error before "float32" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:472: warning: function declaration isn't a prototype > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `stfl_be_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:474: error: syntax error before "float32" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:474: warning: no semicolon at end of struct or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:475: warning: unused variable `i' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:476: warning: type defaults to `int' in declaration of `u' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:476: warning: data definition has no type or storage class > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:477: error: syntax error before '.' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:478: error: syntax error before '.' token > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:478: warning: type defaults to `int' in declaration of `stl_be_p' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:478: warning: function declaration isn't a prototype > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:478: error: conflicting types for `stl_be_p' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:438: error: previous declaration of `stl_be_p' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:478: warning: data definition has no type or storage class > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:481: error: syntax error before "ldfq_be_p" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:482: warning: return type defaults to `int' > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `ldfq_be_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:483: error: syntax error before "u" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:484: error: request for member `l' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:485: error: request for member `l' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:486: error: request for member `d' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: At top level: > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:489: error: syntax error before "float64" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:490: warning: function declaration isn't a prototype > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `stfq_be_p': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:491: error: syntax error before "u" > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:492: error: request for member `d' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:492: error: `v' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:493: error: `ptr' undeclared (first use in this function) > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:493: error: request for member `l' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:494: error: request for member `l' in something not a structure or union > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/vl.c: In function `main': > > /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/vl.c:6013: warning: implicit declaration of function `main_loop' > > make[5]: *** [vl.o] Error 1 > > make[5]: Leaving directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/i386-dm' > > make[4]: *** [all] Error 1 > > make[4]: Leaving directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu' > > make[3]: *** [ioemuinstall] Error 2 > > make[3]: Leaving directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools' > > make[2]: *** [install] Error 2 > > make[2]: Leaving directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5/tools' > > make[1]: *** [install-tools] Error 2 > > make[1]: Leaving directory `/data/xen/build/xen-unstable.hg-3.0-20060725.5' > > make: *** [build-stamp] Error 2 > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > -- Ciao, al ---------------------------------------------------------------------- Al Stone Alter Ego: Open Source and Linux R&D Debian Developer Hewlett-Packard Company http://www.debian.org E-mail: ahs3@fc.hp.com ahs3@debian.org ----------------------------------------------------------------------