[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] compiling error "xen-unstable.hg"



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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.