[lkml]   [2012]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 9/9] perf tools: Fix compile error on x86_64 Ubuntu
    From: Namhyung Kim <>

    The ctype.h include is not needed here and it breaks build on some systems (at
    least 64bit Ubuntu 10.04) like below. Just get rid of it.

    CC util/trace-event-info.o
    cc1: warnings being treated as errors
    util/trace-event-info.c: In function ‘record_file’:
    util/trace-event-info.c:192: error: implicit declaration of function ‘pwrite’
    util/trace-event-info.c:192: error: nested extern declaration of ‘pwrite’
    make: *** [util/trace-event-info.o] Error 1

    Cc: Ingo Molnar <>
    Cc: Joerg Roedel <>
    Cc: Paul Mackerras <>
    Cc: Peter Zijlstra <>
    Signed-off-by: Namhyung Kim <>
    Signed-off-by: Arnaldo Carvalho de Melo <>
    tools/perf/util/trace-event-info.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/tools/perf/util/trace-event-info.c b/tools/perf/util/trace-event-info.c
    index ac6830d..fc22cf5 100644
    --- a/tools/perf/util/trace-event-info.c
    +++ b/tools/perf/util/trace-event-info.c
    @@ -18,7 +18,6 @@
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -#include <ctype.h>
    #include "util.h"
    #include <dirent.h>
    #include <mntent.h>
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2012-01-08 16:45    [W:0.045 / U:3.404 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site