From: Shuah Khan <shuahkh@osg.samsung.com>
To: Muhammad Falak R Wani <falakreyaz@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Shuah Khan <shuahkh@osg.samsung.com>
Subject: Re: [PATCH] tools: testing: define the _GNU_SOURCE macro
Date: Mon, 16 May 2016 07:27:25 -0600 [thread overview]
Message-ID: <5739CABD.4070307@osg.samsung.com> (raw)
In-Reply-To: <1463141167-21889-1-git-send-email-falakreyaz@gmail.com>
On 05/13/2016 06:05 AM, Muhammad Falak R Wani wrote:
> Add the macro _GNU_SOURCE, so that compilation does not terminate.
What error are you seeing? Could you please send the compilation
error log.
thanks,
-- Shuah
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
> ---
> tools/testing/selftests/intel_pstate/run.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/testing/selftests/intel_pstate/run.sh
> index bdaf37e..7868c10 100755
> --- a/tools/testing/selftests/intel_pstate/run.sh
> +++ b/tools/testing/selftests/intel_pstate/run.sh
> @@ -32,7 +32,7 @@ EVALUATE_ONLY=0
> max_cpus=$(($(nproc)-1))
>
> # compile programs
> -gcc -o aperf aperf.c -lm
> +gcc aperf.c -Wall -D_GNU_SOURCE -o aperf -lm
> [ $? -ne 0 ] && echo "Problem compiling aperf.c." && exit 1
> gcc -o msr msr.c -lm
> [ $? -ne 0 ] && echo "Problem compiling msr.c." && exit 1
>
next prev parent reply other threads:[~2016-05-16 13:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-13 12:05 [PATCH] tools: testing: define the _GNU_SOURCE macro Muhammad Falak R Wani
2016-05-16 13:27 ` Shuah Khan [this message]
2016-05-16 14:02 ` Muhammad Falak R Wani
2016-05-16 16:14 ` Shuah Khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5739CABD.4070307@osg.samsung.com \
--to=shuahkh@osg.samsung.com \
--cc=falakreyaz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=prarit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.