Hello all: Try to compile the xen kernel I receive: drivers/xen/balloon/balloon.c: In function `balloon_process'': drivers/xen/balloon/balloon.c:210: `phys_to_machine_mapping'' undeclared (first use in this function) drivers/xen/balloon/balloon.c:210: (Cada identificador no declarado solamente se reporta una vez drivers/xen/balloon/balloon.c:210: para cada funcion en la que aparece.) drivers/xen/balloon/balloon.c:210: `INVALID_P2M_ENTRY'' undeclared (first use in this function) drivers/xen/balloon/balloon.c:253: warning: implicit declaration of function `scrub_pages'' drivers/xen/balloon/balloon.c:275: warning: implicit declaration of function `mfn_to_pfn'' make[3]: *** [drivers/xen/balloon/balloon.o] Error 1 make[2]: *** [drivers/xen/balloon] Error 2 make[1]: *** [drivers/xen] Error 2 make: *** [drivers] Error 2 Someone can give any glue about the nature of the cause of this problem? Jorge I. Davila L. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2005-07-20 at 19:18 -0600, davila@cablenet.com.ni wrote:> Hello all: > > Try to compile the xen kernel I receive: > > drivers/xen/balloon/balloon.c: In function `balloon_process'': > drivers/xen/balloon/balloon.c:210: `phys_to_machine_mapping'' undeclared > (first use in this function) > drivers/xen/balloon/balloon.c:210: (Cada identificador no declarado > solamente se reporta una vez > drivers/xen/balloon/balloon.c:210: para cada funcion en la que aparece.) > drivers/xen/balloon/balloon.c:210: `INVALID_P2M_ENTRY'' undeclared (first > use in this function) > drivers/xen/balloon/balloon.c:253: warning: implicit declaration of > function `scrub_pages'' > drivers/xen/balloon/balloon.c:275: warning: implicit declaration of > function `mfn_to_pfn'' > make[3]: *** [drivers/xen/balloon/balloon.o] Error 1 > make[2]: *** [drivers/xen/balloon] Error 2 > make[1]: *** [drivers/xen] Error 2 > make: *** [drivers] Error 2 > > Someone can give any glue about the nature of the cause of this problem? ><snip> Which version of Xen are you using? - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan@opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 2005-07-21 at 07:23 -0600, davila@cablenet.com.ni wrote:> Well, the picture: > > First, I tried to compile and run xen with selinux. Maybe in this list > someone can provide information about how put to work together selinux and > xen. > > Second, I''m using the version 2.0.5 of xen and Fedora Core 4 that have: > > gcc-c++-4.0.0-8 > gcc-4.0.0-8 > > Then, I put in fedora (after re-install disabling selinux): > > compat-gcc-32-3.2.3-47.fc4 > compat-gcc-32-c++-3.2.3-47.fc4 > > I the error is when I try: > > make CC=gcc32 world > > If I do only: > > make world > > then in the next step I found error about: > > standar ISO C90 about mixing sentences (or programs / modules -I believe- > compiled with the diferents versions of the gcc compiler). > > in order to compile xen. > > <snip>It sounds pretty dicey to mix compilers like that. However, if one wants to try, is there a configure option of --cc=gcc32? -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan@opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Well, the picture: First, I tried to compile and run xen with selinux. Maybe in this list someone can provide information about how put to work together selinux and xen. Second, I''m using the version 2.0.5 of xen and Fedora Core 4 that have: gcc-c++-4.0.0-8 gcc-4.0.0-8 Then, I put in fedora (after re-install disabling selinux): compat-gcc-32-3.2.3-47.fc4 compat-gcc-32-c++-3.2.3-47.fc4 I the error is when I try: make CC=gcc32 world If I do only: make world then in the next step I found error about: standar ISO C90 about mixing sentences (or programs / modules -I believe- compiled with the diferents versions of the gcc compiler). in order to compile xen.> On Wed, 2005-07-20 at 19:18 -0600, davila@cablenet.com.ni wrote: >> Hello all: >> >> Try to compile the xen kernel I receive: >> >> drivers/xen/balloon/balloon.c: In function `balloon_process'': >> drivers/xen/balloon/balloon.c:210: `phys_to_machine_mapping'' undeclared >> (first use in this function) >> drivers/xen/balloon/balloon.c:210: (Cada identificador no declarado >> solamente se reporta una vez >> drivers/xen/balloon/balloon.c:210: para cada funcion en la que aparece.) >> drivers/xen/balloon/balloon.c:210: `INVALID_P2M_ENTRY'' undeclared (first >> use in this function) >> drivers/xen/balloon/balloon.c:253: warning: implicit declaration of >> function `scrub_pages'' >> drivers/xen/balloon/balloon.c:275: warning: implicit declaration of >> function `mfn_to_pfn'' >> make[3]: *** [drivers/xen/balloon/balloon.o] Error 1 >> make[2]: *** [drivers/xen/balloon] Error 2 >> make[1]: *** [drivers/xen] Error 2 >> make: *** [drivers] Error 2 >> >> Someone can give any glue about the nature of the cause of this problem? >> > <snip> > Which version of Xen are you using? - John > -- > John A. Sullivan III > Open Source Development Corporation > +1 207-985-7880 > jsullivan@opensourcedevel.com > > If you would like to participate in the development of an open source > enterprise class network security management system, please visit > http://iscs.sourceforge.net >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It looks like you''re doing "make" for a Xen-enabled Linux kernel. If you''re in the Linux build directory (not the repository root), use "make ARCH=xen" In the root of the repo (outside the linux dir) you can just do "make world". Cheers, Mark On Thursday 21 July 2005 02:18, davila@cablenet.com.ni wrote:> Hello all: > > Try to compile the xen kernel I receive: > > drivers/xen/balloon/balloon.c: In function `balloon_process'': > drivers/xen/balloon/balloon.c:210: `phys_to_machine_mapping'' undeclared > (first use in this function) > drivers/xen/balloon/balloon.c:210: (Cada identificador no declarado > solamente se reporta una vez > drivers/xen/balloon/balloon.c:210: para cada funcion en la que aparece.) > drivers/xen/balloon/balloon.c:210: `INVALID_P2M_ENTRY'' undeclared (first > use in this function) > drivers/xen/balloon/balloon.c:253: warning: implicit declaration of > function `scrub_pages'' > drivers/xen/balloon/balloon.c:275: warning: implicit declaration of > function `mfn_to_pfn'' > make[3]: *** [drivers/xen/balloon/balloon.o] Error 1 > make[2]: *** [drivers/xen/balloon] Error 2 > make[1]: *** [drivers/xen] Error 2 > make: *** [drivers] Error 2 > > Someone can give any glue about the nature of the cause of this problem? > > Jorge I. Davila L. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users