xen-devel
Re: [Xen-devel] Xen 4.1.0 RC2 released,
On 1/28/2011 11:12 AM, Ian Campbell wrote:
Can you try moving the $(DLOPEN_LIBS) in the libxenctrl rule in
tools/libxc/Makefile to the end, e.g. before or after the
$(PTHREAD_LIBS)?
Ian.
Moving it to the end fixed it:
- $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG)
-Wl,libxenctrl.so.$(MAJOR) $(DLOPEN_LIBS) $(SHLIB_LDFLAGS) -o $@ $^
$(PTHREAD_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG)
-Wl,libxenctrl.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^ $(PTHREAD_LIBS)
$(DLOPEN_LIBS)
But I'm still running into issues, this time with libvhd:
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD
-MF .vhd-util.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror
-Wno-unused -I../include -D_GNU_SOURCE -fPIC -Wp,-MD,.vhd-util.d -o
vhd-util vhd-util.o -Llib -lvhd -luuid
lib/libvhd.so: undefined reference to `uuid_generate'
lib/libvhd.so: undefined reference to `uuid_copy'
lib/libvhd.so: undefined reference to `uuid_is_null'
lib/libvhd.so: undefined reference to `uuid_unparse'
lib/libvhd.so: undefined reference to `uuid_clear'
lib/libvhd.so: undefined reference to `uuid_compare'
collect2: ld returned 1 exit status
The line that built libvhd.so was:
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD
-MF .libvhd.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror
-Wno-unused -I../../include -D_GNU_SOURCE -fPIC -g -Wp,-MD,.libvhd.o.d
-c -o libvhd.o libvhd.c
- Nathan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,,
Nathan March <=
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Ian Campbell
- Re: [Xen-devel] Xen 4.1.0 RC2 released,, Nathan March
|
|
|