xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: hackroute <hackroute@mail.ru>
To: xen-devel@lists.xensource.com
Subject: compiling error "xen-unstable.hg"
Date: Fri, 27 Jul 2012 00:24:40 -0700 (PDT)	[thread overview]
Message-ID: <1343373880839-5710388.post@n5.nabble.com> (raw)

when i compiling xen-unstable.hg from
'http://xenbits.xen.org/hg/xen-unstable.hg' or staging reps
i have an error 

sed: -e expression #6, symbol 111:command not finished `s' 
make[2]: *** [include/xen/compile.h] error 1  

/xen-unstable.hg/xen/makefile:
...
# compile.h contains dynamic build info. Rebuilt on every 'make' invocation.
include/xen/compile.h: include/xen/compile.h.in .banner
	@sed -e 's/@@date@@/$(shell LC_ALL=C date)/g' \
...
	    -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) -v 2>&1 | grep version |
tail -1)!g' \
...
	    -e 's!@@changeset@@!$(shell ((hg parents --template "{date|date}
{rev}:{node|short}" >/dev/null && hg parents --template "{date|date}
{rev}:{node|short}") || echo "unavailable") 2>/dev/null)!g' \
	    < include/xen/compile.h.in > $@.new
...

i remove " | grep version"
and it fixed this error


but now i have this error: 

make world:
...
ln -sf libxenlight.so.2.0.0 libxenlight.so.2.0
ln -sf libxenlight.so.2.0 libxenlight.so
gcc     -pthread -o xl xl.o xl_cmdimpl.o xl_cmdtable.o xl_sxp.o libxlutil.so
/home/alex/xen-unstable.hg/tools/libxl/../../tools/libxl/libxenlight.so
-Wl,-rpath-link=/home/alex/xen-unstable.hg/tools/libxl/../../tools/libxc
-Wl,-rpath-link=/home/alex/xen-unstable.hg/tools/libxl/../../tools/xenstore
-Wl,-rpath-link=/home/alex/xen-unstable.hg/tools/libxl/../../tools/blktap2/control
/home/alex/xen-unstable.hg/tools/libxl/../../tools/libxc/libxenctrl.so
-lyajl 
/home/alex/xen-unstable.hg/tools/libxl/../../tools/libxl/libxenlight.so:
undefined reference to `yajl_complete_parse'
collect2: execution  ld  finished with error code 1
make[4]: *** [xl]        error 1
make[4]: Выход из каталога `/home/alex/xen-unstable.hg/tools/libxl'
make[3]: *** [subdir-install-libxl]        (error 2)
make[3]: Выход из каталога `/home/alex/xen-unstable.hg/tools'
make[2]: *** [subdirs-install]         (error 2)
make[2]: Выход из каталога `/home/alex/xen-unstable.hg/tools'
make[1]: *** [install-tools]         (error 2)
make[1]: Выход из каталога `/home/alex/xen-unstable.hg'
make: *** [world]         (error 2)


libxl_json.c:
    status = yajl_complete_parse(yajl_ctx.hand);
    if (status != yajl_status_ok)
        goto out;

libxl_json.h:
 #define yajl_complete_parse yajl_parse_complete


how can i fix this error?

ubuntu 12.04 desktop  
with kernel 3.3.0-rc7-xen-teo.en.ming-sgp 
with kernel 3.2.0-27-generic



--
View this message in context: http://xen.1045712.n5.nabble.com/compiling-error-xen-unstable-hg-tp5710388.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2012-07-27  7:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27  7:24 hackroute [this message]
2012-07-27  7:56 ` compiling error "xen-unstable.hg" Jan Beulich
2012-07-27  8:33   ` Ian Campbell
     [not found]     ` <1343380597.380868008@f116.mail.ru>
2012-07-27  9:25       ` Ian Campbell
     [not found]         ` <1343382308.59310320@f318.mail.ru>
2012-07-27  9:54           ` Ian Campbell
     [not found]   ` <1343380992.326297641@f89.mail.ru>
2012-07-27 10:14     ` Jan Beulich
2012-07-27 10:25       ` Ian Campbell
2012-07-27 10:38         ` Jan Beulich
2012-07-27 10:58           ` Juergen Gross
2012-07-27 20:29             ` Tim Deegan
2012-07-30  7:27               ` Jan Beulich
2012-08-02 10:53                 ` Tim Deegan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343373880839-5710388.post@n5.nabble.com \
    --to=hackroute@mail.ru \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).