xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* compiling error "xen-unstable.hg"
@ 2012-07-27  7:24 hackroute
  2012-07-27  7:56 ` Jan Beulich
  0 siblings, 1 reply; 12+ messages in thread
From: hackroute @ 2012-07-27  7:24 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-08-02 10:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27  7:24 compiling error "xen-unstable.hg" hackroute
2012-07-27  7:56 ` 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

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).