X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0CFD3887032
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1586339307;
	bh=13Cta2DqyDjQUbeLZ7dKzsVGIPSrGW8RzfAbR5/aYFk=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=q3Pfmfveoolptzom57fR4r6CDcU336ItH2oKNzgmkofSF1VVVj6sisqJNwAtEYqau
	 WNZ1/s6uoMlkUSSaTAx3GkjhKt1IOw9pW+d/gIj3Fj2uDuO/YZJlqU5zmqy1GJnIvr
	 +63UGzSYZK7CTcz5zoc6hIwLoGJhkCiYkaIS224g=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9BEB8385DC3E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=JrCwKCqhfxJA0HhhNZACRfSn/j4zS+HB4PwTHRBM3f8=;
 b=cK9NmIQUa8K5J06xyjZGh1Tm7J+XjY2VYfLue1WdA38jKuONApbm1YYbFaATMw1/o+
 wD9rqE5mOTjRuE8uplA86o+0CfKVksbm1fq8G7SQr1vHWSNUgRq3Y8XAWpApNSsPf+4K
 icIUFGFfvWx+Odrbh0fqOkxQV1AMTIiCFHfbtCD4l/yk2T7i0/+7vYS9rcuizXr5xv5t
 OdRTAZaxK7AON6M5htrezcH3VXyQFOKRtEPWEYrnTwbnA6GKHa3XIrl/ceqVC3sHjuks
 YOpMaKAnMGgnUkXv2dVbp7keZHDjamCjCdlyaFIO9NiN9IL3sWbm5blAVa0CcrlVovpN
 1U9w==
X-Gm-Message-State: AGi0PubwzMMc7zfWz2yAFYUfLLUdq5Ey2Ee0szSW3t8beSuSPpRnxfG6
 Fyld0nIjEEertnRWL+J2sGKy+OJ/dbi5YQMeOjFYsquN
X-Google-Smtp-Source: APiQypL0gQNefdYWkFl+lDNfx/ZkNT/4ikzlxf66Aw4ia0JgyZ0sR9xqid46aYxzFAyyOGwJWSp3yl7+nrD0F6QXbnY=
X-Received: by 2002:a05:6402:290:: with SMTP id
 l16mr5280070edv.207.1586339303255; 
 Wed, 08 Apr 2020 02:48:23 -0700 (PDT)
MIME-Version: 1.0
Date: Wed, 8 Apr 2020 15:18:11 +0530
Message-ID: <CACk2A5YG5pHqypJWPBc+XiTeN8tme7MdxpABqZ-Rk=JxqYGAMQ@mail.gmail.com>
Subject: Linux compiling in kernel
To: cygwin@cygwin.com
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: vishnu via Cygwin <cygwin@cygwin.com>
Reply-To: vishnu <vardhanraj4143@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi Team,

I have installed cygwin.
I am trying to compile linux kernel.It is for x86 platform.
But When I give below command:
#make
 CC      scripts/mod/empty.o
cc1: error: code model kernel does not support PIC mode
make[1]: *** [scripts/Makefile.build:268: scripts/mod/empty.o] Error 1
make: *** [Makefile:1116: prepare0] Error 2

This error iam facing.
Can you please help me.

Your help is highly appreciated.

Thank you,
Vishnu
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
