Will,

Yes, I noticed that myself too. I have fixed that in CVS now. But I used
<syscall.h>.

Thanks.


On Thu, Apr 3, 2008 at 5:19 PM, William Cohen <[EMAIL PROTECTED]> wrote:
> I was building the a cvs snapshot of pfmon checked out April 3, 2008 on an
> x86_64 running f8. The compiler generated the following error:
>
>  gcc -ggdb -g -Wall -Werror -D_REENTRANT -I/usr/local/include
> -DCONFIG_PFMON_AMD_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\"
> -I. -I/usr/include/libelf -D_GNU_SOURCE -DCONFIG_PFMON_X86_64 -DPFMON_DEBUG
> -g -c pfmon_task.c
>  pfmon_task.c: In function 'tgkill':
>  pfmon_task.c:1726: error: '__NR_tgkill' undeclared (first use in this
> function)
>  pfmon_task.c:1726: error: (Each undeclared identifier is reported only once
>  pfmon_task.c:1726: error: for each function it appears in.)
>  make[1]: *** [pfmon_task.o] Error 1
>  make[1]: Leaving directory
> `/home/wcohen/research/profiling/perfmon2/cvs/pfmon/pfmon'
>
>
>  I found that I needed some includes from /usr/include/asm/unistd.h.The
> attached is a patch that adds the include.  I am not sure this patch is the
> proper way to include this information, but the code compile on f8 after
> using this patch.
>  -Will
>
> -------------------------------------------------------------------------
>  Check out the new SourceForge.net Marketplace.
>  It's the best place to buy or sell services for
>  just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
>  perfmon2-devel mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to