Issue 4: sandbox can not run on cygwin
Status:  Accepted
Owner:
Project Member Reported by sinoje...@gmail.com, Nov 30, 2010
as the summary
May 22, 2012
#1 ysf...@gmail.com
how to solve the problem(SUSE 10 , 64bit)
150 mmsc106 :/home/yangsf/build_testngpp_to_install>make -f Makefile
[ 17%] Built target testngpp
[ 21%] Built target testngpp-utils
[ 23%] Built target testngpp-except
[ 32%] Built target mem-checker
Linking CXX shared module libtestngppstdoutlistener.so
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: ../except/libtestngpp-except.a(Exception.cpp.o): relocation R_X86_64_32 against `vtable for testngpp::Exception' can not be used when making a shared object; recompile with -fPIC
../except/libtestngpp-except.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [src/listeners/libtestngppstdoutlistener.so] Error 1
make[1]: *** [src/listeners/CMakeFiles/testngppstdoutlistener.dir/all] Error 2
May 22, 2012
Project Member #2 sinoje...@gmail.com
try to compile libtestngpp-except.a with  -fPIC option.

Oct 21, 2012
#3 zhaoyg1...@gmail.com
when you use cmake, you can use like this

cmake -D CMAKE_CXX_FLAGS=-fPIC