* 2.4.23-pre7 build problems
@ 2003-10-10 11:45 Eyal Lebedinsky
2003-10-10 12:48 ` Willy Tarreau
2003-10-11 14:47 ` Marcelo Tosatti
0 siblings, 2 replies; 4+ messages in thread
From: Eyal Lebedinsky @ 2003-10-10 11:45 UTC (permalink / raw)
To: list, linux-kernel, Tosatti, Marcelo
I dropped off the list for a few days so am not sure what was already
reported, neither did I find anything in the archives about -pre7.
already reported:
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-pro
totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4
-DMODULE -DM
ODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre/include/linux/modversions
.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=megaraid2 -c -o
megaraid2.
o megaraid2.c
megaraid2.c: In function `mega_find_card':
megaraid2.c:403: structure has no member named `lock'
make[2]: *** [megaraid2.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/scsi'
no report found:
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-pro
totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4
-DMODULE -DM
ODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre/include/linux/modversions
.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=nsp32 -c -o
nsp32.o nsp32.
c
In file included from nsp32.c:56:
nsp32.h:645: redefinition of `irqreturn_t'
/data2/usr/local/src/linux-2.4-pre/include/linux/interrupt.h:16:
`irqreturn_t' previously declared here
make[2]: *** [nsp32.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/scsi'
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.23-pre7 build problems
2003-10-10 11:45 2.4.23-pre7 build problems Eyal Lebedinsky
@ 2003-10-10 12:48 ` Willy Tarreau
2003-10-11 14:47 ` Marcelo Tosatti
1 sibling, 0 replies; 4+ messages in thread
From: Willy Tarreau @ 2003-10-10 12:48 UTC (permalink / raw)
To: Eyal Lebedinsky; +Cc: list, linux-kernel, Tosatti, Marcelo
Hi !
> megaraid2.c: In function `mega_find_card':
> megaraid2.c:403: structure has no member named `lock'
> make[2]: *** [megaraid2.o] Error 1
> make[2]: Leaving directory
> `/data2/usr/local/src/linux-2.4-pre/drivers/scsi'
wouldn't this patch fix it ? : megaraid-2009-wo-hostlock.patch
diff -Naur megaraid-2009/megaraid2.c megaraid-2009-wo-hostlock/megaraid2.c
--- megaraid-2009/megaraid2.c 2003-09-09 15:31:43.000000000 -0400
+++ megaraid-2009-wo-hostlock/megaraid2.c 2003-09-09 15:32:03.000000000 -0400
@@ -398,9 +398,7 @@
// replace adapter->lock with io_request_lock for kernels w/o
// per host lock and delete the line which tries to initialize
// the lock in host structure.
- adapter->host_lock = &adapter->lock;
-
- host->lock = adapter->host_lock;
+ adapter->host_lock = &io_request_lock;
host->cmd_per_lun = max_cmd_per_lun;
host->max_sectors = max_sectors_per_io;
> In file included from nsp32.c:56:
> nsp32.h:645: redefinition of `irqreturn_t'
> /data2/usr/local/src/linux-2.4-pre/include/linux/interrupt.h:16:
> `irqreturn_t' previously declared here
> make[2]: *** [nsp32.o] Error 1
> make[2]: Leaving directory
> `/data2/usr/local/src/linux-2.4-pre/drivers/scsi'
looking though pre6-pre7 changes, it seems as other drivers backported from 2.5
might be affected too :
- qla1280 (typedef)
- net2280 (#define)
The clear should be to simply remove the local definition from the driver.
Willy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.23-pre7 build problems
2003-10-10 11:45 2.4.23-pre7 build problems Eyal Lebedinsky
2003-10-10 12:48 ` Willy Tarreau
@ 2003-10-11 14:47 ` Marcelo Tosatti
2003-10-11 15:13 ` Matt Domsch
1 sibling, 1 reply; 4+ messages in thread
From: Marcelo Tosatti @ 2003-10-11 14:47 UTC (permalink / raw)
To: Eyal Lebedinsky; +Cc: list, linux-kernel
On Fri, 10 Oct 2003, Eyal Lebedinsky wrote:
> I dropped off the list for a few days so am not sure what was already
> reported, neither did I find anything in the archives about -pre7.
I have the fix for the nsp driver but not for the megaraid2.
Please stop using marcelo@conectiva.com.br. Use my new email address.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-11 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10 11:45 2.4.23-pre7 build problems Eyal Lebedinsky
2003-10-10 12:48 ` Willy Tarreau
2003-10-11 14:47 ` Marcelo Tosatti
2003-10-11 15:13 ` Matt Domsch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.