* Compile error for libxl on centos 5
@ 2012-05-25 20:27 Andres Lagar-Cavilla
2012-05-28 8:31 ` Roger Pau Monne
2012-05-29 15:16 ` Ian Jackson
0 siblings, 2 replies; 4+ messages in thread
From: Andres Lagar-Cavilla @ 2012-05-25 20:27 UTC (permalink / raw)
To: xen-devel; +Cc: ian.jackson, ian.campbell
I am getting libxenlight.so and xl link failures, complaining about
missing login_tty and opentty symbols. The patch below fixes this for me,
in a quick & dirty manner.
FYI, not proposing this for the tree. I'm not sure to which extent you
want to support an oldish distro, whether libutil is universally necessary
and/or available.
Andres
diff -r 69c3ae25bb1d tools/libxl/Makefile
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -60,7 +60,7 @@ ifeq ($(BISON),)
scanners, please install it an rerun configure)
endif
-LIBXL_LIBS += -lyajl
+LIBXL_LIBS += -lyajl -lutil
LIBXL_OBJS = flexarray.o libxl.o libxl_create.o libxl_dm.o libxl_pci.o \
libxl_dom.o libxl_exec.o libxl_xshelp.o libxl_device.o \
@@ -154,7 +154,7 @@ libxlutil.a: $(LIBXLU_OBJS)
$(AR) rcs libxlutil.a $^
xl: $(XL_OBJS) libxlutil.so libxenlight.so
- $(CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so $(LDLIBS_libxenlight)
$(LDLIBS_libxenctrl) -lyajl $(APPEND_LDFLAGS)
+ $(CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so $(LDLIBS_libxenlight)
$(LDLIBS_libxenctrl) -lyajl -lutil $(APPEND_LDFLAGS)
testidl: testidl.o libxlutil.so libxenlight.so
$(CC) $(LDFLAGS) -o $@ testidl.o libxlutil.so $(LDLIBS_libxenlight)
$(LDLIBS_libxenctrl) $(APPEND_LDFLAGS)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile error for libxl on centos 5
2012-05-25 20:27 Compile error for libxl on centos 5 Andres Lagar-Cavilla
@ 2012-05-28 8:31 ` Roger Pau Monne
2012-05-28 14:24 ` Andres Lagar-Cavilla
2012-05-29 15:16 ` Ian Jackson
1 sibling, 1 reply; 4+ messages in thread
From: Roger Pau Monne @ 2012-05-28 8:31 UTC (permalink / raw)
To: andres; +Cc: Ian Jackson, Ian Campbell, xen-devel
Andres Lagar-Cavilla wrote:
> I am getting libxenlight.so and xl link failures, complaining about
> missing login_tty and opentty symbols. The patch below fixes this for me,
> in a quick& dirty manner.
>
> FYI, not proposing this for the tree. I'm not sure to which extent you
> want to support an oldish distro, whether libutil is universally necessary
> and/or available.
There's a test for libutil in configure, that should set the appropriate
flags, did you do a make distclean && ./configure after updating your tree?
If so, could you please attach your tools/config.log?
Thanks, Roger.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile error for libxl on centos 5
2012-05-28 8:31 ` Roger Pau Monne
@ 2012-05-28 14:24 ` Andres Lagar-Cavilla
0 siblings, 0 replies; 4+ messages in thread
From: Andres Lagar-Cavilla @ 2012-05-28 14:24 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: Ian Campbell, Ian Jackson, andres, xen-devel
> Andres Lagar-Cavilla wrote:
>> I am getting libxenlight.so and xl link failures, complaining about
>> missing login_tty and opentty symbols. The patch below fixes this for
>> me,
>> in a quick& dirty manner.
>>
>> FYI, not proposing this for the tree. I'm not sure to which extent you
>> want to support an oldish distro, whether libutil is universally
>> necessary
>> and/or available.
>
> There's a test for libutil in configure, that should set the appropriate
> flags, did you do a make distclean && ./configure after updating your
> tree?
Correct-o. No fix needed -- stale config.
Thanks
Andres
>
> If so, could you please attach your tools/config.log?
>
> Thanks, Roger.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile error for libxl on centos 5
2012-05-25 20:27 Compile error for libxl on centos 5 Andres Lagar-Cavilla
2012-05-28 8:31 ` Roger Pau Monne
@ 2012-05-29 15:16 ` Ian Jackson
1 sibling, 0 replies; 4+ messages in thread
From: Ian Jackson @ 2012-05-29 15:16 UTC (permalink / raw)
To: andres; +Cc: Ian Campbell, xen-devel
Andres Lagar-Cavilla writes ("Compile error for libxl on centos 5"):
> I am getting libxenlight.so and xl link failures, complaining about
> missing login_tty and opentty symbols. The patch below fixes this for me,
> in a quick & dirty manner.
Thanks.
> FYI, not proposing this for the tree. I'm not sure to which extent you
> want to support an oldish distro, whether libutil is universally necessary
> and/or available.
We have autoconfery that is supposed to handle this. We haven't taken
a decision to desupport Centos 5.
Can you check that you have the most recent version, run configure,
and post the resulting transcript, config.log and config.status ?
Thanks,
Ian.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-29 15:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25 20:27 Compile error for libxl on centos 5 Andres Lagar-Cavilla
2012-05-28 8:31 ` Roger Pau Monne
2012-05-28 14:24 ` Andres Lagar-Cavilla
2012-05-29 15:16 ` Ian Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.