Skip to contentSkip to conversation

unstable 4.0 config file/ build error

DISCUSSION ccmail111 4 participants 4 messages Mar 6, 2010 – Mar 9, 2010 1 message not in the archive

lore
Share & tools
lore

ccmail111

author
#0 lore raw

Hi,

The unstable repository seems to be quite unstable even building the image... !! I see:

make[4]: Entering directory `/foo/xen-unstable.hg/tools/libxl'
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .xl.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -I. -fPIC -I../../tools/libxc -I../../tools/include -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include -c xl.c flex --header-file=libxlu_cfg_l.h --outfile=libxlu_cfg_l.c libxlu_cfg_l.l
flex: unknown flag '-'.  For usage, try
        flex --help
make[4]: *** [libxlu_cfg_l.c] Error 1

libxl > flex --header-file=libxlu_cfg_l.h --outfile=libxlu_cfg_l.c libxlu_cfg_l.l
flex: unknown flag '-'.  For usage, try
        flex --help

libxl > flex -V
flex version 2.5.4


Any suggestions ?

Thanks !

SV

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 22 lines · On Fri, Mar 05, 2010 at 05:35:46PM -0800, ccmail111 wrote:

Hi,

The unstable repository seems to be quite unstable even building the image... !!
I see:

   make[4]: Entering directory `/foo/xen-unstable.hg/tools/libxl'
   gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g
   -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
   -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF
   .xl.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -I. -fPIC
   -I../../tools/libxc -I../../tools/include -I../../tools/libxc
   -I../../tools/include -I../../tools/xenstore -I../../tools/include -c xl.c
   flex --header-file=libxlu_cfg_l.h --outfile=libxlu_cfg_l.c libxlu_cfg_l.l
   flex: unknown flag '-'.  For usage, try
           flex --help
   make[4]: *** [libxlu_cfg_l.c] Error 1
   libxl > flex --header-file=libxlu_cfg_l.h --outfile=libxlu_cfg_l.c
   libxlu_cfg_l.l
   flex: unknown flag '-'.  For usage, try
           flex --help
Quoted 5 lines

libxl > flex -V
flex version 2.5.4

Any suggestions ?

What distribution are you using? xen-unstable builds OK for me with Fedora 12.

-- Pasi

#3 lore raw
In reply to a message not in the archive
Quoted 14 lines · On Sat, 6 Mar 2010 13:00:25 +0000 Keir Fraser <[email protected]> wrote:
Quoted 11 lines · Pasi Kärkkäinen
Quoted 8 lines

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

           flex --help

libxl > flex -V
flex version 2.5.4

Any suggestions ?

What distribution are you using? xen-unstable builds OK for me with Fedora 12.

Quoted 6 lines

The flex/bison output is checked into the tree now anyhow, so the problem won't manifest unless you modify the flex/bison inputs. Someone reported that the RHEL5 flex is too old, which is disappointing.

-- Keir

Yeah and it's always "deleted" when doing "make distclean" after "hg pull -u"

tools/libxl/Makefile Mon Mar 08 20:41:18 2010 +0100 renamed from tools/libxl/Makefile Mon Mar 08 19:11:47 2010 +0000 +1 -1
diff -r 2629c6a79d64 tools/libxl/Makefile
@@ -89,7 +89,7 @@
 .PHONY: clean
 clean:
        $(RM) -f *.o *.so* *.a $(CLIENTS) $(DEPS)
-       $(RM) -f $(AUTOSRCS) $(AUTOINCS)
+#      $(RM) -f $(AUTOSRCS) $(AUTOINCS)
 
 distclean: clean
 

##
##################################################################

# Position   : Systems Design Technician @ OSRC                  #
# Email      : [email protected]  GnuPG-Key: 0xA6AB055D       #

# Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D #
##################################################################

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Conny Seidel writes ("Re: [Xen-devel] unstable 4.0 config file/ build error"):

Quoted 9 lines
Quoted 4 lines · On Sat, 6 Mar 2010 13:00:25 +0000 Keir Fraser <[email protected]> wrote:

The flex/bison output is checked into the tree now anyhow, so the problem won't manifest unless you modify the flex/bison inputs. Someone reported that the RHEL5 flex is too old, which is disappointing.

Yeah and it's always "deleted" when doing "make distclean" after "hg pull -u"

I guess we need a "realclean" or "maintainer-clean" too but I don't fancy draining this particular swamp right now.

tools/libxl/Makefile Mon Mar 08 20:41:18 2010 +0100 line 92

Quoted 2 lines
tools/libxl/Makefile Mon Mar 08 20:41:18 2010 +0100 renamed from tools/libxl/Makefile Mon Mar 08 19:11:47 2010 +0000 +1 -1
-       $(RM) -f $(AUTOSRCS) $(AUTOINCS)
+#      $(RM) -f $(AUTOSRCS) $(AUTOINCS)

I see this has gone in.

Thanks,
Ian.