X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53759388700B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1586363754; bh=zKgTTiAcwbWEau/zIrfO2QQXDEfTGYfLfVK1Lp4rnbI=; h=Subject:From:To:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=iQ6tKKlRfL2SqsFyP0/OeuDB/CiQTWt3gt6ydtHfwIYxKOkYMsTmLkbs1kCbBXMF8 4jD8RkAw5Vgh+Byb6JfPKXtCyYTR1NmkDjFdQOZ4/FKDM/haaYzbGJCtbCVjY2ZIJ8 3vqos6QYZA9rklaYAk+Xu8BPoXQhmaQZzU9gUc90= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 30879388700B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=yselkowitz AT cygwin DOT com X-MC-Unique: V6XIbzMcN6uFb_oiII4U5g-1 Message-ID: <58f3a2bbe917bc0d3394311f6bbaf5c7d2f88373.camel@cygwin.com> Subject: Re: Linux compiling in kernel From: Yaakov Selkowitz To: cygwin AT cygwin DOT com Date: Wed, 08 Apr 2020 12:35:46 -0400 In-Reply-To: References: User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: cygwin.com X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Wed, 2020-04-08 at 15:18 +0530, vishnu via Cygwin wrote: > 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. https://sourceware.org/legacy-ml/cygwin/2012-06/msg00221.html -- Yaakov -- 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