mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Anil Kumar <anilsr@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: driver compile parse errors for RHEL4
Date: Thu, 10 Mar 2005 20:52:18 +0100	[thread overview]
Message-ID: <20050310195218.GD30052@alpha.home.local> (raw)
In-Reply-To: <d3a6bba0050310112514a8e924@mail.gmail.com>

On Thu, Mar 10, 2005 at 11:25:34AM -0800, Anil Kumar wrote:
 
> The errors are as follows:
> 
> drivers/scsi/aic7xxx/aic7xxx_reg_print.c:23: error: parse error before '(' token
> drivers/scsi/aic7xxx/aic7xxx_reg_print.c:40: error: parse error before '(' token
> drivers/scsi/aic7xxx/aic7xxx_reg_print.c:57: error: parse error before '(' token
> drivers/scsi/aic7xxx/aic7xxx_reg_print.c:82: error: parse error before '(' token
> 

It looks like some trouble I encountered recently when porting old programs
to gcc-3, which was caused by abusive use of '##' in macros. The error even
changed when I inserted a space before the opening parenthesis !

> Can you please let me know if my gcc is installed correctly, I mean if
> I disable/enable any of the flags. If not I will look into my
> Makefiles and scripts.

You should have started from here, otherwise I guess you will not receive
many responses.

Willy


      reply	other threads:[~2005-03-10 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10 19:25 Anil Kumar
2005-03-10 19:52 ` Willy Tarreau [this message]

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=20050310195218.GD30052@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=anilsr@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®