Re: [libvirt] libvirt support on QNX

Config.h file is missing in qnx. What is the path to config.h in linux ? Build Error (pasted here for one file only) src/util/iptables.c:22:20: error: config.h: No such file or directory Thanks, Chandrashekhar -----Original Message----- From: Chandrashekhar Jamadarkhani (cjamadar) Sent: Wednesday, December 14, 2011 3:24 PM To: 'Daniel P. Berrange' Subject: RE: libvirt support on QNX Thanks Daniel ! We are using Jamfile instead of Makefile in our build environment. Let me check how can I build the same in our build environment. Thanks, Chandarshekhar -----Original Message----- From: Daniel P. Berrange [mailto:berrange@redhat.com] Sent: Wednesday, December 14, 2011 2:56 PM To: Chandrashekhar Jamadarkhani (cjamadar) Subject: Re: libvirt support on QNX On Wed, Dec 14, 2011 at 02:50:31PM +0530, Chandrashekhar Jamadarkhani (cjamadar) wrote:
Thanks Daniel. I should port only src/rpc to QNX or anything else I need to port to QNX ?
You basically want to build with ./configure \ --enable-compile-warnings=error \ --without-xen \ --without-qemu \ --without-openvz \ --without-lxc \ --without-vbox \ --without-xenapi \ --without-esx \ --without-uml \ --without-sasl \ --without-avahi \ --without-polkit \ --without-python \ --without-libvirtd \ --without-phyp \ --without-hyperv \ --without-netcf \ --without-audit \ --without-dtrace And then fix whatever fails to build (if anything). This should only be stuff in src/util src/conf src/rpc src/remote Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On 12/14/2011 11:45 AM, Chandrashekhar Jamadarkhani (cjamadar) wrote: [Developers prefer that you avoid top-posting on technical lists like this]
Config.h file is missing in qnx. What is the path to config.h in linux ?
config.h is a generated file, which is built as the result of running ./configure.
Build Error (pasted here for one file only) src/util/iptables.c:22:20: error: config.h: No such file or directory
Please show the exact command line you used to configure things, and a few more lines of 'make V=1' output prior to the failure point.
Thanks Daniel ! We are using Jamfile instead of Makefile in our build environment.
Oh, are you even using make? And if not, why not? How are you building your Jamfile? Upstream depends on using Makefile and 'make'; using anything else means that there may be a bug in your particular conversion process in trying to translate the upstream supported method into your one-off method. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Chandrashekhar Jamadarkhani (cjamadar)
-
Eric Blake