From: Stian Jordet <liste@jordet.nu>
To: linux-kernel@vger.kernel.org
Subject: Re: aic7(censored) compile error
Date: 20 May 2003 23:12:25 +0200 [thread overview]
Message-ID: <1053465144.3102.8.camel@chevrolet.hybel> (raw)
In-Reply-To: <1053463220.3107.1.camel@chevrolet.hybel>
tir, 20.05.2003 kl. 22.40 skrev Stian Jordet:
> Hello,
>
> Am I just blind, or haven't this been reported? Haven't been able to
> compile 2.5.69 since bk4, I think. This is with gcc-3.3.
Hmm. I fixed this with changing line 767 to:
next_len = 0x100000000LL - (addr & 0xFFFFFFFF);
Don't know if this is the right fix, but it works :)
> make -f scripts/Makefile.build obj=drivers/scsi/aic7xxx
> gcc -Wp,-MD,drivers/scsi/aic7xxx/.aic7xxx_osm.o.d -D__KERNEL__
> -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer
> -nostdinc -iwithprefix include -Idrivers/scsi -Werror
> -DKBUILD_BASENAME=aic7xxx_osm -DKBUILD_MODNAME=aic7xxx -c -o
> drivers/scsi/aic7xxx/aic7xxx_osm.o drivers/scsi/aic7xxx/aic7xxx_osm.c
> drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_map_seg':
> drivers/scsi/aic7xxx/aic7xxx_osm.c:767: warning: integer constant is too
> large for "long" type
> make[3]: *** [drivers/scsi/aic7xxx/aic7xxx_osm.o] Error 1
> make[2]: *** [drivers/scsi/aic7xxx] Error 2
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2
Best regards,
Stian
next prev parent reply other threads:[~2003-05-20 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-20 20:40 Stian Jordet
2003-05-20 21:12 ` Stian Jordet [this message]
2003-05-20 21:40 ` Justin T. Gibbs
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=1053465144.3102.8.camel@chevrolet.hybel \
--to=liste@jordet.nu \
--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®