lkml.org 
[lkml]   [2003]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: aic7xxx_osm.c compilation failure in linux-2.4.22
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.068 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site