On Sat, Dec 05, 2009 at 02:31:27AM +0800, Yuan Jiang wrote: > g++ -ansi -Wall -g -fomit-frame-pointer -fmessage-length=0 -O2 -Wall > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > -fasynchronous-unwind-tables -o .libs/bdptest bdptest.o > ../src/.libs/libbarrydp.so -lpthread > creating bjvmdebug > bdptest.o: In function `main': > /usr/src/packages/BUILD/barry-0.16/tools/bdptest.cc:51: undefined reference > to `Barry::Init(bool, std::basic_ostream<char, std::char_traits<char> >*)' > collect2: ld returned 1 exit status
I assume you're building on opensuse 11.2, and I haven't seen this issue before on the systems I test on, but this patch should likely fix it. I'm just running some tests here, and if they pass, I'll push this change to the latest git. - Chris commit 411baa931f914d8e6ff14723bfb5653b150df0b8 Author: Chris Frey <cdf...@foursquare.net> Date: Fri Dec 4 14:45:06 2009 -0500 tools: added libbarry to bdptest build (needed on opensuse?) diff --git a/ChangeLog b/ChangeLog index 13c6e44..7ff2362 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Release: version 0.17 - 2009/11/?? ------------------------------------------------------------------------------ +2009/12/04 + - tools: added libbarry to bdptest build (needed on opensuse?) 2009/12/03 - lib: added GetKey/SetKey support in GlobalConfigFile 2009/12/02 diff --git a/tools/Makefile.am b/tools/Makefile.am index 8f4e190..c92a21a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -58,7 +58,7 @@ bjvmdebug_SOURCES = bjvmdebug.cc bjvmdebug_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread bdptest_SOURCES = bdptest.cc -bdptest_LDADD = ../src/libbarrydp.la +bdptest_LDADD = ../src/libbarry.la ../src/libbarrydp.la bjdwp_SOURCES = bjdwp.cc bjdwp_LDADD = ../src/libbarry.la ../src/libbarryjdwp.la ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel