Guest User

lightweight java profiler compilation fail

a guest
Jul 22nd, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.29 KB | None | 0 0
  1. /code/lightweight-java-profiler-read-only$ make BITS=64 all
  2. g++ -I/export/apps/jdk/JDK-1_7_0_51/include -I/export/apps/jdk/JDK-1_7_0_51/include/linux -mfpmath=sse -std=gnu++0x -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m64 -msse2 -g -D__STDC_FORMAT_MACROS -Wframe-larger-than=16384 -Wno-unused-but-set-variable -Wunused-but-set-parameter -Wvla -Wno-conversion-null -Wno-builtin-macro-redefined -Wall -Werror -Wformat-security -Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings -Wnon-virtual-dtor -Woverloaded-virtual -O2 -Fvisibility=hidden -fPIC -c /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc -o build-64/display.pic.o
  3. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc: In member function 'void StackTracesPrinter::PrintLeafHistogram(TraceData*, int)':
  4. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:65: error: expected initializer before ':' token
  5. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:69: error: could not convert 'std::sort [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::pair<int, _jmethodID*>, int>*, std::vector<std::pair<std::pair<int, _jmethodID*>, int>, std::allocator<std::pair<std::pair<int, _jmethodID*>, int> > > >, _Compare = Sorter](sorted_methods.std::vector<_Tp, _Alloc>::begin [with _Tp = std::pair<std::pair<int, _jmethodID*>, int>, _Alloc = std::allocator<std::pair<std::pair<int, _jmethodID*>, int> >](), sorted_methods.std::vector<_Tp, _Alloc>::end [with _Tp = std::pair<std::pair<int, _jmethodID*>, int>, _Alloc = std::allocator<std::pair<std::pair<int, _jmethodID*>, int> >](), (sorter, Sorter()))' to 'bool'
  6. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:71: error: expected primary-expression before 'last'
  7. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:71: error: expected ')' before 'last'
  8. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:71: error: 'last' was not declared in this scope
  9. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:72: error: 'last' was not declared in this scope
  10. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:75: error: expected initializer before ':' token
  11. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected primary-expression at end of input
  12. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected ';' at end of input
  13. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected primary-expression at end of input
  14. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected ')' at end of input
  15. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected statement at end of input
  16. /export/home/dordanov/code/lightweight-java-profiler-read-only/src/display.cc:245: error: expected '}' at end of input
  17. cc1plus: warnings being treated as errors
  18. At global scope:
  19. cc1plus: error: unrecognized command line option "-Wno-conversion-null"
  20. make: *** [build-64/display.pic.o] Error
Add Comment
Please, Sign In to add comment