[2.5.63] aha152x, module issues

From: Bill Davidsen (davidsen@tmr.com)
Date: Mon Mar 03 2003 - 17:11:10 EST


aha152x alternates between not compiling and not working. The kernel has it not compiling.

  gcc -Wp,-MD,drivers/scsi/.aha152x.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DMODULE -DAHA152X_STAT -DAUTOCONF -DKBUILD_BASENAME=aha152x -DKBUILD_MODNAME=aha152x -c -o drivers/scsi/aha152x.o drivers/scsi/aha152x.c
drivers/scsi/aha152x.c: In function `aha152x_detect':
drivers/scsi/aha152x.c:1134: too many arguments to function `pnp_activate_dev'
make[2]: *** [drivers/scsi/aha152x.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

Hogwash. I unpacked the source, copied the (working) 2.5.59 .config,
and made oldconfig, bzImage, modules and modules_install in that order.
I never even thought of playing with SUBDIRS... And the
/lib/modules/2.5.63 directory did not even exist when I started, so the
whine about stale module entries clearly doesn't mean what I would
assume.

++ make modules_install
make -rR -f scripts/Makefile.modinst
scripts/Makefile.modinst:16: *** Uh-oh, you have stale module entries. You messed with SUBDIRS, do not complain if something goes wrong.
  mkdir -p /lib/modules/2.5.63/kernel/fs; cp fs/binfmt_aout.ko /lib/modules/2.5.63/kernel/fs
cp: cannot stat `fs/binfmt_aout.ko': No such file or directory
make[1]: *** [fs/binfmt_aout.ko] Error 1
make: *** [_modinst_] Error 2

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:23 EST