mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kbuild error in 2.5.4[12]
@ 2002-10-13  6:14 Brett
  2002-10-13 13:57 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Brett @ 2002-10-13  6:14 UTC (permalink / raw)
  To: linux-kernel


Hey,

Got this error when compiling with CONFIG_PCMCIA_QLOGIC=m

make -f drivers/scsi/pcmcia/Makefile
  gcc -Wp,-MD,drivers/scsi/pcmcia/.qlogic_stub.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE   -DKBUILD_BASENAME=qlogic_stub   -c -o drivers/scsi/pcmcia/qlogic_stub.o drivers/scsi/pcmcia/qlogic_stub.c
make[3]: *** No rule to make target `drivers/scsi/pcmcia/qlogicfas.s', needed by `drivers/scsi/pcmcia/qlogicfas.o'.  Stop.
make[2]: *** [drivers/scsi/pcmcia] Error 2
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

thanks,

	/ Brett Pemberton


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

* Re: kbuild error in 2.5.4[12]
  2002-10-13  6:14 kbuild error in 2.5.4[12] Brett
@ 2002-10-13 13:57 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2002-10-13 13:57 UTC (permalink / raw)
  To: Brett, Kai Germaschewski, tz; +Cc: linux-kernel

On Sun, Oct 13, 2002 at 04:14:44PM +1000, Brett wrote:
> 
> Hey,
> 
> Got this error when compiling with CONFIG_PCMCIA_QLOGIC=m

The pcmia makefile utilised vpath, the last makefile in 2.5.42 according to
a fast grep.
The following patch made it compile for me, but there were warnings about cli
and friends, so you will not be able to do the final link.

I simply added "../" in front of qlogicfas.o - but this is my opinion not
the final solution for this so I did not sumbit it for inclusion.

Kai - if this is ok, could you include it in next round.
tz@execpc.com also copied - seems to be qlogicfas interested.

	Sam

===== drivers/scsi/pcmcia/Makefile 1.5 vs edited =====
--- 1.5/drivers/scsi/pcmcia/Makefile	Sat Mar 23 04:50:20 2002
+++ edited/drivers/scsi/pcmcia/Makefile	Sun Oct 13 09:56:49 2002
@@ -2,13 +2,6 @@
 # Makefile for the Linux PCMCIA SCSI drivers.
 #
 
-obj-y		:=
-obj-m		:=
-obj-n		:=
-obj-		:=
-
-vpath %c ..
-
 CFLAGS_aha152x.o = -DPCMCIA -D__NO_VERSION__ -DAHA152X_STAT
 CFLAGS_fdomain.o = -DPCMCIA -D__NO_VERSION__
 CFLAGS_qlogicfas.o = -DPCMCIA -D__NO_VERSION__
@@ -21,6 +14,6 @@
 
 aha152x_cs-objs	:= aha152x_stub.o aha152x.o
 fdomain_cs-objs	:= fdomain_stub.o fdomain.o
-qlogic_cs-objs	:= qlogic_stub.o qlogicfas.o
+qlogic_cs-objs	:= qlogic_stub.o ../qlogicfas.o
 
 include $(TOPDIR)/Rules.make

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

end of thread, other threads:[~2002-10-13 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-13  6:14 kbuild error in 2.5.4[12] Brett
2002-10-13 13:57 ` Sam Ravnborg

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®