From: Marc S. <Mar...@ma...> - 2007-07-20 13:48:59
|
I am trying to build 0.9.3 on a gentoo linux box. amd64, 2.6.19 kernel. I have binutils 2.17. configure --with-kernel-support reports no errors. make produces this output: if g++ -DHAVE_CONFIG_H -I. -I../../oprofile-0.9.3/libutil++ -I.. -I = ../../oprofile-0.9.3/libutil -I ../../oprofile-0.9.3/libop -W -Wall = -fno-common -ftemplate-depth-50 -g -O2 -MT bfd_spu_support.o -MD -MP -MF = ".deps/bfd_spu_support.Tpo" -c -o bfd_spu_support.o = ../../oprofile-0.9.3/libutil++/bfd_spu_support.cpp; \ then mv -f ".deps/bfd_spu_support.Tpo" = ".deps/bfd_spu_support.Po"; else rm -f ".deps/bfd_spu_support.Tpo"; exit = 1; fi if g++ -DHAVE_CONFIG_H -I. -I../../oprofile-0.9.3/libutil++ -I.. -I = ../../oprofile-0.9.3/libutil -I ../../oprofile-0.9.3/libop -W -Wall = -fno-common -ftemplate-depth-50 -g -O2 -MT op_spu_bfd.o -MD -MP -MF = ".deps/op_spu_bfd.Tpo" -c -o op_spu_bfd.o = ../../oprofile-0.9.3/libutil++/op_spu_bfd.cpp; \ then mv -f ".deps/op_spu_bfd.Tpo" ".deps/op_spu_bfd.Po"; else rm = -f ".deps/op_spu_bfd.Tpo"; exit 1; fi /usr/include/libiberty.h:122: error: expected initializer before = 'ATTRIBUTE_SENTINEL' /usr/include/libiberty.h:131: error: expected initializer before = 'ATTRIBUTE_SENTINEL' /usr/include/libiberty.h:137: error: expected initializer before = 'ATTRIBUTE_SENTINEL' /usr/include/libiberty.h:144: error: expected initializer before = 'ATTRIBUTE_SENTINEL' /usr/include/libiberty.h:151: error: expected initializer before = 'ATTRIBUTE_SENTINEL' make[3]: *** [op_spu_bfd.o] Error 1 make[3]: Leaving directory `/tmp/build/oprofile/libutil++' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/build/oprofile/libutil++' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/build/oprofile' make: *** [all] Error 2 Thanks, Marc |