isa_irq_patched pd6729 compile errors
komurojun-mbn at nifty.com
komurojun-mbn at nifty.com
Tue Feb 22 07:32:33 EST 2005
I think you copied the patched pd6729.c to the kernel-2.6.10 tree.
But you should compile all the 2.6.11-rc4 modules and bzImage.
Best Regards
Komuro
>When I compile the pd6729 driver outside FC2 the kernel-2.6.10 it compiles ok
.
>
>[root at linux pd6729.org]# make
>make -C /lib/modules/2.6.10-1.14_FC2/build SUBDIRS=/u1/src/pd6729.org/module
modules \
>MODVERDIR=/u1/src/pd6729.org/module modules
>make[1]: Entering directory `/lib/modules/2.6.10-1.14_FC2/build'
> LD /u1/src/pd6729.org/module/built-in.o
> CC [M] /u1/src/pd6729.org/module/pd6729.o
> Building modules, stage 2.
> MODPOST
> CC /u1/src/pd6729.org/module/pd6729.mod.o
> LD [M] /u1/src/pd6729.org/module/pd6729.ko
>make[1]: Nothing to be done for `modules'.
>make[1]: Leaving directory `/lib/modules/2.6.10-1.14_FC2/build'
>make install_info
>make[1]: Entering directory `/u1/src/pd6729.org'
>*** Become superuser and 'make install' to install the module. ***
>make[1]: Leaving directory `/u1/src/pd6729.org'
>
>But when I compile (using the same build system as above) the pd6729 driver p
atched
>with patch-2.6.11-rc4.bz2, it doesn´t compile well, any ideas why?
>
>[root at linux pd6729.isa_irq]# make
>make -C /lib/modules/2.6.10-1.14_FC2/build SUBDIRS=/u1/src/pd6729.isa_irq/mod
ule
>modules ¥
>MODVERDIR=/u1/src/pd6729.isa_irq/module modules
>make[1]: Entering directory `/lib/modules/2.6.10-1.14_FC2/build'
> LD /u1/src/pd6729.isa_irq/module/built-in.o
> CC [M] /u1/src/pd6729.isa_irq/module/pd6729.o
>/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: type defaults to `int' in
>declaration of `DEFINE_SPINLOCK'
>/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: parameter names (without
types)
>in function declaration
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_read':
>/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: `port_lock' undeclared (fir
st use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: (Each undeclared identifier
is
>reported only once
>/u1/src/pd6729.isa_irq/module/pd6729.c:82: error: for each function it appear
s in.)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_read16':
>/u1/src/pd6729.isa_irq/module/pd6729.c:99: error: `port_lock' undeclared (fir
st use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_write':
>/u1/src/pd6729.isa_irq/module/pd6729.c:118: error: `port_lock' undeclared (fi
rst use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_setbit':
>/u1/src/pd6729.isa_irq/module/pd6729.c:133: error: `port_lock' undeclared (fi
rst use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_resetbit':
>/u1/src/pd6729.isa_irq/module/pd6729.c:151: error: `port_lock' undeclared (fi
rst use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `indirect_write16':
>/u1/src/pd6729.isa_irq/module/pd6729.c:169: error: `port_lock' undeclared (fi
rst use
>in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: In function `pd6729_pci_probe':
>/u1/src/pd6729.isa_irq/module/pd6729.c:763: error: structure has no member na
med
>`resource_ops'
>/u1/src/pd6729.isa_irq/module/pd6729.c:763: error: `pccard_nonstatic_ops' und
eclared
>(first use in this function)
>/u1/src/pd6729.isa_irq/module/pd6729.c: At top level:
>/u1/src/pd6729.isa_irq/module/pd6729.c:70: warning: `DEFINE_SPINLOCK' declare
d
>`static' but never defined
>make[2]: *** [/u1/src/pd6729.isa_irq/module/pd6729.o] Error 1
>make[1]: *** [_module_/u1/src/pd6729.isa_irq/module] Error 2
>make[1]: Leaving directory `/lib/modules/2.6.10-1.14_FC2/build'
>make: *** [pd6729.o] Error 2
>
>--
>Best Regards, Jar
>
>_______________________________________________
>Linux PCMCIA reimplementation list
>http://lists.infradead.org/mailman/listinfo/linux-pcmcia
More information about the linux-pcmcia
mailing list