O that is good :thumsup:I applied the patch and the compilation passed that 
file. However, I get a new undefined reference in another file

root@cluster:spice-src# patch < patch
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/tests/test-logging.c b/tests/test-logging.c
|index eed149e..69eff24 100644
|--- a/tests/test-logging.c
|+++ b/tests/test-logging.c
--------------------------
File to patch: /opt/spice-src/spice-common/tests/test-logging.c
patching file /opt/spice-src/spice-common/tests/test-logging.c
root@cluster:spice-src#
root@cluster:spice-src#
root@cluster:spice-src#
root@cluster:spice-src# make
make  all-recursive
make[1]: Entering directory `/opt/spice-src'
Making all in spice-common
make[2]: Entering directory `/opt/spice-src/spice-common'
make  all-recursive
make[3]: Entering directory `/opt/spice-src/spice-common'
Making all in python_modules
make[4]: Entering directory `/opt/spice-src/spice-common/python_modules'
make[4]: Leaving directory `/opt/spice-src/spice-common/python_modules'
Making all in common
make[4]: Entering directory `/opt/spice-src/spice-common/common'
make  all-am
make[5]: Entering directory `/opt/spice-src/spice-common/common'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/opt/spice-src/spice-common/common'
make[4]: Leaving directory `/opt/spice-src/spice-common/common'
Making all in tests
make[4]: Entering directory `/opt/spice-src/spice-common/tests'
make  all-am
make[5]: Entering directory `/opt/spice-src/spice-common/tests'
  CC     test_logging-test-logging.o
  CCLD   test_logging
  CCLD   test_marshallers
test_marshallers-test-marshallers.o: In function `main':
/opt/spice-src/spice-common/tests/test-marshallers.c:31: undefined reference to 
`g_assert_true'
collect2: ld returned 1 exit status
make[5]: *** [test_marshallers] Error 1
make[5]: Leaving directory `/opt/spice-src/spice-common/tests'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/spice-src/spice-common/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/spice-src/spice-common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/spice-src/spice-common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/spice-src'
make: *** [all] Error 2

 Regards,
Mahmood



  
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to