public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* aic7xxx_osm.c compilation failure in linux-2.4.22
@ 2003-08-28 13:16 ghugh Song
  2003-08-31 10:34 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: ghugh Song @ 2003-08-28 13:16 UTC (permalink / raw)
  To: linux-kernel


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
aic7xxx_osm.c: In function `ahc_linux_setup_tag_info':
aic7xxx_osm.c:1622: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_linux_setup_dv':
aic7xxx_osm.c:1635: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `aic7xxx_setup':
aic7xxx_osm.c:1687: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_platform_abort_scbs':
aic7xxx_osm.c:2164: warning: comparison between signed and unsigned
aic7xxx_osm.c:2171: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_linux_user_tagdepth':
aic7xxx_osm.c:3556: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_linux_user_dv_setting':
aic7xxx_osm.c:3585: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_send_async':
aic7xxx_osm.c:4088: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_done':
aic7xxx_osm.c:4209: warning: comparison between signed and unsigned
aic7xxx_osm.c: In function `ahc_linux_handle_scsi_status':
aic7xxx_osm.c:4334: 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.


I have an off-topic question:

What happened to sym-53c8xxx driver?  It appears that nobody is
actively maintaining it.  Yet, there is not much complain traffic over 
any malfunction for this LSI's SCSI card driver.  Does it mean
that the latter is much more stable than aic7xxx driver for 
Adaptec cards?

Regards,

Hugh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: aic7xxx_osm.c compilation failure in linux-2.4.22
  2003-08-28 13:16 aic7xxx_osm.c compilation failure in linux-2.4.22 ghugh Song
@ 2003-08-31 10:34 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2003-08-31 10:34 UTC (permalink / raw)
  To: ghugh Song; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-31 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox