From: Boris Derzhavets Subject: Re: Failure to build fs-backend with the most recent Xen Unstable ( revesion 19374) Date: Tue, 17 Mar 2009 23:48:11 -0700 (PDT) Message-ID: <517601.85510.qm@web56103.mail.re3.yahoo.com> References: <564034.42320.qm@web56102.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0330235784==" Return-path: In-Reply-To: <564034.42320.qm@web56102.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen-devel , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============0330235784== Content-Type: multipart/alternative; boundary="0-1780410485-1237358891=:85510" --0-1780410485-1237358891=:85510 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Just to be able to compile fixed fs-backend.c :- static void aio_signal_handler(int signo, siginfo_t *info, void *context) { =C2=A0=C2=A0=C2=A0 int ret; =C2=A0=C2=A0=C2=A0 struct fs_request *request =3D (struct fs_request*) info= ->si_value.sival_ptr; =C2=A0=C2=A0=C2=A0 int saved_errno =3D errno; =C2=A0=C2=A0=C2=A0 ret =3D write(pipefds[1], &request, sizeof(struct fs_req= uest *)); =C2=A0=C2=A0=C2=A0 errno =3D saved_errno; } It brings to next error seems unrelated to previous one :- The error log from compiling the libSDL test is:=20 /tmp/qemu-conf--8065-.c:1:17: error: SDL.h: No such file or directory /tmp/qemu-conf--8065-.c: In function =E2=80=98main=E2=80=99: /tmp/qemu-conf--8065-.c:3: error: =E2=80=98SDL_INIT_VIDEO=E2=80=99 undeclar= ed (first use in this function) /tmp/qemu-conf--8065-.c:3: error: (Each undeclared identifier is reported o= nly once /tmp/qemu-conf--8065-.c:3: error: for each function it appears in.) qemu successfuly configured for Xen qemu-dm build make -C ioemu-dir install make[3]: Entering directory `/usr/src/xen-unstable.hg/tools/ioemu-remote' xen-hooks.mak:56: =3D=3D=3D pciutils-dev package not found - missing /usr/i= nclude/pci xen-hooks.mak:57: =3D=3D=3D PCI passthrough capability has been disabled make[4]: Entering directory `/usr/src/xen-unstable.hg/tools/ioemu-remote/i3= 86-dm' ../xen-hooks.mak:56: =3D=3D=3D pciutils-dev package not found - missing /us= r/include/pci ../xen-hooks.mak:57: =3D=3D=3D PCI passthrough capability has been disabled ../xen-hooks.mak:56: =3D=3D=3D pciutils-dev package not found - missing /us= r/include/pci ../xen-hooks.mak:57: =3D=3D=3D PCI passthrough capability has been disabled =C2=A0 LINK=C2=A0 i386-dm/qemu-dm vl.o: In function `main': /usr/src/xen-unstable.hg/tools/ioemu-dir/vl.c:5898: undefined reference to = `pci_emulation_add' collect2: ld returned 1 exit status make[4]: *** [qemu-dm] Error 1 make[4]: Leaving directory `/usr/src/xen-unstable.hg/tools/ioemu-remote/i38= 6-dm' make[3]: *** [subdir-i386-dm] Error 2 make[3]: Leaving directory `/usr/src/xen-unstable.hg/tools/ioemu-remote' make[2]: *** [subdir-install-ioemu-dir] Error 2 make[2]: Leaving directory `/usr/src/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/usr/src/xen-unstable.hg/tools' make: *** [install-tools] Error 2 --- On Tue, 3/17/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: [Xen-devel] Failure to build fs-backend with the most recent Xen U= nstable ( revesion 19374) To: "Keir Fraser" Cc: "Xen-devel" , "Ian Jackson" Date: Tuesday, March 17, 2009, 11:52 PM make -C fs-back install make[3]: Entering directory `/usr/src/xen-unstable.hg/tools/fs-back' gcc=C2=A0 -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -= fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-valu= e -Wdeclaration-after-statement=C2=A0 -D__XEN_TOOLS__ -MMD -MF .fs-xenbus.o= .d=C2=A0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE=C2=A0 -Werror -Wno-unuse= d -fno-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../to= ols/xenstore -I../../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -c -o fs= -xenbus.o fs-xenbus.c gcc=C2=A0 -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -= fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-valu= e -Wdeclaration-after-statement=C2=A0 -D__XEN_TOOLS__ -MMD -MF .fs-ops.o.d= =C2=A0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE=C2=A0 -Werror -Wno-unused -fno-strict-aliasing -I../= ../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/i= nclude -I.. -I../lib -I. -D_GNU_SOURCE -c -o fs-ops.o fs-ops.c gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-st= rict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wde= claration-after-statement=C2=A0 -D__XEN_TOOLS__ -MMD -MF .fs-backend.d=C2= =A0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE=C2=A0 -Werror -Wno-unused -fn= o-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../tools/x= enstore -I../../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -o fs-backend= fs-xenbus.o fs-ops.o -L. -L.. -L../lib -L../../tools/libxc -lxenctrl -L../= ../tools/xenstore -lxenstore -lrt=C2=A0 fs-backend.c cc1: warnings being treated as errors fs-backend.c: In function =E2=80=98aio_signal_handler=E2=80=99: fs-backend.c:382: error: ignoring return value of =E2=80=98write=E2=80=99, = declared with attribute warn_unused_result make[3]: *** [fs-backend] Error 1 make[3]: Leaving directory `/usr/src/xen-unstable.hg/tools/fs-back' make[2]: *** [subdir-install-fs-back] Error 2 make[2]: Leaving directory `/usr/src/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/usr/src/xen-unstable.hg/tools' make: *** [install-tools] Error 2 Boris. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1780410485-1237358891=:85510 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Just to be able to compile fixed fs-backend.c= :-

