Skip to contentSkip to conversation

tests: fix xlconfigtest build failure

PATCH Eric Blake 2 participants 2 messages Jan 21, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Eric Blake

author
#1 lore raw
Quoted 8 lines · Jim Fehlig

When libvirt is configured --without-xen, building the xlconfigtest fails with

CCLD xlconfigtest
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status

Quoted 8 lines

Introduced in commit 4ed5fb91 by too much copy and paste from xmconfigtest.

---
 tests/Makefile.am    | 17 ++++++++++++-----
 tests/xlconfigtest.c |  4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)

ACK.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 13 lines · Eric Blake
Quoted 11 lines · Jim Fehlig

When libvirt is configured --without-xen, building the xlconfigtest fails with

CCLD xlconfigtest
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status

Introduced in commit 4ed5fb91 by too much copy and paste from xmconfigtest.

Quoted 9 lines
Quoted 6 lines
---
 tests/Makefile.am    | 17 ++++++++++++-----
 tests/xlconfigtest.c |  4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)

ACK.

Thanks; pushed now.

Regards,
Jim