RE: building pcmcia modules for 2.2.6

1999-04-22 Thread Shaleh

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,
 
 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'
 
 how do I put an end to this?
 

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.


Re: building pcmcia modules for 2.2.6

1999-04-22 Thread Peter Weiss
 On Wed, 21 Apr 1999 17:16:33 -0400, Richard E. Hawkins Esq. [EMAIL 
 PROTECTED] said:

Richard It's time to update the kernel for my laptop,and I'm trying to use
Richard make-kpkg to do this.  I've managed to get the kernel image .deb
Richard built, but not the pcmcia stuff.

Richard I've updated to the pcmcia-source from potato, and note that it has
Richard .debs for up to 2.2.5.  However, make-kpkg modules_image fails with
Richard messages like,

Hello Richard,

I've got the same problem here on my slink notebook, but I think you're a
little ahead of me. Could you please tell me what pcmcia-packages I need
from potato to have the modules compiled and packaged by make-kpkg?

On my notebook there was a little bug in the pcmcia's Configure script
that doesn't mention the 2.2.x kernels. But it fails to compile some
references in the kernel source tree.

  TIA -- Peter
--
--
Peter Weiss, Riemenschneiderstraße 4, 82008 Unterhaching
--
---The foolish ones taught more to me than the wise ones ever could---
--


Re: building pcmcia modules for 2.2.6

1999-04-22 Thread Richard E. Hawkins Esq.
Peter proposed,
 
 Hello Richard,
 
 I've got the same problem here on my slink notebook, but I think you're a
 little ahead of me. Could you please tell me what pcmcia-packages I need
 from potato to have the modules compiled and packaged by make-kpkg?

 On my notebook there was a little bug in the pcmcia's Configure script
 that doesn't mention the 2.2.x kernels. But it fails to compile some
 references in the kernel source tree.

I just got the pcmcia-source from potato.  I also got the package, but 
i'm compiling on a desktop, so it doesn't seem to be important

rick

-- 



Re: building pcmcia modules for 2.2.6

1999-04-22 Thread Richard E. Hawkins Esq.


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