Re: "undefined reference" errors while running make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]