mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.24-pre2 - build problems
Date: Tue, 23 Dec 2003 16:33:32 +1100	[thread overview]
Message-ID: <3FE7D3AC.6B88A1D1@eyal.emu.id.au> (raw)
In-Reply-To: <Pine.LNX.4.58L.0312221753140.1384@logos.cnet>

[-- Attachment #1: Type: text/plain, Size: 2402 bytes --]

Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes 2.4.24-pre2.

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=cciss  -c -o
cciss.o cciss.
c
cciss.c: In function `cciss_pci_init':
cciss.c:2681: parse error before `prefetch'
cciss.c:2682: invalid lvalue in assignment
cciss.c:2683: invalid operands to binary |
cciss.c:2683: invalid lvalue in assignment
cciss.c:2684: warning: assignment makes integer from pointer without a
cast
make[2]: *** [cciss.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/block'

See attached patch.



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=qlogicfas -DPCMCIA
-D__NO_V
ERSION__ -c -o qlogicfas.o ../qlogicfas.c
../qlogicfas.c: In function `qlogicfas_detect':
../qlogicfas.c:650: warning: passing arg 1 of
`scsi_unregister_Rae128733' from i
ncompatible pointer type
ld -m elf_i386 -r -o qlogic_cs.o qlogic_stub.o qlogicfas.o
qlogicfas.o: In function `init_module':
qlogicfas.o(.text+0xe40): multiple definition of `init_module'
qlogic_stub.o(.text+0x770): first defined here
ld: Warning: size of symbol `init_module' changed from 77 to 58 in
qlogicfas.o
qlogicfas.o: In function `cleanup_module':
qlogicfas.o(.text+0xe80): multiple definition of `cleanup_module'
qlogic_stub.o(.text+0x7c0): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 40 to 16 in
qlogicfas.
o
make[3]: *** [qlogic_cs.o] Error 1
make[3]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/scsi/pcmc
ia'
make[2]: *** [_modsubdir_pcmcia] Error 2
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/scsi'

Same old problem, did not see a solution yet.
Deselecting CONFIG_SCSI_PCMCIA...

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

[-- Attachment #2: 2.4.24-pre2-cciss.patch --]
[-- Type: text/plain, Size: 426 bytes --]

--- linux-2.4-pre/drivers/block/cciss.c.orig	Tue Dec 23 16:12:40 2003
+++ linux-2.4-pre/drivers/block/cciss.c	Tue Dec 23 16:12:53 2003
@@ -2677,11 +2677,13 @@
 	}
 
 #ifdef CONFIG_X86
+{
 	/* Need to enable prefetch in the SCSI core for 6400 in x86 */
 	__u32 prefetch;
 	prefetch = readl(&(c->cfgtable->SCSI_Prefetch));
 	prefetch |= 0x100;
 	writel(prefetch, &(c->cfgtable->SCSI_Prefetch));
+}
 #endif
 
 #ifdef CCISS_DEBUG

  parent reply	other threads:[~2003-12-23  5:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22 19:55 Linux 2.4.24-pre2 Marcelo Tosatti
2003-12-22 20:31 ` Merge more VM from 2.4-aa? was: " Mike Fedyk
2003-12-22 22:36   ` Marcelo Tosatti
2003-12-23  5:33 ` Eyal Lebedinsky [this message]
2003-12-23 11:27 ` Build problems (Re: Linux 2.4.24-pre2) Andreas Haumer

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=3FE7D3AC.6B88A1D1@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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®