static void aio_signal_handler(int signo, siginfo_t *info, void = *context)
{
    int ret;
    struct = fs_request *request =3D (struct fs_request*) info->si_value.sival_ptr;    int saved_errno =3D errno;
    ret = =3D write(pipefds[1], &request, sizeof(struct fs_request *));
 =    errno =3D saved_errno;
}

It brings to next error see= ms unrelated to previous one :-

The error log from compiling the lib= SDL test is:
/tmp/qemu-conf--8065-.c:1:17: error: SDL.h: No such file o= r directory
/tmp/qemu-conf--8065-.c: In function =E2=80=98main=E2=80=99:=
/tmp/qemu-conf--8065-.c:3: error: =E2=80=98SDL_INIT_VIDEO=E2=80=99 unde= clared (first use in this function)
/tmp/qemu-conf--8065-.c:3: error: (E= ach undeclared identifier is reported only once
/tmp/qemu-conf--8065-.c:3: error: for each function = it appears in.)
qemu successfuly configured for Xen qemu-dm build
mak= e -C ioemu-dir install
make[3]: Entering directory `/usr/src/xen-unstabl= e.hg/tools/ioemu-remote'
xen-hooks.mak:56: =3D=3D=3D pciutils-dev packag= e not found - missing /usr/include/pci
xen-hooks.mak:57: =3D=3D=3D PCI p= assthrough capability has been disabled
make[4]: Entering directory `/us= r/src/xen-unstable.hg/tools/ioemu-remote/i386-dm'
../xen-hooks.mak:56: = =3D=3D=3D pciutils-dev package not found - missing /usr/include/pci
../x= en-hooks.mak:57: =3D=3D=3D PCI passthrough capability has been disabled
= ../xen-hooks.mak:56: =3D=3D=3D pciutils-dev package not found - missing /us= r/include/pci
../xen-hooks.mak:57: =3D=3D=3D PCI passthrough capability = has been disabled
  LINK  i386-dm/qemu-dm
vl.o: In function= `main':
/usr/src/xen-unstable.hg/tools/ioemu-dir/vl.c:5898: undefined r= eference to `pci_emulation_add'
collect2: ld returned 1 exit status
make[4]: ***= [qemu-dm] Error 1
make[4]: Leaving directory `/usr/src/xen-unstable.hg/= tools/ioemu-remote/i386-dm'
make[3]: *** [subdir-i386-dm] Error 2
mak= e[3]: Leaving directory `/usr/src/xen-unstable.hg/tools/ioemu-remote'
ma= ke[2]: *** [subdir-install-ioemu-dir] Error 2
make[2]: Leaving directory= `/usr/src/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2=
make[1]: Leaving directory `/usr/src/xen-unstable.hg/tools'
make: **= * [install-tools] Error 2




--- On Tue, 3/17/09, Boris = Derzhavets <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject= : [Xen-devel] Failure to build fs-backend with the most recent Xen Unstable= ( revesion 19374)
To: "Keir Fraser" <keir.fraser@eu.citrix.com>
Cc: "Xen-devel" <xen-devel@lists.x= ensource.com>, "Ian Jackson" <Ian.Jackson@eu.citrix.com>
Date: = Tuesday, March 17, 2009, 11:52 PM

make -C fs-back install
make[3]: Entering d= irectory `/usr/src/xen-unstable.hg/tools/fs-back'
gcc  -O1 -fno-omi= t-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -s= td=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-= statement  -D__XEN_TOOLS__ -MMD -MF .fs-xenbus.o.d  -D_LARGEFILE_= SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-aliasing -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../t= ools/include -I.. -I../lib -I. -D_GNU_SOURCE -c -o fs-xenbus.o fs-xenbus.c<= br>gcc  -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -= g -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-v= alue -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .fs-ops.o= .d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-aliasing -I../= ../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/i= nclude -I.. -I../lib -I. -D_GNU_SOURCE -c -o fs-ops.o fs-ops.c
gcc -O1 -= fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-alia= sing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration= -after-statement  -D__XEN_TOOLS__ -MMD -MF .fs-backend.d  -D_LARG= EFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -fno-strict-al= iasing -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I.= ./../tools/include -I.. -I../lib -I. -D_GNU_SOURCE -o fs-backend fs-xenbus.= o fs-ops.o -L. -L.. -L../lib -L../../tools/libxc -lxenctrl -L../../tools/xe= nstore -lxenstore -lrt  fs-backend.c
cc1: warnings being treated as= errors
fs-backend.c: In function =E2=80=98aio_signal_handler=E2=80=99:<= br>fs-backend.c:382: error: ignoring return value of =E2=80=98write=E2=80= =99, declared with attribute warn_unused_result
make[3]: *** [fs-backend] Error 1
make[= 3]: Leaving directory `/usr/src/xen-unstable.hg/tools/fs-back'
make[2]: = *** [subdir-install-fs-back] Error 2
make[2]: Leaving directory `/usr/sr= c/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[= 1]: Leaving directory `/usr/src/xen-unstable.hg/tools'
make: *** [instal= l-tools] Error 2

Boris.


_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A --0-1780410485-1237358891=:85510-- --===============0330235784== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0330235784==--