Error cross compiling oprofile

Paul Fine <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CAC7FuqmEaS5H39HCjGhrBqo=Q_feAwAzThpMWqnxDM+KNnudgw@mail.gmail.com>
Hi,

I am trying to cross compile oprofile for the ARM on the TI C6A816x
running linux-2.6.37.  The "make" step gave me this error:

Making all in pe_profiling
make[2]: Entering directory
`/home/pfine/oprofile/oprofile-1.0.0/pe_profiling'
arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I..  -I ../libutil -I
../libop -I ../libutil++ -I ../libperf_events -I ../libpe_utils
-I/home/pfine/oprofile/linux_hdr_install/include   -W -Wall -fno-common
-ftemplate-depth-50 -g -O2 -MT operf.o -MD -MP -MF .deps/operf.Tpo -c -o
operf.o operf.cpp
operf.cpp: In function 'int start_profiling()':
operf.cpp:330: error: 'pipe2' was not declared in this scope
make[2]: *** [operf.o] Error 1


I can't find the pipe2() function call in the kernel headers.  Any idea
what I am missing?

Thanks

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.