Problem in running test
Opened this issue · 1 comments
GoogleCodeExporter commented
My application is written in ProC which is having many .pc files
I have only a Makefile to compile all this .pc files...We dont have
.configure or any other libtool files.
So i added one more line in my Makefile to create a test exe for
run_tests.c by including libcmockery.la
but while compiling its giving link error as following
cc -o Test -L/usr/oracle/product/9.2.0_client/lib/ -DUNIT_TESTING=1 -o
./test run_tests.c -L../../mdi_lib/ -lMDI_dyn_proc
../../mdi_lib/MDI_lib.a
/confman/rcs_wa/ccbs/LIBRARIES/lib/OSF1_V5.1/lib//libcommon.a -lclntsh `cat
/usr/oracle/product/9.2.0_client/lib/ldflags` `cat
/usr/oracle/product/9.2.0_client/lib/sysliblist` -lm -lpthread
ld:
Unresolved:
_run_tests
make: *** [Test] Error 1
when i tried to run the test its giving me below problem
./test
resolve_symbols: loader error: dlopen: ./test: symbol "_run_tests" unresolved
what should i change in my Makefile?
Original issue reported on code.google.com by sac.a...@gmail.com
on 4 Feb 2010 at 7:12
GoogleCodeExporter commented
I got it fixed .........It was my mistake in Makefile. Problem was that the
library
was not included properly
Original comment by sac.a...@gmail.com
on 4 Feb 2010 at 12:08