[libvirt] [PATCH v4 1/2] src/Makefile: move the new xen_xl_disk parser code at the correct place

Eric Blake eblake at redhat.com
Thu Jan 8 23:06:23 UTC 2015

On 01/08/2015 06:20 AM, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/Makefile.am | 34 +++++++++++++++++-----------------
>  1 file changed, 17 insertions(+), 17 deletions(-)

> +AM_LFLAGS = -Pxl_disk_ --header-file=../$*.h

Uggh.  Not your fault (this patch was just code motion), but it
highlights a portability problem: RHEL 5 ships with flex 2.5.4, which
lacks --header-file, and which spells --outfile only as -o.  The build
is failing with:

flex  -Pxl_disk_
flex: unknown flag '-'.  For usage, try
        flex --help

As far as I know, we are still aiming to allow for out-of-the-box
compilation on RHEL 5 hosts, so I'm looking at fixing this.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150108/65d96697/attachment-0001.sig>

More information about the libvir-list mailing list