Re: Error cross compiling oprofile
Paul Fine <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <CAC7FuqmJLnd+_Fqj0pkSbpOOXWxe3oyEseUnCrscCa7nH=OrNQ@mail.gmail.com> |
Thanks for the quick reply Andrew.
unistd.h is being included in the build. The only reference to pipe2() I
find in unistd.h is:
/opt/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/include/asm/
#define __NR_pipe2 (__NR_SYSCALL_BASE+359)
and also in my linux kernel packages.
Is this macro suppose to resolve to pipe2()? Am I suppose to build glibc
for my target? I am not really sure what to do here. I was able to build
oprofile-0.9.8 once I was able to get the configure parameters for cross
compile correct.
--Paul
On Tue, May 5, 2015 at 4:39 AM, Andrew Haley <[email protected]> wrote:
> On 05/05/15 03:49, Paul Fine wrote:
> > I can't find the pipe2() function call in the kernel headers. Any idea
> > what I am missing?
>
> It's not in the kernel headers: it's in unistd.h from glibc.
>
> Andrew.
>
>
------------------------------------------------------------------------------
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