Check out frysk cvs head, and build it on FC5 for ppc64. The error could seen as follows, make[3]: Entering directory `/home/qiyao/build-frysk-qiyao/frysk-imports' source='../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx' object='lib/unwind/cni/FrameCursor.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../../frysk-qiyao/frysk-imports/depcomp \ g++ -m64 -DPACKAGE_NAME=\"frysk\" -DPACKAGE_TARNAME=\"frysk\" -DPACKAGE_VERSION=\"0.0.1.2006.07.13\" -DPACKAGE_STRING=\"frysk\ 0.0.1.2006.07.13\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"frysk\" -DVERSION=\"0.0.1.2006.07.13\" -I. -I../../frysk-qiyao/frysk-imports -I../../frysk-qiyao/frysk-imports -I. -I../../frysk-qiyao/frysk-imports/../frysk-imports/elfutils/libelf -I../../frysk-qiyao/frysk-imports/../frysk-imports/elfutils/libdw -I../../frysk-qiyao/frysk-imports/../frysk-imports/elfutils/libdwfl -I../../frysk-qiyao/frysk-imports/../frysk-imports/libunwind/include -I./../frysk-imports/libunwind/include -Werror -Wall -fPIC -g -O -c -o lib/unwind/cni/FrameCursor.o ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:39:23: error: libunwind.h: No such file or directory ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx: In member function ¡®void lib::unwind::FrameCursor::create_frame_cursor(jlong)¡¯: ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:47: error: ¡®::unw_cursor_t¡¯ has not been declared ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:47: error: ¡®cursor¡¯ was not declared in this scope ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:47: error: ¡®::unw_cursor_t¡¯ has not been declared ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:47: error: expected primary-expression before ¡®)¡¯ token ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:47: error: expected `;' before ¡®_cursor¡¯ ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:49: error: ¡®::unw_cursor_t¡¯ has not been declared ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:49: error: ¡®native_cursor¡¯ was not declared in this scope ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:49: error: ¡®::unw_cursor_t¡¯ has not been declared ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:49: error: expected primary-expression before ¡®)¡¯ token ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:49: error: expected `;' before ¡®JvMalloc¡¯ ../../frysk-qiyao/frysk-imports/lib/unwind/cni/FrameCursor.cxx:52: error: ¡®::unw_cursor_t¡¯ has not been declared make[3]: *** [lib/unwind/cni/FrameCursor.o] Error 1 make[3]: Leaving directory `/home/qiyao/build-frysk-qiyao/frysk-imports' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/qiyao/build-frysk-qiyao/frysk-imports' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/qiyao/build-frysk-qiyao/frysk-imports' make: *** [all-recursive] Error 1 [qiyao@plinuxt18 build-frysk-qiyao]$
There is no such error when build frysk on x86. It seems that libunwind do not support ppc64 now, and libunwind is not configured.
We have setup the libunwind library to only compile on architectures that it currently supports. According to recent e-mails with Richard Henderson, he is working on adding PPC/PPC64 support in the near future and will put that into the libunwind when it is available.