Shaleh shaid,
> On 21-Apr-99 Richard E. Hawkins Esq. wrote: ... > > It's time to update the kernel for my laptop,and I'm trying to use > > make-kpkg to do this. I've managed to get the kernel image .deb built, > > but not the pcmcia stuff. > > > > I've updated to the pcmcia-source from potato, and note that it has > > .debs for up to 2.2.5. However, make-kpkg modules_image fails with > > messages like, <snip> > Actually those are warnings. We need the real errors. Or maybe I should > compile 2.2.6 on my laptop. Still running 2.2.5. ok, here's the entire output: for module in /usr/src/modules/* ; do \ if test -d $module; then \ (cd $module; \ ./debian/rules KVERS="2.2.6" KSRC="/usr/src/linux" \ KMAINT="rick hawkins" KEMAIL="[EMAIL PROTECTED]" \ KDREV="thinkpad.2" kdist_image; ); \ fi; \ done make[1]: Entering directory `/usr/src/modules/pcmcia-cs' test -f man/pcmcia.5 -a -f debian/rules test root = "`whoami`" test -f man/pcmcia.5 -a -f debian/rules rm -f build build-modules cat debian/control-source debian/control-cs \ > debian/control make clean make[2]: Entering directory `/usr/src/modules/pcmcia-cs' set -e ; for d in modules clients cardmgr flash debug-tools man etc ; do make -C $d clean ; done make[3]: Entering directory `/usr/src/modules/pcmcia-cs/modules' rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/modules' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/clients' rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/clients' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/cardmgr' rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d rm -f cardmgr cardctl ifport ifuser ide_info probe make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/cardmgr' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/flash' rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d rm -f ftl_format ftl_check make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/flash' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/debug-tools' rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d rm -f dump_tuples dump_i365 dump_tcic dump_cisreg make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/debug-tools' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/man' make[3]: Nothing to be done for `clean'. make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/man' make[3]: Entering directory `/usr/src/modules/pcmcia-cs/etc' set -e ; make -C cis clean make[4]: Entering directory `/usr/src/modules/pcmcia-cs/etc/cis' rm -f *.dat make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/etc/cis' make[3]: Leaving directory `/usr/src/modules/pcmcia-cs/etc' rm -f .prereq.ok config.mk include/pcmcia/config.h rm -f include/linux/modversions.h make[2]: Leaving directory `/usr/src/modules/pcmcia-cs' rm -f modules/linux/config.h modules/linux/version.h \ include/pcmcia/config.h cardmgr/cardinfo debug-tools/dump_cis \ debug-tools/pack_cis config.out rm -f -r */.depfiles rm -f -r *~ */*~ debian/tmp debian/tmp-modules debian/src debian/*~ \ debian/files* debian/control.tmp debian/substvars \ debian/KVERS debian/MODVERS test -f man/pcmcia.5 -a -f debian/rules make -f debian/rules MOD_DIR=/usr/src/linux binary-modules make[2]: Entering directory `/usr/src/modules/pcmcia-cs' test -f man/pcmcia.5 -a -f debian/rules test root = "`whoami`" ./Configure -n --kernel="/usr/src/linux" --srctree --cardbus Linux PCMCIA Configuration Script The default responses for each question are correct for most users. Consult the PCMCIA-HOWTO for additional info about each option. Linux source directory [/usr/src/linux] The kernel source tree is version 2.2.6. The current kernel build date is Mon Apr 19 14:44:34 1999. Alternate target install directory [] Module install directory [/lib/modules/2.2.6] C compiler name [gcc] Linker name [ld] Compiler flags for debugging [] Build 'trusting' versions of card utilities (y/n) [n] Include 32-bit (CardBus) card support (y/n) [y] The PCMCIA drivers need to be compiled to match the kernel they will be used with, or some or all of the modules may fail to load. If you are not sure what to do, please consult the PCMCIA-HOWTO. How would you like to set kernel-specific options? 1 - Read from the currently running kernel 2 - Read from the Linux source tree 3 - Set each option by hand (experts only!) Enter option (1-3) [2] Kernel configuration options: Symmetric multiprocessing support is disabled. PCI BIOS support is disabled. Advanced Power Management (APM) support is enabled. SCSI support is disabled. Networking support is enabled. Radio network interface support is disabled. Token Ring device support is disabled. Module version checking is disabled. DEC Alpha UDB target platform is disabled. /proc filesystem support is enabled. Cardbus support requires kernel PCI BIOS support! Disabling Cardbus support. Your module utilities are version 2.1.121. Your boot map file is older than /vmlinuz. If you installed /vmlinuz by hand, please run 'lilo' to update your boot data, and then reboot. It looks like you have a System V init file setup. X Windows include files found. FLTK library not installed. If you want to build the 'cardinfo' PCMCIA control panel, you need to install the FLTK Library, as well as the X Windows include files. See the HOWTO for details. *You can ignore this message if you are only rebuilding the PCMCIA modules.* rm -f build build-modules test -f man/pcmcia.5 -a -f debian/rules umask 022; make DIRS="modules clients" all make[3]: Entering directory `/usr/src/modules/pcmcia-cs' set -e ; for d in modules clients ; do make -C $d ; done make[4]: Entering directory `/usr/src/modules/pcmcia-cs/modules' gcc -MD -O2 -Wall -Wstrict-prototypes -Winline -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -I/usr/src/linux -c i82365.c i82365.c: In function `cb_get_status': i82365.c:2446: warning: implicit declaration of function `cb_readl' i82365.c: In function `cb_get_socket': i82365.c:2462: warning: implicit declaration of function `cb_get_power' i82365.c:2463: warning: implicit declaration of function `pci_readw' i82365.c:2463: structure has no member named `bus' i82365.c:2463: structure has no member named `devfn' i82365.c:2465: warning: implicit declaration of function `cb_get_irq_mode' i82365.c: In function `cb_set_socket': i82365.c:2486: warning: implicit declaration of function `cb_set_irq_mode' i82365.c:2488: structure has no member named `bcr' i82365.c:2489: structure has no member named `bcr' i82365.c:2492: warning: implicit declaration of function `cb_set_power' i82365.c: In function `cb_get_bridge': i82365.c:2517: warning: implicit declaration of function `pci_readl' i82365.c:2517: structure has no member named `bus' i82365.c:2517: structure has no member named `devfn' i82365.c:2518: structure has no member named `bus' i82365.c:2518: structure has no member named `devfn' i82365.c:2525: structure has no member named `bus' i82365.c:2525: structure has no member named `devfn' i82365.c: In function `cb_set_bridge': i82365.c:2552: structure has no member named `bus' i82365.c:2552: structure has no member named `devfn' i82365.c:2555: warning: implicit declaration of function `pci_writew' i82365.c:2555: structure has no member named `bus' i82365.c:2555: structure has no member named `devfn' i82365.c:2558: warning: implicit declaration of function `pci_writel' i82365.c:2558: structure has no member named `bus' i82365.c:2558: structure has no member named `devfn' i82365.c:2559: structure has no member named `bus' i82365.c:2559: structure has no member named `devfn' i82365.c:2561: structure has no member named `bus' i82365.c:2561: structure has no member named `devfn' i82365.c:2562: structure has no member named `bus' i82365.c:2562: structure has no member named `devfn' make[4]: *** [i82365.o] Error 1 make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/modules' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/modules/pcmcia-cs' make[2]: *** [build-modules] Error 2 make[2]: Leaving directory `/usr/src/modules/pcmcia-cs' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/src/modules/pcmcia-cs' make: [modules_image] Error 2 (ignored) --