[Spice-devel] "undefined reference" errors while running make
Mahmood Naderan
nt_mahmood at yahoo.com
Mon Mar 28 20:00:41 UTC 2016
Hi,The outcome of './configure --prefix=/opt/spice' shows everything is OK
config.status: executing libtool commands
configure:
Spice 0.13.0.232-8b1e-dirty
==============
prefix: /opt/spice
c compiler: gcc -std=gnu99
c++ compiler:
python: /usr/bin/python2
LZ4 support: auto
Smartcard: yes
SASL support: no
Automated tests: no
Manual: no
Now type 'make' to build spice
However, by running 'make', I get a lot of "undefined reference" errors.
make all-am
make[5]: Entering directory `/opt/spice-src/spice-common/tests'
CCLD test_logging
test_logging-test-logging.o: In function `test_spice_fatal_critical':
/opt/spice-src/spice-common/tests/test-logging.c:102: undefined reference to `g_test_subprocess'
/opt/spice-src/spice-common/tests/test-logging.c:106: undefined reference to `g_test_trap_subprocess'
test_logging-test-logging.o: In function `test_spice_fatal_return_if_fail':
/opt/spice-src/spice-common/tests/test-logging.c:145: undefined reference to `g_test_subprocess'
/opt/spice-src/spice-common/tests/test-logging.c:149: undefined reference to `g_test_trap_subprocess'
test_logging-test-logging.o: In function `test_spice_fatal_warning':
/opt/spice-src/spice-common/tests/test-logging.c:88: undefined reference to `g_test_subprocess'
/opt/spice-src/spice-common/tests/test-logging.c:92: undefined reference to `g_test_trap_subprocess'
test_logging-test-logging.o: In function `test_spice_non_fatal_g_return_if_fail':
/opt/spice-src/spice-common/tests/test-logging.c:161: undefined reference to `g_test_subprocess'
/opt/spice-src/spice-common/tests/test-logging.c:165: undefined reference to `g_test_trap_subprocess'
test_logging-test-logging.o: In function `test_spice_fatal_g_critical':
Any idea about them? Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160328/4abcbd51/attachment-0001.html>
More information about the Spice-devel
mailing list