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

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



>>> On 27.07.12 at 09:24, hackroute <hackroute@xxxxxxx> wrote:
> 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 that's certainly not the right fix. What output does
"$(CC) $(CFLAGS) -v" produce for you? In particular, does it
perhaps include any single quote character(s)?

> but now i have this error: 
>...
> /home/alex/xen-unstable.hg/tools/libxl/../../tools/libxl/libxenlight.so:
> undefined reference to `yajl_complete_parse'

Unsupported/wrong libyajl version (I don't recall whether support
for v2 of the library was ever added).

Jan


_______________________________________________
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®.