public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: ghugh Song <ghugh@kjist.ac.kr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: aic7xxx_osm.c compilation failure in linux-2.4.22
Date: Sun, 31 Aug 2003 12:34:52 +0200	[thread overview]
Message-ID: <20030831103452.GS7038@fs.tum.de> (raw)
In-Reply-To: <20030828131615.A83F17497B@bellini.kjist.ac.kr>

On Thu, Aug 28, 2003 at 10:16:15PM +0900, ghugh Song wrote:
> 
> Compile failure as follows:
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=pentium4
> -I/usr/src/linux-2.4.22/drivers/scsi -Werror -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=aic7xxx_osm  -c -o aic7xxx_osm.o aic7xxx_osm.c
> In file included from /usr/src/linux-2.4.22/include/linux/blk.h:4,
>                  from aic7xxx_osm.h:63,
>                  from aic7xxx_osm.c:122:
> /usr/src/linux-2.4.22/include/linux/blkdev.h: In function `blk_queue_bounce':
> /usr/src/linux-2.4.22/include/linux/blkdev.h:194: warning: comparison between
> signed and unsigned
> /usr/src/linux-2.4.22/include/linux/blkdev.h: In function
> `blk_finished_sectors':
> /usr/src/linux-2.4.22/include/linux/blkdev.h:335: warning: comparison between
> signed and unsigned
> aic7xxx_osm.c: In function `ahc_linux_setup_tag_info_global':
> aic7xxx_osm.c:1610: warning: comparison between signed and unsigned
>...
> make[4]: *** [aic7xxx_osm.o] Error 1
> make[4]: Leaving directory `/usr/src/linux-2.4.22/drivers/scsi/aic7xxx'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/usr/src/linux-2.4.22/drivers/scsi/aic7xxx'
> make[2]: *** [_subdir_aic7xxx] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/scsi'
> make[1]: *** [_subdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
> make: *** [_dir_drivers] Error 2
> 
> 
> =======================================================
> 
> 
> However, I can't find the actual error message.  Strange.
>...

This driver is compiled with -Werror turning ever warning into an error.

Although you say you are using "linux-2.4.22" it seems you aren't using 
the ftp.kernel.org 2.4.22 but a modified version (the real 2.4.22 
doesn't know about -march=pentium4).

Perhaps your vendor of this modified kernel source introduced a bug 
causing this compile error?
 
> Regards,
> 
> Hugh

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      reply	other threads:[~2003-08-31 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 13:16 aic7xxx_osm.c compilation failure in linux-2.4.22 ghugh Song
2003-08-31 10:34 ` Adrian Bunk [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=20030831103452.GS7038@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=ghugh@kjist.ac.kr \
    --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