On Mon, Aug 24, 2009 at 05:11:48PM +0100, Adam Huffman wrote:
Today I've been trying to compile libvirt 0.7.0 under mingw32 on
a
Fedora 10 box.
After installing portablexdr from the review request, I got much
further. However, compilation fails during the tests:
make[3]: Entering directory `/newhome/adam/Build/libvirt-0.7.0/tests'
CC virshtest.o
CC testutils.o
CCLD virshtest.exe
testutils.o: In function `virtTestClearLineRegex':
/newhome/adam/Build/libvirt-0.7.0/tests/testutils.c:467: undefined
reference to `_regcomp'
/newhome/adam/Build/libvirt-0.7.0/tests/testutils.c:476: undefined
reference to `_regexec'
/newhome/adam/Build/libvirt-0.7.0/tests/testutils.c:499: undefined
reference to `_regfree'
collect2: ld returned 1 exit status
make[3]: *** [virshtest.exe] Error 1
make[3]: Leaving directory `/newhome/adam/Build/libvirt-0.7.0/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/newhome/adam/Build/libvirt-0.7.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/newhome/adam/Build/libvirt-0.7.0'
make: *** [all] Error 2
Is this expected? Am I missing another package not yet in Fedora?
I'd call this a bug in libvirt's test suite - it takes care not to build
with POSIX regexes in the main library code, but clearly we forgot to
this conditional compilation in the test suite.
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|