Question about compiling oprofile
Wei-Fan Chiang <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <CAB53ef2OWXrH-CeTek=bGERLkXdkStswYPhPbjmEjQ77coz0ow@mail.gmail.com> |
Hello sir,
My name is Wei-Fan Chiang, and I am currently a graduate student of
University of Utah.
I tried to compile oprofile (the version on github, v1.1, and v1.0) but
encountered the following error message:
========
g++ -DHAVE_CONFIG_H -I. -I.. -I ../libutil -I ../libop -I ../libpp -W
-Wall -fno-common -ftemplate-depth-50 -g -O2 -MT bfd_support.o -MD -MP -MF
.deps/bfd_support.Tpo -c -o bfd_support.o bfd_support.cpp
In file included from ../libutil/op_libiberty.h:27:0,
from bfd_support.cpp:20:
/usr/include/libiberty.h:88:24: error: expected initializer before ‘PARAMS’
extern void expandargv PARAMS ((int *, char ***));
^
/usr/include/libiberty.h:92:22: error: expected initializer before ‘PARAMS’
extern int writeargv PARAMS ((char **, FILE *));
^
========
Could you please help me resolve this problem?
Thanks.
- Wei-Fan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list