From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: flymake configuration error for C program Date: Mon, 07 Sep 2009 00:23:42 +0200 Message-ID: <87pra3iufl.fsf@fh-trier.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252275889 3346 80.91.229.12 (6 Sep 2009 22:24:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2009 22:24:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 00:24:42 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkQA4-0008EK-JR for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 00:24:40 +0200 Original-Received: from localhost ([127.0.0.1]:41431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkQA3-0007z2-TJ for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 18:24:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkQ9f-0007yS-6M for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 18:24:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkQ9Z-0007s0-Ir for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 18:24:13 -0400 Original-Received: from [199.232.76.173] (port=53573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkQ9Z-0007ro-FV for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 18:24:09 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:24717) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkQ9Z-0007MF-4t for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 18:24:09 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkQ9X-0003H4-QV for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 18:24:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkQ9U-00087L-Tk for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 00:24:04 +0200 Original-Received: from dslb-084-059-117-156.pools.arcor-ip.net ([84.59.117.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 00:24:04 +0200 Original-Received: from politza by dslb-084-059-117-156.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 00:24:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-059-117-156.pools.arcor-ip.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ivpOCN/ISYYuofNzY8gRXpUzaXk= X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67918 Archived-At: Corey Foote writes: > When trying to run M-x Flymake-Mode in Emacs I get: > > Flymake: Configuration error has occured while running (make -s > -C ./CHK_SOURCES=helloworld_flymake.c SYNTAX_CHECK_MODE=1 > check-syntax). Flymake will be switched OFF I tried this today as well. Here is the answer : ,----[ (info "(flymake) Example -- Configuring a tool called via make") ] | | Thus, `Makefile' must contain the `check-syntax' target. In our case | this target might look like this: | | check-syntax: | gcc -o nul -S ${CHK_SOURCES} `---- -ap